[asterisk-users] BUSY vs. CONGESTION

Eric Wieling EWieling at nyigc.com
Wed Apr 18 11:16:33 CDT 2012


No, if you are dialing to a TN which is in use you get a BUSY, except on FXO signaled ports which are always considered ANSSWERED when the PBX finishes dialing.  

 If you are trying to dial out via a LINE which is in use, you would likely get a CONTESTION.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Danny Nicholas
Sent: Wednesday, April 18, 2012 12:12 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] BUSY vs. CONGESTION

If you are dialing out on an in-use line, you should get the Congested message.  Of course you could put the CHANAVAIL command ahead of dial to avoid this.
Question two - Goto is a straight jump, gotoif jumps on a condition.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Joseph
Sent: Friday, April 13, 2012 7:34 PM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] BUSY vs. CONGESTION

I have two lines, fax & voice. 
I usually call out on fax line (to have voice line available)

I need to set the dial line based on dial-status.  When I try to call out on fax line and it is receiving a fax will I get a BUSY or CONGESTION signal?

What is the difference in dial plan condition: "goto" and "gotoif"

exten => 1,1,Dial(SIP/7780${EXTEN}@pstn-9998,60,tr)
exten => 1,2,Goto(1-${DIALSTATUS},1)
exten => 1-BUSY,1,Dial(SIP/9780${EXTEN}@pstn-4444,60,tr)
exten => 1-CONGESTION,1,Dial(SIP/9780${EXTEN}@pstn-4444,60,tr)

vs.

exten => 1,1,Dial(SIP/7780${EXTEN}@pstn-9998,60,tr)
exten => 1,n,GotoIf($["${DIALSTATUS}"="BUSY"]?line2)
exten => 1,n,GotoIf($["${DIALSTATUS}"="CONGESTION"]?line2)
exten => 1-n(line2),1,Dial(SIP/9780${EXTEN}@pstn-4444,60,tr)

--
Joseph

--
_____________________________________________________________________
-- 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