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 :- [inbound-sip] exten => uxbod,1,Dial(sip/1001,20,t) exten => uxbod,n,PlayBack(uxbod) exten => uxbod,n,VoiceMail(1001@voicemail,s) exten => uxbod,n,Hangup() exten => uxbod,103,PlayBack(uxbod) exten => uxbod,104,VoiceMail(1001@voicemail,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.
[inbound-sip] exten => uxbod,1,Dial(sip/1001,20,jt) exten => uxbod,n,Hangup exten => uxbod,102,PlayBack(uxbod) exten => uxbod,103,VoiceMail(1001@voicemail,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 ]-- <uxbod@splatnix.net> 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 :- > > [inbound-sip] > exten => uxbod,1,Dial(sip/1001,20,t) > exten => uxbod,n,PlayBack(uxbod) > exten => uxbod,n,VoiceMail(1001@voicemail,s) > exten => uxbod,n,Hangup() > exten => uxbod,103,PlayBack(uxbod) > exten => uxbod,104,VoiceMail(1001@voicemail,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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070331/04d5db81/attachment.htm
also only priorities are added incase of priority jumping, not extensions. On 3/31/07, --[ UxBoD ]-- <uxbod@splatnix.net> 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 :- > > [inbound-sip] > exten => uxbod,1,Dial(sip/1001,20,t) > exten => uxbod,n,PlayBack(uxbod) > exten => uxbod,n,VoiceMail(1001@voicemail,s) > exten => uxbod,n,Hangup() > exten => uxbod,103,PlayBack(uxbod) > exten => uxbod,104,VoiceMail(1001@voicemail,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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070331/cc5b5f20/attachment.htm