From: "Rizwan Hisham" <[EMAIL PROTECTED]>
Date: Sat, 31 Mar 2007 17:01:51 +0500
[inbound-sip]
exten => uxbod,1,Dial(sip/1001,20,jt)
exten => uxbod,n,Hangup
exten => uxbod,102,PlayBack(uxbod)
exten => uxbod,103,VoiceMail([EMAIL PROTECTED],s)
exten => uxbod,104,Hangup()
here if dial fails then n+101 =102 extension will get executed unless you
use j option in dial application and priority jumping has to be set to
priorityjumping=yes in the general section of your extensions.conf file.
In your dialplan i dont know y you r forcing the caller to goto voicemail
even if the call has already answered. I hope you understand my
modification in your dialplan.
On 3/31/07, --[ UxBoD ]-- <[EMAIL PROTECTED]> wrote:
Hi,
I am attempting to change my dialplan to use 'n' priorities and labels
for easier reading, and less re-numbering :) but how do you handle the
plus 101 ? In my extensions.conf I have a simple plan for testing :-
There is a simpler way, by using label.
[inbound-sip]
exten => uxbod(ntest),1,Dial(sip/1001,20,t)
exten => uxbod,n,PlayBack(uxbod)
exten => uxbod,n,Hangup()
exten => uxbod,ntest+101,PlayBack(uxbod)
exten => uxbod,n,VoiceMail([EMAIL PROTECTED],s)
exten => uxbod,n,Hangup()
Yuan Liu
[inbound-sip]
exten => uxbod,1,Dial(sip/1001,20,t)
exten => uxbod,n,PlayBack(uxbod)
exten => uxbod,n,VoiceMail([EMAIL PROTECTED],s)
exten => uxbod,n,Hangup()
exten => uxbod,103,PlayBack(uxbod)
exten => uxbod,104,VoiceMail([EMAIL PROTECTED],s)
exten => uxbod,105,Hangup()
So when the extension has to add 101 do I just do n+101 ?
TIA
--
This message has been scanned for viruses and dangerous content by
MailScanner, and is
believed to be clean.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
--
Regards
Rizwan Hisham
Software Engineer
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users