[Asterisk-Users] dialplan experts needed

John Fraizer tvo at enterzone.net
Tue Jun 8 08:15:34 MST 2004


 > exten => 555,1,Dial(SIP/1000,30)
 > exten => 555,102,Dial(SIP/2000,30)
 > exten => 555,103,Dial(SIP/3000,30)
 > exten => 555,104,Voicemail2(u3278)
 > exten => 555,105,Hangup
 > exten => 555,2,VoiceMail2(u3278)
 > exten => 555,3,Hangup

...should be....

exten => 555,1,Dial(SIP/1000,30) ; Unanswered = 2, Busy = 102
exten => 555,2,VoiceMail2(u3278)
exten => 555,3,Hangup
exten => 555,102,Dial(SIP/2000,30) ; Unanswered = 103, Busy = 203
exten => 555,103,VoiceMail2(u3278)
exten => 555,104,Hangup
exten => 555,203,Dial(SIP/3000,30) ; Unanswered = 204, Busy = 304
exten => 555,204,Voicemail2(u3278)
exten => 555,205,Hangup
exten => 555,304,VoiceMail2(u3278)
exten => 555,305,Hangup


You just have to remember that BUSY or not-registered/not-available will 
goto +101 in the priority of the extension.  Unanswered will goto +1 in 
the priority of the extension.

John





More information about the asterisk-users mailing list