[asterisk-users] T.38 Peer Negotiation Fails

2010-06-29 Thread Chris Miller

Asterisk 1.4.32 (Also 1.4.26, 1.4.33)
Broadvox ITSP   (xxx.xxx.xxx.xxx)
Linksys 2102(yyy.yyy.yyy.yyy)

Both peers :
canreinvite=yes
t38pt_udptl = yes

I'm having some trouble getting a T.38 fax call established with
Broadvox. During negotiation, Asterisk sends a SIP re-invite (T38
switchover) to Broadvox with the Asterisk server's IP address in the
Connection Information (c) instead of the Linksys ATA's IP address.
This causes the negotiation to revert back to t38state zero
(chan_sip.c: T38_DISABLED), and shortly after the ATA hangs up.

What is a bit odd about this, is that Asterisk says it's about to
establish a peer to peer UDPTL connection :

chan_sip.c: Sending reinvite on SIP
'1057817983_43059...@xxx.xxx.xxx.xxx' - It's UDPTL soon redirected
to IP yyy.yyy.yyy.yyy:16468

chan_sip.c: Strict routing enforced for session
1057817983_43059...@xxx.xxx.xxx.xxx

On a known good/working T.38 configured Asterisk PBX elsewhere (with
Affinity as the ITSP), I also see the Strict routing message, yet
T.38 negotiation achieves t38state 5 (chan_sip.c: T38_ENABLED) and
calls are successful.

I've been comparing Asterisk debug from both systems as well as
wireshark captures, but I can't figure out why Asterisk is not
sending the Linksys ATA's IP address.

Broadvox uses a Sonus switch and gateway with separate IP addresses
for SIP and media. Affinity uses Sippy (?) with a common IP for
SIP and media.

I believe I've already covered all the possible configuration
scenarios. I just can't get the right detail out of Asterisk to
determine if this is an Asterisk issue, or an ITSP issue.

Using bug ID#16705 as a guide, I patched this version, as well as
downgraded to a known working version, and to the latest 1.4.33.1
which includes several t.38 fixes.

https://issues.asterisk.org/view.php?id=16705

Thoughts?

Chris

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] transfering active call to user's voicemail

2010-06-29 Thread Rustam Kovhaev
Hi there,

I would like to setup up my Asterisk to do this:
receptionist answers the call, caller says he wants to leave a
voicemail message for Ashleigh, receptionist transfers the call to
Ashleigh's voicemail

I guess It has something to do with dynamic features, or probably
blind transfer to special ext. might do it

what would you recommend?

cheers!

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] transfering active call to user's voicemail

2010-06-29 Thread Gordon Henderson
On Tue, 29 Jun 2010, Rustam Kovhaev wrote:

 Hi there,

 I would like to setup up my Asterisk to do this:
 receptionist answers the call, caller says he wants to leave a
 voicemail message for Ashleigh, receptionist transfers the call to
 Ashleigh's voicemail

 I guess It has something to do with dynamic features, or probably
 blind transfer to special ext. might do it

 what would you recommend?

If Ashleigh is extnsion 321, then define a 2nd extension 321* which calls 
Voicemail(321,us) then reception can simply do a blind transfer to 321*

Gordon

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] How to Add IP address to SIP Domain

2010-06-29 Thread DHAVAL INDRODIYA
Dear All,

I have Asterisk and Kamailio Configuration.

everything works fine, now the situation is like i have following Dial
pattern in Dialplan.

exten = s,n, Dial(SIP/1...@glbvoice.com,20,m)

now in my /etc/hosts i have following entry

192.168.1.30 glbvoice.com

then call get forwarded to kamailio and everything is working fine

now question is if i want add one more domain like abc.com so for that i
need to add every entry in /etc/hosts file.

is there anyway to resolve it out, Means if SIP wants to send each call to
192.168.1.30 , but without entry in /etc/hosts.


regards
Dhaval.
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] restricting sip users to a certain useragent

2010-06-29 Thread A J Stiles
On Tuesday 29 Jun 2010, Tarek Sawah wrote:
 . is it possible to
 force the agents (users) to use a certain UserAgent which is the one
 built-in our system?  this way will prevent the agents we are restricting
 them to only be able to dial through the software which is already
 restricted to their seats in the call center.. but someone might sniff
 around .. and get the sip username and password assigned to him and use it
 through Zoiper or any other softphone to make calls .

If someone is *that* determined, what will stop them from modifying the 
user-agent string in some Open Source softphone?

-- 
AJS

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Hot to configure trunk in asterisk with a2billing.

2010-06-29 Thread gokulakrishnan
Hi All,

I am newbie in this asterisk  and a2billing technology . i had successfully
installed asterisk in my server fedora -8 [server behind NAT/STUN]
i after installation i can able to create users and tested the call
features with X-Lite . the was working fine .

after i installed the A2Billing in my same server with  follow the steps
from a2billing installation guide.

but u cant access the users from a2billing in asterisk . if i am trying to
access the username which is created in a2billing it displayed

request timeout somewhere i missed the configuration, please help me to
resolve this error .

Thanks,

Gokul.
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] G729 license key registration

2010-06-29 Thread Kiss András
2010/6/25 Remco Bressers rbress...@signet.nl:
 On 06/25/2010 09:48 AM, Kiss András wrote:
 You selected 5, G.729 Codec
 Please enter your Key-ID: G729-10D2X----X
 This product key cannot be registered!  Please verify you entered the
 correct product key.
 Server response: 404 - Key not found.

 Any suggestions?

 How about contacting Digium about this?

I`ve tried, got no response (yet)
I`ve found a thread on this list with the same problem, without the
solution: 
http://www.mail-archive.com/asterisk-users@lists.digium.com/msg219314.html

- András

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Is Centos 64 bit or 32 bit better?

2010-06-29 Thread Zhang Shukun
hi, all
after a long time development, i need to deploy a production system.

i want to install latest Asterisk 1.6.2.9 on Centos 5.4 . one thing confused me.

my computer hardware support 64 bit OS.

my question is : should i use Centos 5.4 64bit or  Centos 5.4 32bit?

which is better for my asterisk ? consider compatibilityand stability.

this is a new machine , only used for asterisk, no other apps.

Thank you in advance!
-- 
Thanks for your supporting,
have a nice day.
Sucan

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] What‘s the best operating sys tem suggest for Asterisk 1.6.2.9

2010-06-29 Thread Gareth Blades
Zhang Shukun wrote:
 hi, list
  i want to know what is the best OS for install Asterisk 1.6.2.9,
 which should work properly on working system.
 
 i want to use CentOS5.2 or CentOS 5.4.  Which is better and stable?
 Thanks for your help.
 
 

Whatever system you go for it should have a long maintenance cycle so 
you dont have to rebuild the box because the os is no longer supported.
Centos is fine and you might also want to consider the commercial Redhat 
or Suse equivilents.
If you go for centos get the latest.

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Is Centos 64 bit or 32 bit better?

2010-06-29 Thread Gareth Blades
Zhang Shukun wrote:
 hi, all
 after a long time development, i need to deploy a production system.
 
 i want to install latest Asterisk 1.6.2.9 on Centos 5.4 . one thing confused 
 me.
 
 my computer hardware support 64 bit OS.
 
 my question is : should i use Centos 5.4 64bit or  Centos 5.4 32bit?
 
 which is better for my asterisk ? consider compatibilityand stability.
 
 this is a new machine , only used for asterisk, no other apps.
 
 Thank you in advance!

64bit will give you more adressible memory and faster performance when 
dealing with 64bit numbers. Neither of these will really give you any 
benefit but Asterisk and all the extras I have seen all work fine on 
64bit so there is no real reason not to go for it.


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] What‘s the best operating sys tem suggest for Asterisk 1.6.2.9

2010-06-29 Thread John Novack
Zhang Shukun wrote:
 hi, list
   i want to know what is the best OS for install Asterisk 1.6.2.9,
 which should work properly on working system.

 i want to use CentOS5.2 or CentOS 5.4.  Which is better and stable?
 Thanks for your help.



Somewhat of a religious argument.
CentOS 5.5 is current, and does work well.
You will also find the Debian/Ubuntu camp on the list

Use what you know.
If you don't know either, use CentOS. 32 it is fine for asterisk
Compile from source

Using the above, your Google searches for help will be the most productive

MO

john Novack

-- 

Dog is my Co-pilot


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] How to Add IP address to SIP Domain

2010-06-29 Thread Paul Belanger
On Tue, Jun 29, 2010 at 3:23 AM, DHAVAL INDRODIYA
dhaval.it01...@gmail.com wrote:
 is there anyway to resolve it out, Means if SIP wants to send each call to
 192.168.1.30 , but without entry in /etc/hosts.

Setup a DNS server.

-- 
Paul Belanger | dCAP
Polybeacon | Consultant
Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode)
blog.polybeacon.com

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] What‘s the best operating sys tem suggest for Asterisk 1.6.2.9

2010-06-29 Thread Paul Belanger
On Mon, Jun 28, 2010 at 10:04 PM, Zhang Shukun bit...@gmail.com wrote:
     i want to know what is the best OS for install Asterisk 1.6.2.9,
 which should work properly on working system.

Ubuntu 10.04 Server ?

-- 
Paul Belanger | dCAP
Polybeacon | Consultant
Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode)
blog.polybeacon.com

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Hot to configure trunk in asterisk with a2billing.

2010-06-29 Thread Tarek Sawah

Lets say you did everything as it was mentioned in the tutorial .. then go into 
Asterisk console and issue the command:sip show peer A2BILLINGCREATEDUSER
if you can't find it.. then simply include additional_a2billing_sip.conf  in 
your sip.conf file.Regards
-- Tarek Sawah

Integrated Digital Systems

CCNA, MCSE, RHCE, VoIP USA: +1 347 562 2308






Date: Tue, 29 Jun 2010 13:41:22 +0530
From: alagudr...@gmail.com
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] Hot to configure trunk in asterisk with a2billing.

Hi All,

I am newbie in this asterisk  and a2billing technology . i had successfully 
installed asterisk in my server fedora -8 [server behind NAT/STUN]
i after installation i can able to create users and tested the call  features 
with X-Lite . the was working fine . 


after i installed the A2Billing in my same server with  follow the steps from 
a2billing installation guide.

but u cant access the users from a2billing in asterisk . if i am trying to 
access the username which is created in a2billing it displayed 


request timeout somewhere i missed the configuration, please help me to 
resolve this error .

Thanks,

Gokul.
  
_
The New Busy is not the old busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] restricting sip users to a certain useragent

2010-06-29 Thread Tarek Sawah

well there are two restrictions.. the IP address of the station they are using 
it .. and the UserAgent..one thing my agents hardly understand Computers .. and 
their computer skills are limited to Microsoft Office products and 
telemarketing. i'm not afraid of hackers or cracker .. security is not 
guaranteed .. but i need to restrict the agents to their seats and my CRM 
software

-- Tarek Sawah

