[asterisk-users] priorityjumping - asterisk 1.8
Joseph
syscon780 at gmail.com
Fri Apr 13 12:59:01 CDT 2012
Thank you for updating me. I'm few version behind and need a speedy solution :-)
I found an example:
; See if line 2 is available. If not, try line 1.
exten => s,1,ChanIsAvail(Zap/2&Zap/1)
${AVAILCHAN} might now contain the value
Zap/2-1
; We need to strip off the session ID and Dial '12345678' at Zap/2
exten => s,2,Dial(${CUT(AVAILCHAN||1)}/12345678)
exten => s,3,Hangup
I don't get the part "strip off the session ID and Dial '12345678'" where is the 12345678 coming from?
In my case I think it would be:
exten => 1,1,ChanIsAvail(${FD_L1&${FD_L2})
exten => 1,2,Dial(${CUT(AVAILCHAN||1)})
exten => 1,3,Voicemail(4)
exten => 1,4,Hangup()
--
Joseph
On 04/13/12 13:20, Eric Wieling wrote:
>Priority jumping still works in 1.4. Generally things are removed 2 releases after they are deprecated. Deprecated in 1.2, still works in 1.4, removed in 1.6.1, assuming this has followed the standard policy.
>
>Priority jumping was replaced by applications setting channel variables and with labels. You should pick up the latest Asterisk book to learn the massive number of things which have changed since 1.4.
>
More information about the asterisk-users
mailing list