this code worked for me,

here is what I did and worked for me:

exten => 1381+NXXXXXX,1,Set(CALLERID(number)=3817383444)

exten => 1+NXXNXXXXXX,2,Dial(SIP/SIP-Provider/${EXTEN:1},80)


Thanks for you help!

On 04/27/2015 02:56 PM, Matt Riddell wrote:

On 27Apr, 2015, at 16:39, Motty Cruz <[email protected] <mailto:[email protected]>> 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)




-- 
_____________________________________________________________________
-- 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

Reply via email to