Integrated Digital Systems

CCNA, MCSE, RHCE, VoIP USA: +1 347 562 2308






 From: asterisk_l...@earthshod.co.uk
 To: asterisk-users@lists.digium.com
 Date: Tue, 29 Jun 2010 08:45:01 +0100
 Subject: Re: [asterisk-users] restricting sip users to a certain useragent
 
 On Tuesday 29 Jun 2010, Tarek Sawah wrote:
  . is it possible to
  force the agents (users) to use a certain UserAgent which is the one
  built-in our system?  this way will prevent the agents we are restricting
  them to only be able to dial through the software which is already
  restricted to their seats in the call center.. but someone might sniff
  around .. and get the sip username and password assigned to him and use it
  through Zoiper or any other softphone to make calls .
 
 If someone is *that* determined, what will stop them from modifying the 
 user-agent string in some Open Source softphone?
 
 -- 
 AJS
 
 -- 
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
 
 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
  
_
The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail.
http://www.windowslive.com/campaign/thenewbusy?tile=multiaccountocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] restricting sip users to a certain useragent

2010-06-29 Thread Faisal Hanif

 Hi,

If you use curl realtime for registrations you can add useragnet check 
in your CGI and also lot of else as well.

Regards,

*Faisal Hanif
*On 6/29/2010 4:48 PM, Tarek Sawah wrote:
well there are two restrictions.. the IP address of the station they 
are using it .. and the UserAgent..
one thing my agents hardly understand Computers .. and their computer 
skills are limited to Microsoft Office products and telemarketing.
i'm not afraid of hackers or cracker .. security is not guaranteed .. 
but i need to restrict the agents to their seats and my CRM software


-- Tarek Sawah Integrated Digital Systems CCNA, MCSE, RHCE, VoIP USA: 
+1 347 562 2308




 From: asterisk_l...@earthshod.co.uk
 To: asterisk-users@lists.digium.com
 Date: Tue, 29 Jun 2010 08:45:01 +0100
 Subject: Re: [asterisk-users] restricting sip users to a certain 
useragent


 On Tuesday 29 Jun 2010, Tarek Sawah wrote:
  . is it possible to
  force the agents (users) to use a certain UserAgent which is the one
  built-in our system? this way will prevent the agents we are 
restricting

  them to only be able to dial through the software which is already
  restricted to their seats in the call center.. but someone might sniff
  around .. and get the sip username and password assigned to him 
and use it

  through Zoiper or any other softphone to make calls .

 If someone is *that* determined, what will stop them from modifying the
 user-agent string in some Open Source softphone?

 --
 AJS

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
 http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users


The New Busy is not the too busy. Combine all your e-mail accounts 
with Hotmail. Get busy. 
http://www.windowslive.com/campaign/thenewbusy?tile=multiaccountocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] peer IP address in CDR

2010-06-29 Thread Remco Bressers
Hi,

The subject says it all. Is it possible to put the IP address of the
peer in the CDR records? Using AGI maybe?

-- 
Kind regards,
Signet bv


Remco Bressers

T 040 - 707 4 907
F 040 - 707 4 909
E rbress...@signet.nl

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] G729 license key registration

2010-06-29 Thread Gordon Henderson

On Tue, 29 Jun 2010, Kiss András wrote:


2010/6/25 Remco Bressers rbress...@signet.nl:

On 06/25/2010 09:48 AM, Kiss András wrote:

You selected 5, G.729 Codec
Please enter your Key-ID: G729-10D2X----X
This product key cannot be registered!  Please verify you entered the
correct product key.
Server response: 404 - Key not found.

Any suggestions?


How about contacting Digium about this?


I`ve tried, got no response (yet)
I`ve found a thread on this list with the same problem, without the
solution: 
http://www.mail-archive.com/asterisk-users@lists.digium.com/msg219314.html


Dump the digium one and download the free one and make sure you don't 
utilise more channels of g729 than you've paid licenses for... (or just 
buy more licenses when you need more channels)


Probably not the technically correct way to do things, but no-one replied 
the last time I suggested this on the list...


Or try a commercially licensed alternative - e.g. 
http://www.howlertech.com/products/howlets/ perhaps their licensing works 
better?


Gordon-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] peer IP address in CDR

2010-06-29 Thread Faisal Hanif
 Simply set it to costume field of cdrs in dialplan and you will have 
it a part of native cdr

Regards,

*Faisal Hanif*
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] Problem with GoToIfTime

2010-06-29 Thread Jonas Kellens

Hello list,

why is it that GoToIfTime thinks a date of **|*|29-*|jun *is not valid ??


[Jun 29 14:06:34] -- Executing [...@macro-vac:10] 
*GotoIfTime*(SIP/testcorp-0036, **|*|29-*|jun*?onvac) in new stack
[Jun 29 14:06:34] WARNING[3076]: pbx.c:4127 get_range: Invalid end day 
'*', assuming none
[Jun 29 14:06:34] -- Executing [...@macro-vac:11] 
*GotoIfTime*(SIP/testcorp-0036, **|*|*-1|jul*?onvac) in new stack
[Jun 29 14:06:34] WARNING[3076]: pbx.c:4120 get_range: Invalid day '*', 
assuming none



I want to set a period of 29 June till first July.



Jonas.
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Problem with GoToIfTime

2010-06-29 Thread Peder
days of month = daynum 
| daynum'-'daynum 
| * 

 

It's either a range of days, e.g. 29-30, or * for don't care.  So do 29-30.

 

 

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jonas Kellens
Sent: Tuesday, June 29, 2010 7:12 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Problem with GoToIfTime

 

Hello list,

why is it that GoToIfTime thinks a date of *|*|29-*|jun is not valid ??


[Jun 29 14:06:34] -- Executing [...@macro-vac:10]
GotoIfTime(SIP/testcorp-0036, *|*|29-*|jun?onvac) in new stack
[Jun 29 14:06:34] WARNING[3076]: pbx.c:4127 get_range: Invalid end day '*',
assuming none
[Jun 29 14:06:34] -- Executing [...@macro-vac:11]
GotoIfTime(SIP/testcorp-0036, *|*|*-1|jul?onvac) in new stack
[Jun 29 14:06:34] WARNING[3076]: pbx.c:4120 get_range: Invalid day '*',
assuming none


I want to set a period of 29 June till first July.



Jonas.

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] cmd Authenticate

2010-06-29 Thread Coco Richard
Hi,

i need to save into a local variable the user's input dialed during
the cmd Authenticate(). Is there a way to do it?

thx
rich

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Is Centos 64 bit or 32 bit better?

2010-06-29 Thread Steve Underwood
On 06/29/2010 05:35 PM, Gareth Blades wrote:
 Zhang Shukun wrote:

 hi, all
  after a long time development, i need to deploy a production system.

 i want to install latest Asterisk 1.6.2.9 on Centos 5.4 . one thing confused 
 me.

 my computer hardware support 64 bit OS.

 my question is : should i use Centos 5.4 64bit or  Centos 5.4 32bit?

 which is better for my asterisk ? consider compatibilityand stability.

 this is a new machine , only used for asterisk, no other apps.

 Thank you in advance!
  
 64bit will give you more adressible memory and faster performance when
 dealing with 64bit numbers. Neither of these will really give you any
 benefit but Asterisk and all the extras I have seen all work fine on
 64bit so there is no real reason not to go for it.


Actually most DSP code runs *much* faster on a 64 bit machine. I think 
it mostly the better register set which results in that.

Steve


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] OrderlyStats SE 1.6.2l now available.

2010-06-29 Thread Matt King
Hello,

Just thought you might like to know that our popular call center 
management and statistics package, OrderlyStats SE, has just got a new 
release.

Version 1.6.2l includes a several configuration changes and enhancements 
to provide seamless call integration with the popular Elastix 
distribution of Asterisk.

To download your free evaluation version, and start benefiting from 
improved visibility and easy call center management today, just visit 
http://www.orderlyq.com/asteriskcallcenterstatistics.html

Thanks for reading.

Kind regards,

Matt King
Managing Director
Orderly Software Ltd.

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] cmd Authenticate

2010-06-29 Thread Danny Nicholas
I believe that the information keyed is just trashed after authentication.
You could modify app_authenticate.c to set a variable with the passed
information (this might already be included in the 1.6/1.8 branches, I just
deal with 1.4).  Your other option would be to use a read/gotoif pair in
place of authenticate.

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Coco Richard
Sent: Tuesday, June 29, 2010 7:33 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] cmd Authenticate

Hi,

i need to save into a local variable the user's input dialed during
the cmd Authenticate(). Is there a way to do it?

thx
rich

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Is Centos 64 bit or 32 bit better?

2010-06-29 Thread Luis Morales
Depend of your hardware. For example if you plan use 8G or more in RAM
it's better choice 64Bits distro.  There are others benefits for
example the size on databases, logs files, memory use, recording
files, etc.


Regards,


On Tue, Jun 29, 2010 at 8:38 AM, Steve Underwood ste...@coppice.org wrote:
 On 06/29/2010 05:35 PM, Gareth Blades wrote:
 Zhang Shukun wrote:

 hi, all
          after a long time development, i need to deploy a production 
 system.

 i want to install latest Asterisk 1.6.2.9 on Centos 5.4 . one thing 
 confused me.

 my computer hardware support 64 bit OS.

 my question is : should i use Centos 5.4 64bit or  Centos 5.4 32bit?

 which is better for my asterisk ? consider compatibilityand stability.

 this is a new machine , only used for asterisk, no other apps.

 Thank you in advance!

 64bit will give you more adressible memory and faster performance when
 dealing with 64bit numbers. Neither of these will really give you any
 benefit but Asterisk and all the extras I have seen all work fine on
 64bit so there is no real reason not to go for it.


 Actually most DSP code runs *much* faster on a 64 bit machine. I think
 it mostly the better register set which results in that.

 Steve


 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




-- 
-
Luis Morales
Consultor de Tecnologia
Cel: +(58)412-2352745
-
Empieza por hacer lo necesario, luego lo que es posible... y de
pronto estarás haciendo lo imposible

Leonardo Da'Vinci
-

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] cmd Authenticate

2010-06-29 Thread Doug Lytle
Coco Richard wrote:
 Hi,

 i need to save into a local variable the user's input dialed during
 the cmd Authenticate(). Is there a way to do it?



core show application authenticate
hylafax*CLI
   -= Info about application 'Authenticate' =-

[Synopsis]
Authenticate a user


   Options:
  a - Set the channels' account code to the password that is entered

--

You probably could use option a.

But, I'd suggest that instead of using authenticate, you code something 
using the read option.

I use read to authenticate conference administration.

[check-password]

exten = s,1,Read(get-admin-password|enter-password|||3|)
exten = s,n,Gotoif($[${LEN(${get-admin-password})}  1]?9:3)
exten = s,n, some dialplan magic here.

Doug


-- 

Ben Franklin quote:

