[Asterisk-Users] Should this work?

Matt Riddell matt.riddell at sineapps.com
Mon Jul 25 17:23:37 MST 2005


Kristof Hardy wrote:
> Angus Comber wrote:
> 
>> ; for dialing outbound - over ISDN line - this bit does not work
>> exten => _9XX.,2,Dial(ZAP/g1/${EXTEN},60)
> You should rewrite the calling rule so that the 'outgoing' extension is 
> not "ZAP/g1/902088787367|60" but "ZAP/g1/02088787367|60". The 9 should 
> only be used to 'indicate an outgoing line'. Samples can be found on the 
> wiki. I'm not 100% sure how to rewrite it so best check voip-info.org.

That would be the changing of the line:

exten => _9XX.,2,Dial(ZAP/g1/${EXTEN},60)

to this:

exten => _9XX.,2,Dial(ZAP/g1/${EXTEN:1},60)

-- 
Cheers,

Matt Riddell
_______________________________________________

http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)



More information about the asterisk-users mailing list