On Fri, 13 Apr 2012 10:53:43 -0600
Joseph <[email protected]> wrote:
> I'm trying asterisk 1.8 (coming from 1.4) and it seems to me
> "priorityjumping" is not working.
>
> In extension.conf I have:
> priorityjumping=yes
>
> exten => 1,1,Dial(${FD_L1},25,jtrw)
> exten => 1,102,Dial(${FD_L2},20,trw)
> exten => 1,103,Voicemail(4)
> exten => 1,104,Hangup()
> exten => 1,2,Voicemail(4) ; Right to voicemail
> exten => 1,3,Hangup()
>
> When line one is busy and second call is coming IN it goes to voice
> mail.
I believe you'd use GotoIf and the DIALSTATUS variable now instead of
jumping.
exten => 1,1,Dial(${FD_L1},25,trw)
exten => 1,n,GotoIf($["${DIALSTATUS}"="BUSY"]?line2:voicemail)
exten => 1,n(line2),Dial(${FD_L2},20,trw)
exten => 1,n(voicemail),Voicemail(4)
exten => 1,n,Hangup()
--
C. Chad Wallace, B.Sc.
The Lodging Company
http://www.lodgingcompany.com/
OpenPGP Public Key ID: 0x262208A0
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users