Those who would give up Essential Liberty to purchase a little Temporary 
Safety, deserve neither Liberty nor Safety.


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] cmd Authenticate

2010-06-29 Thread Coco Richard
Danny, Doug

thx for the replies. According to the documentation, there is no
change for Authenticate() in version 1.6.x.x. So it seems i have to
use Read().

rich

On Tue, Jun 29, 2010 at 3:26 PM, Doug Lytle supp...@drdos.info wrote:
 Coco Richard wrote:
 Hi,

 i need to save into a local variable the user's input dialed during
 the cmd Authenticate(). Is there a way to do it?



 core show application authenticate
 hylafax*CLI
   -= Info about application 'Authenticate' =-

 [Synopsis]
 Authenticate a user


   Options:
      a - Set the channels' account code to the password that is entered

 --

 You probably could use option a.

 But, I'd suggest that instead of using authenticate, you code something
 using the read option.

 I use read to authenticate conference administration.

 [check-password]

 exten = s,1,Read(get-admin-password|enter-password|||3|)
 exten = s,n,Gotoif($[${LEN(${get-admin-password})}  1]?9:3)
 exten = s,n, some dialplan magic here.

 Doug


 --

 Ben Franklin quote:

 Those who would give up Essential Liberty to purchase a little Temporary 
 Safety, deserve neither Liberty nor Safety.


 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] What TERMINAL software do you use for MS Windows platform and WHY?

2010-06-29 Thread bruce bruce
Hi Everyone,

I am accustomed to PUTTY and it's very nice as in it allows many many SSH
profiles to be saved and allows tunneling etcbut it's not very good when
it comes to scrolling up and down, colors, text size, and specially it
doesn't give a title to the opened instance. Maybe giving the IP address as
the title of the window would help a lot if you have many different servers
opened at the same time.

Can you please weigh in and tell me what your favorite terminal software is
and why?

Thanks,
Bruce
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] peer IP address in CDR

2010-06-29 Thread Zeeshan Zakaria
Hi,

There is usually an empty column in the cdr table named 'userfield'. You can
also add a column of your own. Then in the dialplan use:

Set(CDR(userfield)=user IP address)

And this will automatically add this information into the userfield column.

Do you already have script to capture user's IP address? If not, check it
here how I am capturing it:

http://www.ilovetovoip.com/2010/05/getting-users-ip-address-remaining-within-the-dialplan

Zeeshan A Zakaria

--
www.ilovetovoip.com

On 2010-06-29 8:20 AM, Faisal Hanif fai...@vopium.com wrote:

 Simply set it to costume field of cdrs in dialplan and you will have it a
part of native cdr
 Regards,

*Faisal Hanif*

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] cmd Authenticate

2010-06-29 Thread Philipp von Klitzing
Hi!

 i need to save into a local variable the user's input dialed during
 the cmd Authenticate(). Is there a way to do it?

Use option a of Authenticate together with ${CDR(accountcode)}

Philipp


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] cmd Authenticate

2010-06-29 Thread Zeeshan Zakaria
Due to this reason I am doing authentications using Read().

Zeeshan A Zakaria

--
www.ilovetovoip.com

On 2010-06-29 9:36 AM, Coco Richard richard.kingc...@gmail.com wrote:

Danny, Doug

thx for the replies. According to the documentation, there is no
change for Authenticate() in version 1.6.x.x. So it seems i have to
use Read().

rich


On Tue, Jun 29, 2010 at 3:26 PM, Doug Lytle supp...@drdos.info wrote:
 Coco Richard wrote:
 Hi...
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] cmd Authenticate

2010-06-29 Thread Danny Nicholas
AFAIK, this will only address successful authentications.  I think the OP
wanted to be able to know what the user had entered on failed attempts.
Since I've added another layer to this onion, I think the best option is to
use Read followed by an AGI if you have bells and whistles like this and a
Gotoif if you are doing simple stuff.

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Philipp von
Klitzing
Sent: Tuesday, June 29, 2010 8:53 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] cmd Authenticate

Hi!

 i need to save into a local variable the user's input dialed during
 the cmd Authenticate(). Is there a way to do it?

Use option a of Authenticate together with ${CDR(accountcode)}

Philipp


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] SIP Delay with remote stations?

2010-06-29 Thread William Stillwell (Lists)
I have several remote phones that experience a slight call delay when
answering phones, ie, they will answer, speak a few words, and then the
remote caller will hear them, and the first half is cutoff?

 

Any idea what could be causing this?

 

 

Thanks,

Bill.

 

 

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] What‘s the best operating syst em suggest for Asterisk 1.6.2.9

2010-06-29 Thread Tiago Geada
Ubuntu is not Debian.

I would recommend Debian tho, its rock solid and it jsut works (for
anything)

On 29 June 2010 12:29, Paul Belanger paul.belan...@polybeacon.com wrote:

 On Mon, Jun 28, 2010 at 10:04 PM, Zhang Shukun bit...@gmail.com wrote:
  i want to know what is the best OS for install Asterisk 1.6.2.9,
  which should work properly on working system.
 
 Ubuntu 10.04 Server ?

 --
 Paul Belanger | dCAP
 Polybeacon | Consultant
 Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode)
 blog.polybeacon.com

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] peer IP address in CDR

2010-06-29 Thread Gareth Blades
Remco Bressers wrote:
 Hi,
 
 The subject says it all. Is it possible to put the IP address of the
 peer in the CDR records? Using AGI maybe?
 

Yes you can either put the information in the userfield if you are using 
a plain text file.

If you are storing to a mysql table for example then you can create 
additional columns and write whatever information you want to them. See 
http://www.voip-info.org/wiki/view/Asterisk+cdr+mysql for an example of 
how to do this.

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] What TERMINAL software do you use for MS Windows platform and WHY?

2010-06-29 Thread Gareth Blades
bruce bruce wrote:
 Hi Everyone,
 
 I am accustomed to PUTTY and it's very nice as in it allows many many 
 SSH profiles to be saved and allows tunneling etcbut it's not very 
 good when it comes to scrolling up and down, colors, text size, and 
 specially it doesn't give a title to the opened instance. Maybe giving 
 the IP address as the title of the window would help a lot if you have 
 many different servers opened at the same time.
 
 Can you please weigh in and tell me what your favorite terminal software 
 is and why?
 
 Thanks,
 Bruce
 

I just run Linux as my desktop and that makes it much easier :)

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] What TERMINAL software do you use for MS Windows platform and WHY?

2010-06-29 Thread Tzafrir Cohen
On Tue, Jun 29, 2010 at 09:53:42AM -0400, bruce bruce wrote:
 Hi Everyone,
 
 I am accustomed to PUTTY and it's very nice as in it allows many many SSH
 profiles to be saved and allows tunneling etcbut it's not very good when
 it comes to scrolling up and down, colors, text size, and specially it
 doesn't give a title to the opened instance. Maybe giving the IP address as
 the title of the window would help a lot if you have many different servers
 opened at the same time.
 
 Can you please weigh in and tell me what your favorite terminal software is
 and why?

Not that I use it myself, but I get recommendations for
http://code.google.com/p/msysgit/
as a rather usable distribution of terminal+ssh .

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] peer IP address in CDR

2010-06-29 Thread Remco Bressers
Hi,

Sorry, but i forgot to notice that i am already using the 'userfield'
column so that's not a possibility. Is there any way i can add the IP
address to a custom MySQL field in CDR? With AGI possibly? The problem
is, that the CDR entry is written in MySQL when the call is hungup, so i
have no possibility to write the IP address after a call.

Regards,

Remco

On 06/29/2010 03:53 PM, Zeeshan Zakaria wrote:
 Hi,
 
 There is usually an empty column in the cdr table named 'userfield'. You
 can also add a column of your own. Then in the dialplan use:
 
 Set(CDR(userfield)=user IP address)
 
 And this will automatically add this information into the userfield column.
 
 Do you already have script to capture user's IP address? If not, check
 it here how I am capturing it:
 
 http://www.ilovetovoip.com/2010/05/getting-users-ip-address-remaining-within-the-dialplan
 
 Zeeshan A Zakaria
 
 --
 www.ilovetovoip.com http://www.ilovetovoip.com
 
 On 2010-06-29 8:20 AM, Faisal Hanif fai...@vopium.com
 mailto:fai...@vopium.com wrote:

 Simply set it to costume field of cdrs in dialplan and you will have
 it a part of native cdr
 Regards,

 *Faisal Hanif*

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
 


-- 
Met vriendelijke groet,
Signet bv


Remco Bressers

T 040 - 707 4 907
F 040 - 707 4 909
E rbress...@signet.nl
altijd online? www.signet.nl

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] What TERMINAL software do you use for MS Windows platform and WHY?

2010-06-29 Thread Luis Morales
I like putty too. There are many features included in this client, for
example an freindly interface to setup tunnels, X11, and another
features.

Take a look into putty website.

http://the.earth.li/~sgtatham/putty/0.60/htmldoc/


Regards,


On Tue, Jun 29, 2010 at 9:52 AM, Tzafrir Cohen tzafrir.co...@xorcom.com wrote:
 On Tue, Jun 29, 2010 at 09:53:42AM -0400, bruce bruce wrote:
 Hi Everyone,

 I am accustomed to PUTTY and it's very nice as in it allows many many SSH
 profiles to be saved and allows tunneling etcbut it's not very good when
 it comes to scrolling up and down, colors, text size, and specially it
 doesn't give a title to the opened instance. Maybe giving the IP address as
 the title of the window would help a lot if you have many different servers
 opened at the same time.

 Can you please weigh in and tell me what your favorite terminal software is
 and why?

 Not that I use it myself, but I get recommendations for
 http://code.google.com/p/msysgit/
 as a rather usable distribution of terminal+ssh .

 --
               Tzafrir Cohen
 icq#16849755              jabber:tzafrir.co...@xorcom.com
 +972-50-7952406           mailto:tzafrir.co...@xorcom.com
 http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




-- 
-
Luis Morales
Consultor de Tecnologia
Cel: +(58)412-2352745
-
Empieza por hacer lo necesario, luego lo que es posible... y de
pronto estarás haciendo lo imposible

Leonardo Da'Vinci
-

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] peer IP address in CDR

2010-06-29 Thread Gareth Blades
Remco Bressers wrote:
 Hi,
 
 Sorry, but i forgot to notice that i am already using the 'userfield'
 column so that's not a possibility. Is there any way i can add the IP
 address to a custom MySQL field in CDR? With AGI possibly? The problem
 is, that the CDR entry is written in MySQL when the call is hungup, so i
 have no possibility to write the IP address after a call.
 
 Regards,
 
 Remco
 

See my earlier post. You can certenly write the information after the 
call is hung up by using the 'h' extension. I do this myself to write 
the calculated call cost to a custom column in the mysql table.

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] What TERMINAL software do you use for MS Windows platform and WHY?

2010-06-29 Thread Niccolò Belli
I do not use windows on the desktop/laptop, but when I have to I use putty.

