[Asterisk-Users] Should this work?

Kristof Hardy kristof.hardy at catsanddogs.com
Mon Jul 25 12:06:43 MST 2005


Angus Comber wrote:
> ; for dialing outbound - over ISDN line - this bit does not work
> exten => _9XX.,2,Dial(ZAP/g1/${EXTEN},60)
> exten => _9XX.,2,Hangup
> Error I get is:
>     -- Executing Dial("SIP/200-e433", "ZAP/g1/902088787367|60") in new stack
> Jul 25 11:56:33 NOTICE[6723]: app_dial.c:777 dial_exec: Unable to create 
> channel of type 'ZAP'
>   == Everyone is busy/congested at this time
>     -- Executing Hangup("SIP/200-e433", "") in new stack
>   == Spawn extension (default, 902088787367, 2) exited non-zero on 
> 'SIP/200-e433'

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.

Cheers,
Kristf.





More information about the asterisk-users mailing list