[asterisk-users] Question on Priorities

--[ UxBoD ]-- uxbod at splatnix.net
Sun Apr 1 02:13:31 MST 2007


Okay, I have changed it too :-

[inbound-sip]
exten => uxbod(u1),1,Dial(sip/1001,20,t)
exten => uxbod,n,PlayBack(uxbod)
exten => uxbod,n,Hangup()
exten => uxbod,u1+101,PlayBack(uxbod)
exten => uxbod,n,VoiceMail(1001 at voicemail,s)
exten => uxbod,n,Hangup()

but when I do a extensions reload I get :-

[Apr  1 10:12:14] WARNING[20191]: pbx_config.c:2256 pbx_load_config:
Invalid priority/label 'u1' at line 75

On Sat, 31 Mar 2007 23:32:45 -0700
"Yuan LIU" <yliu11 at hotmail.com> wrote:

> >From: "Rizwan Hisham" <rizwanhasham at gmail.com>
> >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(1001 at 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 at 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 :-
> 
> 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(1001 at voicemail,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(1001 at voicemail,s)
> >>exten => uxbod,n,Hangup()
> >>exten => uxbod,103,PlayBack(uxbod)
> >>exten => uxbod,104,VoiceMail(1001 at 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
> 
> 
> >_______________________________________________
> >--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
> 

-- 
This message has been scanned for viruses and dangerous content by MailScanner, and is
believed to be clean.



More information about the asterisk-users mailing list