Darkbasic

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Find a way to block brute force attacks.

2010-06-29 Thread Rodrigo Lang
Hello list.

I'm trying to find a way to block any ip that tries to login more than three
times with the wrong password and try to log in three different extensions. For
I have suffered some brute force attacks on my asterisk in the morning
period.

The idea would be: Any ip with three attempts without success to log into an
extension is blocked.

Is there any way to accomplish this directly by the asterisk? Or is there
some kind of asterisk spit this information via the AMI?

I was wondering to make a Java program to listen to the AMI and create a
rule in iptables for ip in specific.

Does anyone have any suggestions?


Thanks,
Rodrigo Lang.
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] What TERMINAL software do you use for MS Windows platform and WHY?

2010-06-29 Thread William Stillwell (Lists)
I use SecureCRT+FX , and use ansi graphics.

Putty is nice w/WinSCP as well.


-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Gareth Blades
Sent: Tuesday, June 29, 2010 10:17 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] What TERMINAL software do you use for MS
Windows platform and WHY?

bruce bruce wrote:
 Hi Everyone,
 
 I am accustomed to PUTTY and it's very nice as in it allows many many 
 SSH profiles to be saved and allows tunneling etcbut it's not very 
 good when it comes to scrolling up and down, colors, text size, and 
 specially it doesn't give a title to the opened instance. Maybe giving 
 the IP address as the title of the window would help a lot if you have 
 many different servers opened at the same time.
 
 Can you please weigh in and tell me what your favorite terminal software 
 is and why?
 
 Thanks,
 Bruce
 

I just run Linux as my desktop and that makes it much easier :)

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Find a way to block brute force attacks.

2010-06-29 Thread Mark R
There are some good suggestions here as a starting point:

http://jcs.org/notaweblog/2010/04/11/properly_stopping_a_sip_flood/

Rgds,

mcr

On 29 June 2010 15:39, Rodrigo Lang rodrigoferreiral...@gmail.com wrote:

 Hello list.

 I'm trying to find a way to block any ip that tries to login more than
 three times with the wrong password and try to log in three different
 extensions. For I have suffered some brute force attacks on my asterisk in
 the morning period.

 The idea would be: Any ip with three attempts without success to log into
 an extension is blocked.

 Is there any way to accomplish this directly by the asterisk? Or is there
 some kind of asterisk spit this information via the AMI?

 I was wondering to make a Java program to listen to the AMI and create a
 rule in iptables for ip in specific.

 Does anyone have any suggestions?


 Thanks,
 Rodrigo Lang.
 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] What TERMINAL software do you use for MS Windows platform and WHY?

2010-06-29 Thread Roderick A. Anderson
On 06/29/2010 06:53 AM, bruce bruce wrote:
 Hi Everyone,

 I am accustomed to PUTTY and it's very nice as in it allows many many
 SSH profiles to be saved and allows tunneling etcbut it's not very
 good when it comes to scrolling up and down, colors, text size, and
 specially it doesn't give a title to the opened instance. Maybe giving
 the IP address as the title of the window would help a lot if you have
 many different servers opened at the same time.

I haven't used Putty for several months and that was with a setup I'd 
made several years ago so I can't, off the top of my head, tell you how 
I did it; but I had the remote system's name or IP in the window title 
bar.  It might nave been the name I saved the connection as.

Look in the configuration under Terminal.  Something like a %s and make 
sure the terminal type is either Linux or ANSI.  Again too long ago.


Rod
-- 

 Can you please weigh in and tell me what your favorite terminal software
 is and why?

 Thanks,
 Bruce



-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] What TERMINAL software do you use for MS Windows platform and WHY?

2010-06-29 Thread Danny Nicholas
I use PUTTY 0.58 and have Window title and scroll control for 20K+ lines.
It could use some improvements, but it is more than adequate for green
screen control.  The quality of Putty and many other applications depends
on how you choose to control it.

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Roderick A.
Anderson
Sent: Tuesday, June 29, 2010 10:08 AM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] What TERMINAL software do you use for MS
Windows platform and WHY?

On 06/29/2010 06:53 AM, bruce bruce wrote:
 Hi Everyone,

 I am accustomed to PUTTY and it's very nice as in it allows many many
 SSH profiles to be saved and allows tunneling etcbut it's not very
 good when it comes to scrolling up and down, colors, text size, and
 specially it doesn't give a title to the opened instance. Maybe giving
 the IP address as the title of the window would help a lot if you have
 many different servers opened at the same time.

I haven't used Putty for several months and that was with a setup I'd 
made several years ago so I can't, off the top of my head, tell you how 
I did it; but I had the remote system's name or IP in the window title 
bar.  It might nave been the name I saved the connection as.

Look in the configuration under Terminal.  Something like a %s and make 
sure the terminal type is either Linux or ANSI.  Again too long ago.


Rod
-- 

 Can you please weigh in and tell me what your favorite terminal software
 is and why?

 Thanks,
 Bruce



-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Find a way to block brute force attacks.

2010-06-29 Thread Gareth Blades
Rodrigo Lang wrote:
 Hello list.
 
 I'm trying to find a way to block any ip that tries to login more than 
 three times with the wrong password and try to log in three different 
 extensions. For I have suffered some brute force attacks on my asterisk 
 in the morning period.
 
 The idea would be: Any ip with three attempts without success to log 
 into an extension is blocked.
 
 Is there any way to accomplish this directly by the asterisk? Or is 
 there some kind of asterisk spit this information via the AMI?
 
 I was wondering to make a Java program to listen to the AMI and create a 
 rule in iptables for ip in specific.
 
 Does anyone have any suggestions?
 
 
 Thanks,
 Rodrigo Lang.
 
Does asterisk log the failed attempts to a file?
If so then you could use sshblack to monitor the file for incorrect 
logins. It will add firewalls rules to a custom iptables chain based on 
various criteria. You can then point incoming SIP connections through 
this chain so offenders will be forewalled for a specific amount of time.
http://www.pettingers.org/code/sshblack.html

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] What TERMINAL software do you use for MS Windows platform and WHY?

2010-06-29 Thread Zeeshan Zakaria
Actually putty does it all. I don't know which putty you are using, maybe
try downloading it again and explore its settings.

Zeeshan A Zakaria

--
www.ilovetovoip.com

On 2010-06-29 11:12 AM, Roderick A. Anderson raand...@cyber-office.net
wrote:

On 06/29/2010 06:53 AM, bruce bruce wrote:
 Hi Everyone,

 I am accustomed to PUTTY and it's very...
I haven't used Putty for several months and that was with a setup I'd
made several years ago so I can't, off the top of my head, tell you how
I did it; but I had the remote system's name or IP in the window title
bar.  It might nave been the name I saved the connection as.

Look in the configuration under Terminal.  Something like a %s and make
sure the terminal type is either Linux or ANSI.  Again too long ago.


Rod
--


 Can you please weigh in and tell me what your favorite terminal software
 is and why?

 Thank...

-- 
_
-- Bandwidth and Colocatio...
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] peer IP address in CDR

2010-06-29 Thread Philipp von Klitzing
Hi!

 Do you already have script to capture user's IP address? If not, check
 it here how I am capturing it:

 http://www.ilovetovoip.com/2010/05/getting-users-ip-address-remaining-
 within-the-dialplan

Or simply use one fo these:

  ${SIPCHANINFO(peerip)}
  ${SIPCHANINFO(recvip)}
  ${SIPCHANINFO(uri)}

More details with show function SIPCHANINFO on the CLI.

But: Anyone has an idea how to store the codec(s) that were employed for
the call in the CDR (or access it during hangup in the dialplan)?

The Wiki has a suggested patch to enhance SIPCHANINFO, but I wonder if 
there is a cleaner and built-in way to do it:
http://www.voip-info.org/wiki/index.php?page=Asterisk+func+sipchaninfo

Philipp


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Find a way to block brute force attacks.

2010-06-29 Thread Kenny Watson
Hi, you can use fail2ban 
http://www.voip-info.org/wiki/view/Fail2Ban+(with+iptables)+And+Asterisk

Which works well, when a pattern is found in a log file it addes in an iptables 
rules to block the traffic for a period.

On debian you can apt-get install fail2ban and on centos/redhat yum -i fail2ban

Thanks

Kenny

- Original Message -
From: Gareth Blades list-aster...@skycomuk.com
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@lists.digium.com
Sent: Tuesday, 29 June, 2010 4:12:42 PM
Subject: Re: [asterisk-users] Find a way to block brute force attacks.

Rodrigo Lang wrote:
 Hello list.
 
 I'm trying to find a way to block any ip that tries to login more than 
 three times with the wrong password and try to log in three different 
 extensions. For I have suffered some brute force attacks on my asterisk 
 in the morning period.
 
 The idea would be: Any ip with three attempts without success to log 
 into an extension is blocked.
 
 Is there any way to accomplish this directly by the asterisk? Or is 
 there some kind of asterisk spit this information via the AMI?
 
 I was wondering to make a Java program to listen to the AMI and create a 
 rule in iptables for ip in specific.
 
 Does anyone have any suggestions?
 
 
 Thanks,
 Rodrigo Lang.
 
Does asterisk log the failed attempts to a file?
If so then you could use sshblack to monitor the file for incorrect 
logins. It will add firewalls rules to a custom iptables chain based on 
various criteria. You can then point incoming SIP connections through 
this chain so offenders will be forewalled for a specific amount of time.
http://www.pettingers.org/code/sshblack.html

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] peer IP address in CDR

2010-06-29 Thread Zeeshan Zakaria
Let me make it simple for you:

Add a column to your table, e.g. `my column`.

In the dialplan do the following (AEL example):

MYSQL(Connect connid localhost username password database);
MYSQL(Query resultid ${connid} INSERT INTO `cdr` (`mycolumn`)
VALUES('${SIPCHANINFO(ip)}'));
MYSQL(Disconnect ${connid});

--
Zeeshan

On Tue, Jun 29, 2010 at 10:32 AM, Gareth Blades
list-aster...@skycomuk.comwrote:

 Remco Bressers wrote:
  Hi,
 
  Sorry, but i forgot to notice that i am already using the 'userfield'
  column so that's not a possibility. Is there any way i can add the IP
  address to a custom MySQL field in CDR? With AGI possibly? The problem
  is, that the CDR entry is written in MySQL when the call is hungup, so i
  have no possibility to write the IP address after a call.
 
  Regards,
 
  Remco
 

 See my earlier post. You can certenly write the information after the
 call is hung up by using the 'h' extension. I do this myself to write
 the calculated call cost to a custom column in the mysql table.

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




-- 
Zeeshan A Zakaria
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] peer IP address in CDR

2010-06-29 Thread Remco Bressers
Thanks Zeeshan, but i don't use (and understand) AEL :)

Any regular examples out there? :)

regards,

Remco


