[asterisk-users] adding area code

Matt Riddell lists at venturevoip.com
Mon Apr 27 16:56:18 CDT 2015


> On 27Apr, 2015, at 16:39, Motty Cruz <motty.cruz at 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 => _9XXXXXXX,1,Set(l_HomeAreaCode=381)
>> 
>> exten => _9XXXXXXX,n,Set(dialnumber=${l_HomeAreaCode}${EXTEN:-1})
>> 
>> exten => _9XXXXXXX,n,Dial(SIP/SIP-Provider/${dialnumber},80)
>> 
>> not having success; 
>> 
>> "Got SIP reponse 503" Service Unavailable”

Can you send us the console output when you make the call?

--
Cheers,

Matt Riddell
_______________________________________________

http://www.venturevoip.com/news.php (Daily Asterisk News)
http://www.venturevoip.com/pabx_on_disk.php (PABX on a Disk)
http://www.venturevoip.com/exchange.php (Full ITSP Solution)
http://www.venturevoip.com/cc.php (Call Centre Solutions)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150427/3ab9bb71/attachment.html>


More information about the asterisk-users mailing list