Re: [asterisk-users] adding area code

2015-04-27 Thread Motty Cruz
Thanks for your reply, [globals] AREACODE=381 [outbound] exten = _NXX,1,Dial(SIP/SIP-Provider/1${AREACODE}${EXTEN},80) did not work for me, any ideas? Thanks, On 04/27/2015 01:59 PM, Phil Reynolds wrote: On 27 April 2015 21:32:42 BST, Motty Cruz motty.c...@gmail.com wrote: Hello, I

Re: [asterisk-users] adding area code

2015-04-27 Thread Motty Cruz
here is what I have: exten = _9XXX,1,Set(l_HomeAreaCode=381) exten = _9XXX,n,Set(dialnumber=${l_HomeAreaCode}${EXTEN:-1}) exten = _9XXX,n,Dial(SIP/SIP-Provider/${dialnumber},80) not having success; Got SIP reponse 503 Service Unavailable On 04/27/2015 02:19 PM, Bryant Zimmerman

Re: [asterisk-users] adding area code

2015-04-27 Thread Phil Reynolds
On 27 April 2015 21:32:42 BST, Motty Cruz motty.c...@gmail.com wrote: Hello, I would like to add area code if clients dial 7 digits, it that possible? currently clients dial prefix 9 plus local number, however my SIP provider is requiring to dial 10 digits. is it possible to add area code?r

Re: [asterisk-users] adding area code

2015-04-27 Thread Steve Edwards
On Mon, 27 Apr 2015, Bryant Zimmerman wrote: exten = _9XXX,n,Set(dialnumber=${l_HomeAreaCode}${EXTEN-1}) Missing a colon? ${EXTEN:-1} -- Thanks in advance, - Steve Edwards sedwa...@sedwards.com

Re: [asterisk-users] adding area code

2015-04-27 Thread Matt Riddell
On 27Apr, 2015, at 16:39, Motty Cruz motty.c...@gmail.com wrote: forgot to mentioned I am running Asterisk 1.8.22.0 on CentOS. Thanks, On 04/27/2015 02:38 PM, Motty Cruz wrote: here is what I have: exten = _9XXX,1,Set(l_HomeAreaCode=381) exten =

Re: [asterisk-users] adding area code

2015-04-27 Thread Bryant Zimmerman
Thanks for your reply, [globals] AREACODE=381 [outbound] exten = _9XX,1,Dial(SIP/SIP-Provider/1${AREACODE}${EXTEN-1},80) did not work for me, any ideas? Thanks, On 04/27/2015 01:59 PM, Phil Reynolds wrote: On 27 April 2015 21:32:42 BST, Motty Cruz motty.c...@gmail.com wrote: Hello,

[asterisk-users] adding area code

2015-04-27 Thread Motty Cruz
Hello, I would like to add area code if clients dial 7 digits, it that possible? currently clients dial prefix 9 plus local number, however my SIP provider is requiring to dial 10 digits. is it possible to add area code? Thanks, Motty --

Re: [asterisk-users] adding area code

2015-04-27 Thread Bryant Zimmerman
Motty Yes From your dial plan accept 9 + 7 digits then concat your dialed number together with your areacode. This s a brief example. exten = _9XXX,1,Set(l_HomeAreaCode=555) exten = _9XXX,n,Set(dialnumber=${l_HomeAreaCode}${EXTEN-1}) ;; This line should combine your area

Re: [asterisk-users] adding area code

2015-04-27 Thread Motty Cruz
forgot to mentioned I am running Asterisk 1.8.22.0 on CentOS. Thanks, On 04/27/2015 02:38 PM, Motty Cruz wrote: here is what I have: exten = _9XXX,1,Set(l_HomeAreaCode=381) exten = _9XXX,n,Set(dialnumber=${l_HomeAreaCode}${EXTEN:-1}) exten =

Re: [asterisk-users] I'm not able to register Softphone(X-lite) in asterisk(Which is installed in EC2 Cloud).

2015-04-27 Thread akhilesh chand
Hi Helvio, Could you tell me what is process to setup an environment for IAX. Regards Akhilesh On Fri, Apr 24, 2015 at 4:25 PM, Helvio Junior helvio.lis...@gmail.com wrote: Hi Akhilesh, SIP protocol use port 5060 (default) and many other ports to stablish calls. You need to check if there

Re: [asterisk-users] I'm not able to register Softphone(X-lite) in asterisk(Which is installed in EC2 Cloud).

2015-04-27 Thread jg
Am 27.04.2015 um 14:53 schrieb akhilesh chand: Hi Helvio, Could you tell me what is process to setup an environment for IAX. Regards Akhilesh On Fri, Apr 24, 2015 at 4:25 PM, Helvio Junior helvio.lis...@gmail.com mailto:helvio.lis...@gmail.com wrote: Hi Akhilesh, SIP protocol use

Re: [asterisk-users] I'm not able to register Softphone(X-lite) in asterisk(Which is installed in EC2 Cloud).

2015-04-27 Thread James Cass
Akhilesh, I have implemented several ec2 instances with both sip and iax2 and have no problems with xlite or hard phones. Have you already opened the ports in the vpc security group on the Amazon side? Let me know is I can help. --James On Apr 24, 2015 3:34 AM, akhilesh chand

Re: [asterisk-users] adding area code

2015-04-27 Thread Steve Edwards
On Mon, 27 Apr 2015, Chad Wallace wrote: On Mon, 27 Apr 2015 14:30:07 -0700 (PDT) Steve Edwards asterisk@sedwards.com wrote: On Mon, 27 Apr 2015, Bryant Zimmerman wrote: exten = _9XXX,n,Set(dialnumber=${l_HomeAreaCode}${EXTEN-1}) Missing a colon? ${EXTEN:-1} Does that

Re: [asterisk-users] Function IMPORT and Local channels

2015-04-27 Thread Ethy H. Brito
On Mon, 27 Apr 2015 23:52:30 -0300 Ethy H. Brito ethy.br...@inexo.com.br wrote: Hi all These questions were asked back in 2009 at lists.digium.com and got unanswered: - Has someone been successful in using IMPORT on a Local channel ? - Is there a known limitation in doing so ? I

Re: [asterisk-users] I'm not able to register Softphone(X-lite) in asterisk(Which is installed in EC2 Cloud).

2015-04-27 Thread akhilesh chand
Hi James, Please let me know how could I implement for sip.I will appreciate your help. Regards Akhilesh On Mon, Apr 27, 2015 at 7:01 PM, James Cass jcas...@gmail.com wrote: Akhilesh, I have implemented several ec2 instances with both sip and iax2 and have no problems with xlite or hard

[asterisk-users] Function IMPORT and Local channels

2015-04-27 Thread Ethy H. Brito
Hi all These questions were asked back in 2009 at lists.digium.com and got unanswered: - Has someone been successful in using IMPORT on a Local channel ? - Is there a known limitation in doing so ? I run into the same problem. ${IMPORT(Local/1234@example-abcd;2,CALLERID(dstchannel))} returns

[asterisk-users] Asterisk proxying a REFER

2015-04-27 Thread Luca Pradovera
Hello, we are using Asterisk with Adhearsion as our application server, with another Asterisk box acting as the office PBX, where all office phones are registered. A REFER to transfer calls within the office results in the Adhearsion application call being dropped, because the leg between the PBX