On 06/29/2010 05:27 PM, Zeeshan Zakaria wrote:
 Let me make it simple for you:
 
 Add a column to your table, e.g. `my column`.
 
 In the dialplan do the following (AEL example):
 
 MYSQL(Connect connid localhost username password database);
 MYSQL(Query resultid ${connid} INSERT INTO `cdr`
 (`mycolumn`) VALUES('${SIPCHANINFO(ip)}'));
 MYSQL(Disconnect ${connid});
 
 --
 Zeeshan
 
 On Tue, Jun 29, 2010 at 10:32 AM, Gareth Blades
 list-aster...@skycomuk.com mailto:list-aster...@skycomuk.com wrote:
 
 Remco Bressers wrote:
  Hi,
 
  Sorry, but i forgot to notice that i am already using the 'userfield'
  column so that's not a possibility. Is there any way i can add the IP
  address to a custom MySQL field in CDR? With AGI possibly? The problem
  is, that the CDR entry is written in MySQL when the call is
 hungup, so i
  have no possibility to write the IP address after a call.
 
  Regards,
 
  Remco
 
 
 See my earlier post. You can certenly write the information after the
 call is hung up by using the 'h' extension. I do this myself to write
 the calculated call cost to a custom column in the mysql table.
 
 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello
 
 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
 
 
 
 
 -- 
 Zeeshan A Zakaria
 

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] peer IP address in CDR

2010-06-29 Thread Zeeshan Zakaria
Just put exten = _pattern,s, before the MYSQL ...

Zeeshan A Zakaria

--
www.ilovetovoip.com

On 2010-06-29 11:41 AM, Remco Bressers rbress...@signet.nl wrote:

Thanks Zeeshan, but i don't use (and understand) AEL :)

Any regular examples out there? :)

regards,

Remco



On 06/29/2010 05:27 PM, Zeeshan Zakaria wrote:
 Let me make it simple for you:

 Add a column ...

 list-aster...@skycomuk.com mailto:list-aster...@skycomuk.com wrote:

 Remco Bressers wr...
--

_
-- Bandwidth and Colocation Pr...
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Call file structure and syntax

2010-06-29 Thread Mike Ely
Yep, I saw that and it's just not the case.  I was having it dial my desk
extension, which was decidedly not busy at the time...


On 6/28/10 5:30 PM, Philipp von Klitzing
klitz...@pool.informatik.rwth-aachen.de wrote:

 Well, I¹ve tried this, and something just isn¹t right.
 
 Look here:
 
 Event: Hangup
 Channel: SIP/ShoreTel-1-0004
 Cause: 17   
 Cause-txt: User busy
 


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Voiceprompts i.e. voicemail and conferencing in multiple codecs

2010-06-29 Thread Kenny Watson


Hi, I am running asterisk 1.6.1.6 with a howler screamer card. 

I have g729 and alaw trunks from a pbx /sip providers. 


The howler screamer will only transcode from g729 to alaw / ulaw but my voice 
prompts are in SLIN and throws errors when i try and access these applications. 


Is it simply a case of converting the prompts into other codecs and asterisk 
will pick these up? 

  

Thanks 


Kenny 
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Codec negotiation

2010-06-29 Thread Steve Davies
On 26 June 2010 22:08, Ryan Wagoner rswago...@gmail.com wrote:
 I have Polycom phones that support the g722 codec. Adding allow=g722
 to the [general] section of sip.conf works great and I can make calls
 between the phones using g722. However Asterisk is negotiating g722
 for calls going out my voip provider and transcoding these to ulaw. In
 sip.conf for the provider I have deny=all and allow=ulaw. This can
 cause potential audio degrading and wastes cpu cycles. If Asterisk
 knows the trunk only supports ulaw why would it offer g722 to the
 phone.

 Ryan

Because the codec is already chosen before the call is made, and you
told it that g722 is permitted.

There are all sorts of discussions in play about codec negotiation,
but at this point in time, if you want different behaviour you'll need
to go and code it yourself, and cross-channeltype this is not going to
be trivial :)

Cheers,
Steve

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] What‘s the best operating syst em suggest for Asterisk 1.6.2.9

2010-06-29 Thread Carlos Chavez
On Tue, 2010-06-29 at 10:04 +0800, Zhang Shukun wrote:
 hi, list
  i want to know what is the best OS for install Asterisk 1.6.2.9,
 which should work properly on working system.
 
 i want to use CentOS5.2 or CentOS 5.4.  Which is better and stable?
 Thanks for your help.
 
 
The best OS is the one you are most confortable and the one you have
the most experience with.

CentOS is now on version 5.5, you can start with any CentOS 5 and when
you update it it will be 5.5.  Always make sure your OS has all the
security updates applied.

-- 
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez Prats
Director de Tecnología
+52-55-91169161 ext 2001


signature.asc
Description: This is a digitally signed message part
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Find a way to block brute force attacks.

2010-06-29 Thread Rodrigo Lang
Good afternoon.

Thanks to everyone for answers. What I find strange is the asterisk does not
have any native tool for him to SIP server security. Here's an example of
the syslog messages from asterisk:

[Jun 15 03:05:46] NOTICE [25284] chan_sip.c: Registration from '213
sip:2...@my_extern_ip' failed for '116 .124.128.82 '- Wrong password
[Jun 15 03:05:46] NOTICE [25284] chan_sip.c: Registration from '213
sip:2...@my_extern_ip' failed for '116 .124.128.82 '- Wrong password
[Jun 15 03:05:46] NOTICE [25284] chan_sip.c: Registration from '213
sip:2...@my_extern_ip' failed for '116 .124.128.82 '- Wrong password
[Jun 15 03:05:46] NOTICE [25284] chan_sip.c: Registration from '213
sip:2...@my_extern_ip' failed for '116 .124.128.82 '- Wrong password
[Jun 15 03:05:46] NOTICE [25284] chan_sip.c: Registration from '213
sip:2...@my_extern_ip' failed for '116 .124.128.82 '- Wrong password
[Jun 15 03:05:46] NOTICE [25284] chan_sip.c: Registration from '213
sip:2...@my_extern_ip' failed for '116 .124.128.82 '- Wrong password
[Jun 15 03:05:46] NOTICE [25284] chan_sip.c: Registration from '213
sip:2...@my_extern_ip' failed for '116 .124.128.82 '- Wrong password
[Jun 15 03:05:46] NOTICE [25284] chan_sip.c: Registration from '213
sip:2...@my_extern_ip' failed for '116 .124.128.82 '- Wrong password

From what I told there is around twenty thousand records that at one time. And
at least once a week I receive such an attack coming from a different ip.

I will read the articles. Thanks again to everyone.


Regards,
Rodrigo Lang.


2010/6/29 Kenny Watson kwat...@geniusgroupltd.com

 Hi, you can use fail2ban
 http://www.voip-info.org/wiki/view/Fail2Ban+(with+iptables)+And+Asteriskhttp://www.voip-info.org/wiki/view/Fail2Ban+%28with+iptables%29+And+Asterisk

 Which works well, when a pattern is found in a log file it addes in an
 iptables rules to block the traffic for a period.

 On debian you can apt-get install fail2ban and on centos/redhat yum -i
 fail2ban

 Thanks

 Kenny

 - Original Message -
 From: Gareth Blades list-aster...@skycomuk.com
 To: Asterisk Users Mailing List - Non-Commercial Discussion 
 asterisk-users@lists.digium.com
 Sent: Tuesday, 29 June, 2010 4:12:42 PM
 Subject: Re: [asterisk-users] Find a way to block brute force attacks.

 Rodrigo Lang wrote:
  Hello list.
 
  I'm trying to find a way to block any ip that tries to login more than
  three times with the wrong password and try to log in three different
  extensions. For I have suffered some brute force attacks on my asterisk
  in the morning period.
 
  The idea would be: Any ip with three attempts without success to log
  into an extension is blocked.
 
  Is there any way to accomplish this directly by the asterisk? Or is
  there some kind of asterisk spit this information via the AMI?
 
  I was wondering to make a Java program to listen to the AMI and create a
  rule in iptables for ip in specific.
 
  Does anyone have any suggestions?
 
 
  Thanks,
  Rodrigo Lang.
 
 Does asterisk log the failed attempts to a file?
 If so then you could use sshblack to monitor the file for incorrect
 logins. It will add firewalls rules to a custom iptables chain based on
 various criteria. You can then point incoming SIP connections through
 this chain so offenders will be forewalled for a specific amount of time.
 http://www.pettingers.org/code/sshblack.html

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Find a way to block brute force attacks.

2010-06-29 Thread Zeeshan Zakaria
If I didn't have fail2ban, I would have way over 20k of these entries in my
asterisk log.

Zeeshan A Zakaria

--
www.ilovetovoip.com

On 2010-06-29 1:36 PM, Rodrigo Lang rodrigoferreiral...@gmail.com wrote:

Good afternoon.

Thanks to everyone for answers. What I find strange is the asterisk does not
have any native tool for him to SIP server security. Here's an example of
the syslog messages from asterisk:

[Jun 15 03:05:46] NOTICE [25284] chan_sip.c: Registration from '213
sip:2...@my_extern_ip' failed for '116 .124.128.82 '- Wrong password
[Jun 15 03:05:46] NOTICE [25284] chan_sip.c: Registration from '213
sip:2...@my_extern_ip' failed for '116 .124.128.82 '- Wrong password
[Jun 15 03:05:46] NOTICE [25284] chan_sip.c: Registration from '213
sip:2...@my_extern_ip' failed for '116 .124.128.82 '- Wrong password
[Jun 15 03:05:46] NOTICE [25284] chan_sip.c: Registration from '213
sip:2...@my_extern_ip' failed for '116 .124.128.82 '- Wrong password
[Jun 15 03:05:46] NOTICE [25284] chan_sip.c: Registration from '213
sip:2...@my_extern_ip' failed for '116 .124.128.82 '- Wrong password
[Jun 15 03:05:46] NOTICE [25284] chan_sip.c: Registration from '213
sip:2...@my_extern_ip' failed for '116 .124.128.82 '- Wrong password
[Jun 15 03:05:46] NOTICE [25284] chan_sip.c: Registration from '213
sip:2...@my_extern_ip' failed for '116 .124.128.82 '- Wrong password
[Jun 15 03:05:46] NOTICE [25284] chan_sip.c: Registration from '213
sip:2...@my_extern_ip' failed for '116 .124.128.82 '- Wrong password

From what I told there is around twenty thousand records that at one time. And
at least once a week I receive such an attack coming from a different ip.

I will read the articles. Thanks again to everyone.


Regards,
Rodrigo Lang.


2010/6/29 Kenny Watson kwat...@geniusgroupltd.com



 Hi, you can use fail2ban
http://www.voip-info.org/wiki/view/Fail2Ban+(with+iptables)+And+Asteri...


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Find a way to block brute force attacks.

2010-06-29 Thread Andrew Latham
Please start here http://www.spamhaus.org/drop/ with your BGP
routes   Then move up to log parsing.


