Re: [asterisk-users] Question on Priorities

2007-04-02 Thread Steve Murphy
On Sun, 2007-04-01 at 10:49 +0200, Philipp Kempgen wrote: Priority jumping is deprecated anyways. Better use something like Goto(s-${DIALSTATUS},1). See extensions.conf for examples. Regards, Philipp I totally agree! While you can get what you want with +101 jumping, I highly suggest

Re: [asterisk-users] Question on Priorities

2007-04-01 Thread Philipp Kempgen
Yuan LIU wrote: 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

Re: [asterisk-users] Question on Priorities

2007-04-01 Thread --[ UxBoD ]--
Cool. That is nice and clean :) Many thanks. On Sat, 31 Mar 2007 23:32:45 -0700 Yuan LIU [EMAIL PROTECTED] wrote: 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 =

Re: [asterisk-users] Question on Priorities

2007-04-01 Thread --[ UxBoD ]--
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([EMAIL PROTECTED],s) exten = uxbod,n,Hangup() but when I do a extensions reload I get :-

Re: [asterisk-users] Question on Priorities

2007-04-01 Thread Philipp Kempgen
--[ UxBoD ]-- wrote: [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([EMAIL PROTECTED],s) exten = uxbod,n,Hangup() but when I do a extensions reload I get :-

Re: [asterisk-users] Question on Priorities

2007-04-01 Thread --[ UxBoD ]--
Thank you - Got it now. Makes everything look a lot cleaner :) On Sun, 01 Apr 2007 11:58:20 +0200 Philipp Kempgen [EMAIL PROTECTED] wrote: --[ UxBoD ]-- wrote: [inbound-sip] exten = uxbod(u1),1,Dial(sip/1001,20,t) exten = uxbod,n,PlayBack(uxbod) exten = uxbod,n,Hangup() exten =

[asterisk-users] Question on Priorities

2007-03-31 Thread --[ UxBoD ]--
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)

Re: [asterisk-users] Question on Priorities

2007-03-31 Thread Rizwan Hisham
[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

Re: [asterisk-users] Question on Priorities

2007-03-31 Thread Rizwan Hisham
also only priorities are added incase of priority jumping, not extensions. 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

Re: [asterisk-users] Question on Priorities

2007-03-31 Thread Yuan LIU
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

[Asterisk-Users] question about priorities?

2005-12-08 Thread James Armstrong
I'm not sure if Priority is the correct term, but it is the order number as in exten = fax,1- If I have an application that loads / includes another file, will a line of the same order in the included file override the one in the main application? What I need to do is: [test] include