[asterisk-users] priorityjumping - asterisk 1.8
Eric Wieling
EWieling at nyigc.com
Fri Apr 13 14:37:41 CDT 2012
It was never valid.
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Danny Nicholas
Sent: Friday, April 13, 2012 3:36 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] priorityjumping - asterisk 1.8
<CRINGE>
Is this still "valid"? I don't work with 1.8, just 10.X.
exten => 1,1,Dial(${FD_L1},25,trw)
exten => 1,n,Dial(${FD_L2},20,trw)
exten => 1,n-BUSY,voicemail(4)
exten => 1,n-BUSY,hangup()
</CRINGE>
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Chad Wallace
Sent: Friday, April 13, 2012 2:31 PM
To: asterisk-users at lists.digium.com
Subject: Re: [asterisk-users] priorityjumping - asterisk 1.8
On Fri, 13 Apr 2012 10:53:43 -0600
Joseph <syscon780 at gmail.com> 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
--
_____________________________________________________________________
-- 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
More information about the asterisk-users
mailing list