~
Andrew lathama Latham
lath...@gmail.com

* Learn more about OSS http://en.wikipedia.org/wiki/Open-source_software
* Learn more about Linux http://en.wikipedia.org/wiki/Linux
* Learn more about Tux http://en.wikipedia.org/wiki/Tux



On Tue, Jun 29, 2010 at 1:38 PM, Zeeshan Zakaria zisha...@gmail.com wrote:
 If I didn't have fail2ban, I would have way over 20k of these entries in my
 asterisk log.

 Zeeshan A Zakaria

 --
 www.ilovetovoip.com

 On 2010-06-29 1:36 PM, Rodrigo Lang rodrigoferreiral...@gmail.com wrote:

 Good afternoon.

 Thanks to everyone for answers. What I find strange is the asterisk does not
 have any native tool for him to SIP server security. Here's an example of
 the syslog messages from asterisk:

 [Jun 15 03:05:46] NOTICE [25284] chan_sip.c: Registration from '213
 sip:2...@my_extern_ip' failed for '116 .124.128.82 '- Wrong password
 [Jun 15 03:05:46] NOTICE [25284] chan_sip.c: Registration from '213
 sip:2...@my_extern_ip' failed for '116 .124.128.82 '- Wrong password
 [Jun 15 03:05:46] NOTICE [25284] chan_sip.c: Registration from '213
 sip:2...@my_extern_ip' failed for '116 .124.128.82 '- Wrong password
 [Jun 15 03:05:46] NOTICE [25284] chan_sip.c: Registration from '213
 sip:2...@my_extern_ip' failed for '116 .124.128.82 '- Wrong password
 [Jun 15 03:05:46] NOTICE [25284] chan_sip.c: Registration from '213
 sip:2...@my_extern_ip' failed for '116 .124.128.82 '- Wrong password
 [Jun 15 03:05:46] NOTICE [25284] chan_sip.c: Registration from '213
 sip:2...@my_extern_ip' failed for '116 .124.128.82 '- Wrong password
 [Jun 15 03:05:46] NOTICE [25284] chan_sip.c: Registration from '213
 sip:2...@my_extern_ip' failed for '116 .124.128.82 '- Wrong password
 [Jun 15 03:05:46] NOTICE [25284] chan_sip.c: Registration from '213
 sip:2...@my_extern_ip' failed for '116 .124.128.82 '- Wrong password

 From what I told there is around twenty thousand records that at one time.
 And at least once a week I receive such an attack coming from a different
 ip.

 I will read the articles. Thanks again to everyone.


 Regards,
 Rodrigo Lang.


 2010/6/29 Kenny Watson kwat...@geniusgroupltd.com


 Hi, you can use fail2ban
 http://www.voip-info.org/wiki/view/Fail2Ban+(with+iptables)+And+Asteri...

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Find a way to block brute force attacks.

2010-06-29 Thread Rodrigo Lang
Thanks again.

But it was a question pending. It's possible AMI show failure resgisters and
wrong password? Because I already have a Java program for AMI and a few
lines of modification would solve my problem if asterisk sends the
information to the AMI.



Thanks,
Rodrigo Lang.



2010/6/29 Andrew Latham lath...@gmail.com

 Please start here http://www.spamhaus.org/drop/ with your BGP
 routes   Then move up to log parsing.


 ~
 Andrew lathama Latham
 lath...@gmail.com

 * Learn more about OSS http://en.wikipedia.org/wiki/Open-source_software
 * Learn more about Linux http://en.wikipedia.org/wiki/Linux
 * Learn more about Tux http://en.wikipedia.org/wiki/Tux



 On Tue, Jun 29, 2010 at 1:38 PM, Zeeshan Zakaria zisha...@gmail.com
 wrote:
  If I didn't have fail2ban, I would have way over 20k of these entries in
 my
  asterisk log.
 
  Zeeshan A Zakaria
 
  --
  www.ilovetovoip.com
 
  On 2010-06-29 1:36 PM, Rodrigo Lang rodrigoferreiral...@gmail.com
 wrote:
 
  Good afternoon.
 
  Thanks to everyone for answers. What I find strange is the asterisk does
 not
  have any native tool for him to SIP server security. Here's an example of
  the syslog messages from asterisk:
 
  [Jun 15 03:05:46] NOTICE [25284] chan_sip.c: Registration from '213
  sip:2...@my_extern_ip' failed for '116 .124.128.82 '- Wrong password
  [Jun 15 03:05:46] NOTICE [25284] chan_sip.c: Registration from '213
  sip:2...@my_extern_ip' failed for '116 .124.128.82 '- Wrong password
  [Jun 15 03:05:46] NOTICE [25284] chan_sip.c: Registration from '213
  sip:2...@my_extern_ip' failed for '116 .124.128.82 '- Wrong password
  [Jun 15 03:05:46] NOTICE [25284] chan_sip.c: Registration from '213
  sip:2...@my_extern_ip' failed for '116 .124.128.82 '- Wrong password
  [Jun 15 03:05:46] NOTICE [25284] chan_sip.c: Registration from '213
  sip:2...@my_extern_ip' failed for '116 .124.128.82 '- Wrong password
  [Jun 15 03:05:46] NOTICE [25284] chan_sip.c: Registration from '213
  sip:2...@my_extern_ip' failed for '116 .124.128.82 '- Wrong password
  [Jun 15 03:05:46] NOTICE [25284] chan_sip.c: Registration from '213
  sip:2...@my_extern_ip' failed for '116 .124.128.82 '- Wrong password
  [Jun 15 03:05:46] NOTICE [25284] chan_sip.c: Registration from '213
  sip:2...@my_extern_ip' failed for '116 .124.128.82 '- Wrong password
 
  From what I told there is around twenty thousand records that at one
 time.
  And at least once a week I receive such an attack coming from a different
  ip.
 
  I will read the articles. Thanks again to everyone.
 
 
  Regards,
  Rodrigo Lang.
 
 
  2010/6/29 Kenny Watson kwat...@geniusgroupltd.com
 
 
  Hi, you can use fail2ban
  http://www.voip-info.org/wiki/view/Fail2Ban+(with+iptables)+And+Asteri.http://www.voip-info.org/wiki/view/Fail2Ban+%28with+iptables%29+And+Asteri.
 ..
 
  --
  _
  -- Bandwidth and Colocation Provided by http://www.api-digital.com --
  New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
 
  asterisk-users mailing list
  To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
 
  --
  _
  -- Bandwidth and Colocation Provided by http://www.api-digital.com --
  New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
 
  asterisk-users mailing list
  To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
 

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] peer IP address in CDR

2010-06-29 Thread Remco Bressers
I'll try it out tomorrow. 

Youre my hero of the day!

Regards,

Remco


Op 29 jun. 2010 om 17:45 heeft Zeeshan Zakaria zisha...@gmail.com het 
volgende geschreven:

 Just put exten = _pattern,s, before the MYSQL ...
 
 Zeeshan A Zakaria
 
 --
 www.ilovetovoip.com
 
 On 2010-06-29 11:41 AM, Remco Bressers rbress...@signet.nl wrote:
 
 Thanks Zeeshan, but i don't use (and understand) AEL :)
 
 Any regular examples out there? :)
 
 regards,
 
 Remco
 
 
 On 06/29/2010 05:27 PM, Zeeshan Zakaria wrote:
  Let me make it simple for you:
  
  Add a column ...
 
  list-aster...@skycomuk.com mailto:list-aster...@skycomuk.com wrote:
  
  Remco Bressers wr...
 
 --
 _
 -- Bandwidth and Colocation Pr...
 
 
 -- 
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello
 
 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] Strange Asterisk/SIP call forwarding behavior

2010-06-29 Thread Myles Wakeham
I have a small Asterisk 1.4.2 system that I run out of my home based 
business, and my Dialplan has it set to send any incoming call to my 
desk Grandstream phone.  Works really well.

When I leave the office, I need to re-direct the calls to my cell phone. 
  I tried to do this through my Grandstream phone, but it really didn't 
work all that well.  Callers would tell me that they tried to call but 
got cut off, etc.

So I decided to setup my dialplan with a variable in it for the 
destination phone to route to (SIP/MyDeskPhone or Local/15) 
(number excluded for obvious readons) to my cell phone.

What I'm finding, however, is that my Dialplan has about a 50% chance of 
successfully routing the phone call through to my cell phone when I'm 
switched over to using it.  I suspect it has something to do with a 
timing issue with my outgoing SIP provider or something like that.

What I'm looking for is some sort of advice on 'best practice' to handle 
call routing to my cell phone vs. keeping it on my LAN to my desktop 
phone.  As I mentioned, the desktop phone works flawlessly and I'm 
trying to get the same results on my cell phone so I don't lose any 
calls in the process.

Thanks in advance for any advice.

Myles



-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Codec negotiation

2010-06-29 Thread Mindaugas Kezys
Try this: http://www.b2bua.org/wiki/AsteriskCodecNegotiationPatch

Regards,
Mindaugas Kezys

Kolmisoft UAB 
VoIP Billing Solutions
e-mail: i...@kolmisoft.com
URL: http://www.kolmisoft.com


-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Steve Davies
Sent: Tuesday, June 29, 2010 7:51 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Codec negotiation

On 26 June 2010 22:08, Ryan Wagoner rswago...@gmail.com wrote:
 I have Polycom phones that support the g722 codec. Adding allow=g722
 to the [general] section of sip.conf works great and I can make calls
 between the phones using g722. However Asterisk is negotiating g722
 for calls going out my voip provider and transcoding these to ulaw. In
 sip.conf for the provider I have deny=all and allow=ulaw. This can
 cause potential audio degrading and wastes cpu cycles. If Asterisk
 knows the trunk only supports ulaw why would it offer g722 to the
 phone.

 Ryan

Because the codec is already chosen before the call is made, and you
told it that g722 is permitted.

There are all sorts of discussions in play about codec negotiation,
but at this point in time, if you want different behaviour you'll need
to go and code it yourself, and cross-channeltype this is not going to
be trivial :)

Cheers,
Steve

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Migrating from key system to asterisk

2010-06-29 Thread Brian Kolaci

I currently have 4 lines coming into the house.  We currently have an Avaya 
standard analog key system which has served us well, but running extensions is 
a major pain and requires a dedicated run per extension.  I have ethernet run 
throughout the house though.

The first two lines are home lines, however line1 I use for my consulting 
during the day, and line2 is used by my wife for her work during the day.  
Line3 is a separate business that nobody else in the household should be 
picking up, however I would like to be able to pick it up from any extension if 
required.  Line4 is a fax, but is used for outgoing calls (like conference 
calls, etc.) so that the inbound lines can be left free.

With the current system, I can choose which outbound trunk is used by just 
selecting the line button I prefer.  My wife just picks up the phone for an 
outgoing call and it will choose line2, and if busy then line1.  She would 
never use line3 or line4.  The kids should never touch lines 3 and 4 either.  
They all know enough to only answer lines 1 and 2 and ignore lines 3 and 4, and 
can tell since each line has a different ring as well as the line lights that 
blink.  We also regularly need to be able to barge in on each other's calls 
converting a regular call into a conference.

I know what I'm looking for is SLA (Shared Line Appearance), and I've been 
trying to get that working for a couple of weeks.  It supposedly works 
somewhat, but I cannot find enough coherent documentation as to exactly how to 
set up each of the extensions and the physical Polycom phones.  I do see 
there's still bugs being worked on (even today) thats being tested:  
https://issues.asterisk.org/view.php?id=11688

So there's two questions here.  First, is there a way to accomplish the 
requirements I have above to a generic asterisk installation, or are we talking 
a very large and complicated configuration?  Second, is there anywhere I can 
find some detailed documentation on configuring SLA on Polycom phones?  (For 
example, for each line on the Polycom phone, does it log in with an extension 
number or specifically the string station1_line1, and does the sip.conf get a 
numbered extension for each line on the phone, or do you specifically put 
[statsion1_line1] in there?)

Thanks in advance...


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Codec negotiation

2010-06-29 Thread mike mosier
From what I have seen if your sip provider does not take g722 then you will
have problems with outgoing calls. When I tried this, the same way you did,
I could make calles externally but had no audio each way reguardless of what
I tried to pass to the sip provider. Best bet is to use what your sip
provider can use or find another provider that that can do g722. That's what
I did when I wanted to use g726.

my2cents

On Tue, Jun 29, 2010 at 2:42 PM, Mindaugas Kezys mke...@gmail.com wrote:

 Try this: http://www.b2bua.org/wiki/AsteriskCodecNegotiationPatch

 Regards,
 Mindaugas Kezys

 Kolmisoft UAB
 VoIP Billing Solutions
 e-mail: i...@kolmisoft.com
 URL: http://www.kolmisoft.com


 -Original Message-
 From: asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Steve Davies
 Sent: Tuesday, June 29, 2010 7:51 PM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [asterisk-users] Codec negotiation

 On 26 June 2010 22:08, Ryan Wagoner rswago...@gmail.com wrote:
  I have Polycom phones that support the g722 codec. Adding allow=g722
  to the [general] section of sip.conf works great and I can make calls
  between the phones using g722. However Asterisk is negotiating g722
  for calls going out my voip provider and transcoding these to ulaw. In
  sip.conf for the provider I have deny=all and allow=ulaw. This can
  cause potential audio degrading and wastes cpu cycles. If Asterisk
  knows the trunk only supports ulaw why would it offer g722 to the
  phone.
 
  Ryan

 Because the codec is already chosen before the call is made, and you
 told it that g722 is permitted.

 There are all sorts of discussions in play about codec negotiation,
 but at this point in time, if you want different behaviour you'll need
 to go and code it yourself, and cross-channeltype this is not going to
 be trivial :)

 Cheers,
 Steve

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] libpri 1.4.11.3 Now Available

2010-06-29 Thread Asterisk Development Team
The Asterisk Development Team has announced the release of version 1.4.11.3 of
libpri. This release is available for immediate download at
http://downloads.asterisk.org/pub/telephony/libpri/

This release fixes a regression in the calling number assignment logic:

  * Calling Number assignment logic change in libpri 1.4.11. Restored the old
behaviour if there is more than one calling number in the incoming SETUP
message.  A network provided number is reported as ANI.
(Closes issue #17495. Reported and tested by ibercom. Patched by rmudgett)

For a full list of changes in the current release, please see the ChangeLog:

http://downloads.asterisk.org/pub/telephony/libpri/releases/ChangeLog-1.4.11.3

Thank you for your continued support of Asterisk!

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Asterisk 1.6 (and 1.4) DTMF problems using RFC2833

2010-06-29 Thread Mark Deneen
We are experiencing intermittent DTMF problems here, with the following
setup:

ITSP - PIX - Asterisk (g729, RFC2833 for DTMF).

I am running Ubuntu server 10.04, but Asterisk is compiled by us and not
installed from the software repository.  Essentially, DTMF works for some
time, but at some point it simply stops and the point at which it stops
appears to be random.

Using RTP debug, I can verify that the RFC2833 DTMF is being delivered in
the RTP stream, and Asterisk knows of it.  Independently, wireshark confirms
the same.  I can't easily remove the PIX, but as the RTP is showing the DTMF
I do not believe the firewall is an issue.

Our ITSP is registered as a SIP provider, and we can receive calls just
fine.  I've attached a file containing portions of the asterisk log, the
wireshark log and the dialplan.

Has anyone else run into this situation?

Best Regards,
Mark Deneen
[Jun 29 15:31:44] DTMF[26287] channel.c: DTMF begin '*' received on SIP/10.200.10.5-001e
[Jun 29 15:31:44] DTMF[26287] channel.c: DTMF begin ignored '*' on SIP/10.200.10.5-001e
[Jun 29 15:31:44] DTMF[26287] channel.c: DTMF end '*' received on SIP/10.200.10.5-001e, duration 100 ms
[Jun 29 15:31:44] DTMF[26287] channel.c: DTMF end passthrough '*' on SIP/10.200.10.5-001e

[Jun 29 15:32:18] VERBOSE[26287] pbx.c: -- Timeout on SIP/10.200.10.5-001e, continuing...

(enable RTP debug)

Jun 29 15:37:30] VERBOSE[26287] rtp.c: Got  RTP RFC2833 from   10.200.10.5:20020 (type 101, seq 017379, ts 5727107, len 04, mark 1, event 000b, end 0, duration 0)
[Jun 29 15:37:30] DEBUG[26287] rtp.c: - RTP 2833 Event: 000b (len = 4)
[Jun 29 15:37:30] VERBOSE[26287] rtp.c: Sent RTP packet to  10.200.10.5:20020 (type 18, seq 050557, ts 5669136, len 20)
[Jun 29 15:37:30] VERBOSE[26287] rtp.c: Got  RTP packet from10.200.10.5:20020 (type 101, seq 017380, ts 5727107, len 04)
[Jun 29 15:37:30] VERBOSE[26287] rtp.c: Got  RTP RFC2833 from   10.200.10.5:20020 (type 101, seq 017380, ts 5727107, len 04, mark 0, event 000b, end 0, duration 00160)
[Jun 29 15:37:30] DEBUG[26287] rtp.c: - RTP 2833 Event: 000b (len = 4)
[Jun 29 15:37:31] VERBOSE[26287] rtp.c: Sent RTP packet to  10.200.10.5:20020 (type 18, seq 050558, ts 5669296, len 20)
[Jun 29 15:37:31] VERBOSE[26287] rtp.c: Got  RTP packet from10.200.10.5:20020 (type 101, seq 017381, ts 5727107, len 04)
[Jun 29 15:37:31] VERBOSE[26287] rtp.c: Got  RTP RFC2833 from   10.200.10.5:20020 (type 101, seq 017381, ts 5727107, len 04, mark 0, event 000b, end 0, duration 00320)
[Jun 29 15:37:31] DEBUG[26287] rtp.c: - RTP 2833 Event: 000b (len = 4)
[Jun 29 15:37:31] VERBOSE[26287] rtp.c: Sent RTP packet to  10.200.10.5:20020 (type 18, seq 050559, ts 5669456, len 20)
[Jun 29 15:37:31] VERBOSE[26287] rtp.c: Got  RTP packet from10.200.10.5:20020 (type 101, seq 017382, ts 5727107, len 04)
[Jun 29 15:37:31] VERBOSE[26287] rtp.c: Got  RTP RFC2833 from   10.200.10.5:20020 (type 101, seq 017382, ts 5727107, len 04, mark 0, event 000b, end 0, duration 00480)
[Jun 29 15:37:31] DEBUG[26287] rtp.c: - RTP 2833 Event: 000b (len = 4)
[Jun 29 15:37:31] VERBOSE[26287] rtp.c: Sent RTP packet to  10.200.10.5:20020 (type 18, seq 050560, ts 5669616, len 20)
[Jun 29 15:37:31] VERBOSE[26287] rtp.c: Got  RTP packet from10.200.10.5:20020 (type 101, seq 017383, ts 5727107, len 04)
[Jun 29 15:37:31] VERBOSE[26287] rtp.c: Got  RTP RFC2833 from   10.200.10.5:20020 (type 101, seq 017383, ts 5727107, len 04, mark 0, event 000b, end 0, duration 00640)
[Jun 29 15:37:31] DEBUG[26287] rtp.c: - RTP 2833 Event: 000b (len = 4)
[Jun 29 15:37:31] VERBOSE[26287] rtp.c: Sent RTP packet to  10.200.10.5:20020 (type 18, seq 050561, ts 5669776, len 20)
[Jun 29 15:37:31] VERBOSE[26287] rtp.c: Got  RTP packet from10.200.10.5:20020 (type 101, seq 017384, ts 5727107, len 04)
[Jun 29 15:37:31] VERBOSE[26287] rtp.c: Got  RTP RFC2833 from   10.200.10.5:20020 (type 101, seq 017384, ts 5727107, len 04, mark 0, event 000b, end 0, duration 00800)
[Jun 29 15:37:31] DEBUG[26287] rtp.c: - RTP 2833 Event: 000b (len = 4)
[Jun 29 15:37:31] VERBOSE[26287] rtp.c: Sent RTP packet to  10.200.10.5:20020 (type 18, seq 050562, ts 5669936, len 20)
[Jun 29 15:37:31] VERBOSE[26287] rtp.c: Got  RTP packet from10.200.10.5:20020 (type 101, seq 017385, ts 5727107, len 04)
[Jun 29 15:37:31] VERBOSE[26287] rtp.c: Got  RTP RFC2833 from   10.200.10.5:20020 (type 101, seq 017385, ts 5727107, len 04, mark 0, event 000b, end 0, duration 00960)
[Jun 29 15:37:31] DEBUG[26287] rtp.c: - RTP 2833 Event: 000b (len = 4)
[Jun 29 15:37:31] VERBOSE[26287] rtp.c: Sent RTP packet to  10.200.10.5:20020 (type 18, seq 050563, ts 5670096, len 20)
[Jun 29 15:37:31] VERBOSE[26287] rtp.c: Got  RTP packet from10.200.10.5:20020 (type 101, seq 017386, ts 5727107, len 04)
[Jun 29 15:37:31] VERBOSE[26287] rtp.c: Got  

Re: [asterisk-users] Codec negotiation

2010-06-29 Thread Jonas Kellens

Does the 1.4.26.2-patch also work with asterisk 1.4.30 ??

I have reported a codec-issue, but there is no solution. Will this patch 
also answer my question ??

https://issues.asterisk.org/view.php?id=17020


Jonas.


On 06/29/2010 09:42 PM, Mindaugas Kezys wrote:

Try this: http://www.b2bua.org/wiki/AsteriskCodecNegotiationPatch

Regards,
Mindaugas Kezys

Kolmisoft UAB
VoIP Billing Solutions
e-mail: i...@kolmisoft.com
URL: http://www.kolmisoft.com


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] Carrier needs more call examples

2010-06-29 Thread Adam Moffett
Ok list users, this is a question born out of curiosity, but if I'm 
having an intermittent problem and the carrier wants some examples of 
calls where the problem happened, what can they actually do with that 
information?

I guess my implementation is relatively simple here and all I've got to 
look at is CDR's and the asterisk log.  Does my carrier have 
tremendously more information they can look at?

I ask because I gave them 2 or 3 examples and they want more, and I 
don't know what difference it makes whether they have 3 examples to look 
at versus 300.


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Voiceprompts i.e. voicemail and conferencing in multiple codecs

2010-06-29 Thread Paul Belanger
On Tue, Jun 29, 2010 at 12:51 PM, Kenny Watson
kwat...@geniusgroupltd.com wrote:
 Is it simply a case of converting the prompts into other codecs and asterisk
 will pick these up?

Yes, install both g729 and ulaw/alaw prompts to avoid trans-coding altogether.

-- 
Paul Belanger | dCAP
Polybeacon | Consultant
Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode)
blog.polybeacon.com

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Can't call my extension

2010-06-29 Thread Nicholas Hart
Hi,

I managed to get a remote extension to work through a router which can now
call all the other local extensions in asterisk.  For some reason, nobody
can call me back.  They get failed upon trying.  Keep thinking there must be
some caller group to which I need be added.  Or perhaps I need to add the IP
address of this phone to the sip.conf file?  Please let me know.  Thanks.

Nick
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Carrier needs more call examples

2010-06-29 Thread Peder
It depends on the issue.  If you have a carrier that has say 5-10 different
routes, they may want to confirm that the issue occurs on the same route
every time, or see if it is hitting the same box on their end.
Theoretically they could gather all the info on their end given the
caller/called numbers and times, but it is easier to make you get it.  I
have one carrier I deal with that pretty much won't accept a ticket without
a packet capture attached to it. 

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Adam Moffett
Sent: Tuesday, June 29, 2010 4:15 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Carrier needs more call examples

Ok list users, this is a question born out of curiosity, but if I'm 
having an intermittent problem and the carrier wants some examples of 
calls where the problem happened, what can they actually do with that 
information?

I guess my implementation is relatively simple here and all I've got to 
look at is CDR's and the asterisk log.  Does my carrier have 
tremendously more information they can look at?

I ask because I gave them 2 or 3 examples and they want more, and I 
don't know what difference it makes whether they have 3 examples to look 
at versus 300.


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] SIP Delay with remote stations?

2010-06-29 Thread Paul Belanger
On Tue, Jun 29, 2010 at 10:06 AM, William Stillwell (Lists)
william.stillwell-li...@ablebody.net wrote:
 Any idea what could be causing this?

Yes, network delay, packet loss, the Internet.  Implement QoS and
bandwidth monitoring.

-- 
Paul Belanger | dCAP
Polybeacon | Consultant
Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode)
blog.polybeacon.com

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Strange Asterisk/SIP call forwarding behavior

2010-06-29 Thread Paul Belanger
On Tue, Jun 29, 2010 at 2:36 PM, Myles Wakeham my...@techsol.org wrote:
 What I'm looking for is some sort of advice on 'best practice' to handle
 call routing to my cell phone vs. keeping it on my LAN to my desktop
 phone.  As I mentioned, the desktop phone works flawlessly and I'm
 trying to get the same results on my cell phone so I don't lose any
 calls in the process.

*CLI core show application FollowMe

-- 
Paul Belanger | dCAP
Polybeacon | Consultant
Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode)
blog.polybeacon.com

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Dial options not working

2010-06-29 Thread Anahi Ludueña

Hi, I have an extension which has the follow me option activated. The followme 
option should go to a IVR if no answer...
The problem that I have is that everything works when I'm calling it from my 
extension, but if I use any landline phone or a cell phone, I'm unable to enter 
any options. When I press one option, it seems I do nothing...
Please, could you help me?
Thanks,






Anahi Ludueña
 

  
_
Sé el protagonista de GQ con Messenger y Vodafone Blackberry. ¡Y gana premios!
http://serviciosmoviles.es.msn.com/messenger/vodafone.aspx-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Update the LCD with the callee's name after dialing

2010-06-29 Thread Matt Darnell
Thank you Andrew,

I will check it out.  We are currently running 1.4.

-Matt

On Mon, Jun 28, 2010 at 3:48 PM, Andrew Latham lath...@gmail.com wrote:
 Remote Party ID in trunk, it works  There are hacks for other versions.


 ~
 Andrew lathama Latham
 lath...@gmail.com

 * Learn more about OSS http://en.wikipedia.org/wiki/Open-source_software
 * Learn more about Linux http://en.wikipedia.org/wiki/Linux
 * Learn more about Tux http://en.wikipedia.org/wiki/Tux



 On Mon, Jun 28, 2010 at 8:40 PM, Matt Darnell mattdarn...@gmail.com wrote:
 Is is possible with a Polycom phone to update the LCD with the
 callee's name after dialing them?

 When you dial ext 103 now, it says 'To:103'...would be nice if could
 have 'To:Dan Marino'

 This is the case even when you have a contact for ext 103.

 None of the phones I have ever tested do this, Polycom, Linksys,
 Cisco, Grandstream, Yealink, etc.

 -Matt

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Dial options not working

2010-06-29 Thread Danny Nicholas
Check your DTMF settings in *dahdi*.conf (not sure which of the dahdi files
this lives in).  Sounds like your DAHDI doesn’t like DTMF input.

 

  _  

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Anahi Ludueña
Sent: Tuesday, June 29, 2010 4:51 PM
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] Dial options not working

 

Hi, I have an extension which has the follow me option activated. The
followme option should go to a IVR if no answer...
The problem that I have is that everything works when I'm calling it from my
extension, but if I use any landline phone or a cell phone, I'm unable to
enter any options. When I press one option, it seems I do nothing...
Please, could you help me?
Thanks,




  _  

Anahi Ludueña

 





  _  

Disfruta de Hotmail y Messenger en tu móvil con YOIGO. ¡Hazlo
http://serviciosmoviles.es.msn.com/hotmail/yoigo.aspx  ya!

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Dial options not working

2010-06-29 Thread Anahi Ludueña

Thanks, but I don't have any *dahdi*.conf file here... (I check in 
/etc/asterisk)




Anahi Ludueña
 



From: da...@debsinc.com
To: asterisk-users@lists.digium.com
Date: Tue, 29 Jun 2010 16:54:01 -0500
Subject: Re: [asterisk-users] Dial options not working



















Check your DTMF settings in *dahdi*.conf (not sure which of the dahdi
files this lives in).  Sounds like your DAHDI doesn’t like DTMF input.

 









From:
asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Anahi Ludueña

Sent: Tuesday, June 29, 2010 4:51
PM

To: asterisk-users@lists.digium.com

Subject: [asterisk-users] Dial
options not working



 

Hi, I have an extension which has
the follow me option activated. The followme option should go to a IVR if no
answer...

The problem that I have is that everything works when I'm calling it from my
extension, but if I use any landline phone or a cell phone, I'm unable to enter
any options. When I press one option, it seems I do nothing...

Please, could you help me?

Thanks,















Anahi
Ludueña

 















Disfruta de Hotmail y Messenger en tu móvil con YOIGO. ¡Hazlo
ya!

  
_
Citas sin compromiso por Internet Te damos las claves para encontrar pareja en 
la red
http://contactos.es.msn.com/?mtcmk=015352-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Codec negotiation

2010-06-29 Thread Philipp von Klitzing
Hi!

 Because the codec is already chosen before the call is made, and you
 told it that g722 is permitted.
 
 There are all sorts of discussions in play about codec negotiation,
 but at this point in time, if you want different behaviour you'll need to
 go and code it yourself

Look at the list archive - there is a codec negotiation patch around:

http://lists.digium.com/pipermail/asterisk-users/2010-
February/244835.html

The OP might also want to consider to use different lines to the same 
PBX, one for normal narrowband, and another one for g722.

Philipp


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Codec negotiation

2010-06-29 Thread Philipp von Klitzing
Hi!

 Does the 1.4.26.2-patch also work with asterisk 1.4.30 ??

Most probably - who on this list would you like to test it for you? ;-

Philipp


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Codec negotiation

2010-06-29 Thread Ryan Wagoner
On Tue, Jun 29, 2010 at 6:42 PM, Philipp von Klitzing
klitz...@pool.informatik.rwth-aachen.de wrote:
 Hi!

 Because the codec is already chosen before the call is made, and you
 told it that g722 is permitted.

 There are all sorts of discussions in play about codec negotiation,
 but at this point in time, if you want different behaviour you'll need to
 go and code it yourself

 Look at the list archive - there is a codec negotiation patch around:

 http://lists.digium.com/pipermail/asterisk-users/2010-
 February/244835.html

 The OP might also want to consider to use different lines to the same
 PBX, one for normal narrowband, and another one for g722.

 Philipp


 --

Thanks! I'm going to try setting the _SIP_CODEC variable for outbound
calls to force ulaw. This should solve the issue. Having two lines
would work but I can't sell this to a customer. There has got to be a
better way to have Asterisk handle this. With Asterisk in the middle
of the RTP stream it knows what both parties support. If it turns out
Asterisk is transcoding it could check for a common codec and
renegotiate one endpoint.

Ryan

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Anyone can share their config file for Cisco phone please?

2010-06-29 Thread bruce bruce
I have an *ipphone 7965G* which has to be connected to Asterisk. It has been
flashed with SIP firmware but the config file doesn't seem to work maybe I
am missing something in it.

I appreciate it if you can share your working sample config file with me.

Thanks
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] Long shot... Order Logix

2010-06-29 Thread Matt Desbiens
Has anyone ever integrated the software from order logix into their system?
This is primarily an API driven, pulled from a SQL database and stored for a
client to access... Order Logix deals primarily with Call Centers, it pulls
the information from the SQL database, and will allow access for the client
to pull the recording and all associated call information...  I know its a
long shot and everything should be in SQL to be pulled from the DB and
posted, but I want to know what I'm getting into before I dive in...

-- Matt
//* EOF *//
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] RE How to break pri DID to multiple SIP Trunks

2010-06-29 Thread Samantha
Hey Guys

 

I have an indial range of 6128[01234]X  being trunked sip to
xxx.yyy.189.65

 

Now I want to break this down into 61280x going to xxx.yyy.188.145 and
61284x going to xxx.yyy.189.199
reminder being used for fax-email  etc etc etc

 

I have created the outbound routes and sip trunks

I can see that all the sip trunks are up 
I can see the outbound routes are there and also in trunks

 

But it isn't working

 

The call gets answered by the first point xxx.yyy.189.69 and you get an rva
of the number you called is not in service

 

 

Regards

 

Samantha

 

 

 

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users