Displaying 20 results from an estimated 6000 matches similar to: "DIALSTATUS variable and qualify=no"
2007 Aug 03
2
DIALSTATUS not set
I'm trying to write a dialplan that will allow me to "stress" test it. I
want to be able to dial an extension, or pretend that the extension is
busy or out of order (so that I can see what to do)
given the dialplan snippet:
[outbound]
exten => _X.,1,NoOp(${TEST})
exten => _X.,n,Dial(SIP/${EXTEN})
exten => Busy,1,Busy(2)
exten => Busy,n,Hangup()
exten =>
2013 May 05
1
GotoIf DIALSTATUS - not working
What am I doing wrong?
Goif dialstatus: busy CONGESTION not working.
exten => _7NXXXXXX,1,Dial(SIP/7780${EXTEN:1}@pstn-5665,60,tr)
exten => _7NXXXXXX,n,GotoIf($[$["${DIALSTATUS}" = "BUSY"] | $["${DIALSTATUS}" = "CONGESTION"]]?line2)
exten => _7NXXXXXX,n(line2),Dial(SIP/9780${EXTEN:1}@pstn-1270,60,tr)
exten => _7NXXXXXX,n,Hangup()
When I try to
2018 Mar 14
2
DIALSTATUS vs HANGUPCAUSE
Thanks Dovid!
Indeed looks a bug but regardless of this, this problem made me think that
the HANGUPCAUSE could be used for this purpose with benefits.
I couldn't find an explanation about when DIALSTATUS would actually be
better.
The HANGUPCAUSE was reworked in version 11 (
https://wiki.asterisk.org/wiki/display/AST/Hangup+Cause) but I didn't find
someone actually stating it is a better
2018 Mar 14
2
DIALSTATUS vs HANGUPCAUSE
Hello list,
Hope all doing well!
I've been checking some cases when a Dial fails and dialplan execution
continues to handle this. I am finding it a little confusing how we should
handle the DIALSTATUS and the HANGUPCAUSE in this situation....
More specifically, I am facing a case in version 13.6.0 where I am getting
a DIALSTATUS=BUSY and HANGUPCAUSE=19 after receiving a 480 SIP error. Seems
2007 Feb 07
4
s-${DIALSTATUS} extensions
In examples, s-${DIALSTATUS} is used to handle unsuccessful dial attempts in
the s extension. Goto() is used in examples. Is the prefix "s-" mandatory?
Is it related to the original extension "s"? (Apparently Goto(${DIALSTATUS})
won't work for me.)
Yuan Liu
2011 Aug 14
1
1.6.2.20 ${DIALSTATUS} disagrees with CDR(answered)
I am having a problem with ${DIALSTATUS} and )=CDR(disposition) disagreeing. Below is a dialplan snippet and the resulting CLI output. This is running in an 'h' extension.
Noop(DIALSTATUS=${DIALSTATUS})
Noop(CDR(disposition)=${CDR(disposition)})
-- Executing [h at pbxmax-dial-simple:1] NoOp("SIP/msx_01-0000005b", "DIALSTATUS=ANSWER") in new stack
2009 May 20
1
Macro with DIALSTATUS
Hi,
I am trying to pass DIALSTATUS to a Macro so that i can set a
variable when a call is placed (call is placed via a call file to
another extension first). Basically i don't want to dial a number
where a call is already bridged and thats why i am setting a variable.
[macro-afterdial];
exten => s,1,Goto(s-${ARG1},1)
exten => s-ANSWER,1,SetGlobalVar(NUM${ARG2} = "ACTIVE")
2004 Dec 03
2
DIALSTATUS weirdness (CHANUNAVAIL instead of BUSY, NOANSWER instead of CHANUNAVAIL)
Just throwing this out here, hopefully someone can tell me why.
*CLI> show version
Asterisk CVS-HEAD-11/17/04-10:16:38 built by root@wanderer on a i686 running
Linux
Zap/g1 is pri_cpe to Bell Canada
5551234 is a normal POTS line I have busied out (handset offhook)
exten => 1234,1,Dial(Zap/g1/5551234,,g)
exten => 1234,n,NoOp(HANGUPCAUSE is ${HANGUPCAUSE} and DIALSTATUS is
2009 Jun 12
2
Current possible values for DIALSTATUS?
Hi,
As of v 1.6.1.1, can anyone tell me what the current possible values for
DIALSTATUS could be? I found
http://www.voip-info.org/wiki/view/Asterisk+variable+DIALSTATUS but believe
it is outdated since there is no FAIL or FAILED in this list.
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2008 Mar 10
2
dialstatus and cancelled calls
According to
http://www.voip-info.org/wiki-Asterisk+variable+DIALSTATUS
when a caller hangs up before the callee has time to
pick the phone up then DIALSTATUS should be CANCEL.
And it is.
However, the disposition field in the CDR table is "NO
ANSWER".
So if I analyze the CDR data I won't be able to
discriminate calls cancelled by the caller and calls
not answered by the callee
2009 Jun 03
1
Using DIALSTATUS question
Hi all,
I am trying to make decisions in my dialplan based on {DIALSTATUS}. I am
creating calls using AMI (rawman with parameters via URL) with
action:Originate. I am using SIP and an outside voip provider for the calls.
If I define the number to call in the Channel parameter (e.g.
SIP/15555555555 at myvoipprovider, the call gets placed before entering the
context that I defined. I understand
2006 Apr 07
2
DIALSTATUS for Multiple Dialled Numbers
Folks,
When I have a dial string like this:
Dial(SIP/3254101&SIP/3254102,20,tr)
and I want to check the ${DIALSTATUS} variable after the dial, how do I know which number I am getting the variable for?
And, what about this?
Dial(SIP/3254101&SIP/3254102@proxy1,20,tr)
What happens in that case? How can I get the ${DIALSTATUS} variable for EACH NUMBER dialled?
Thanks,
Doug.
2010 Jun 29
1
transfering active call to user's voicemail
Hi there,
I would like to setup up my Asterisk to do this:
receptionist answers the call, caller says he wants to leave a
voicemail message for Ashleigh, receptionist transfers the call to
Ashleigh's voicemail
I guess It has something to do with dynamic features, or probably
blind transfer to special ext. might do it
what would you recommend?
cheers!
2009 Jan 27
1
dialstatus through a call file
Hello,
Is it possible to retrieve the DIALSTATUS variable when placing call through
a call file. This variable is set when using the Dial() application from
the dialplan, but I am using a call file for my current application and need
to get the dialstatus.
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Feb 28
3
Capturing DIALSTATUS on a PARTICULAR channel if multiple-dialling?
Using 1.0.9:
If I have:
exten => s,1,Dial(SIP/5555&SIP/12345@192.168.1.1)
How can I return the DIALSTATUS variable for the second SIP channel ONLY if
the second SIP channel is busy, regardless of the dialstatus of the first
SIP channel? What I want is, if the second SIP channel is busy go to n+1 or
n+101 regardless of the status of the first SIP channel.
tia
2014 Mar 28
1
AMD with analog lines - DIALSTATUS empty
Hello,
I would like to use AMD on outgoing calls using analog line. I tested
with SPA3102 and cisco2811 as gw and asterisk 1.8.26.1 as well as 11.8.1
Other end is analog number behind another cisco/asterisk, also tested
calling a mobile number with the same result.
What I did: dial is done like exten => s,n,Dial(SIP/<IP gw>/<dialed
number>,,M(myMacro)), which tell Asterisk to
2009 Nov 01
2
Dialstatus
I can not seem to get dial status to work,
in sip.conf I have: qualify=yes
simple plan:
exten => 51,1,Dial(SIP/11,20,r)
exten => 51,n,Goto(s-${DIALSTATUS},1)
exten => s-Busy,1,Hangup()
exten => s-Answer,1,Macro(atb)
I'm dialing from exten.11 to exten.11 so I get busy signal and the channel should hangup but it doesn't
How to print/display dialstatus? I'm using ATA
--
2005 Aug 28
1
DIALSTATUS for Originate
Hi all,
I am from India and has been recently using asterisk for testing and enahncing my telephony knowledge. I am trying to use the originate Command from the Asterisk manager on both SIP and ZAP. The command works successfully but does not return any DIALSTATUS such as BUSY,ANSWER,NOANSWER as in case of command DIAL when used from the dial plan. Can some one guide me how to get the vaue of
2004 Dec 04
1
more DIALSTATUS/HANGUPSTATUS woes with IAX2
Phone - TDM430P - home* - IAX2 - office* - PRI - Telco
I dial a busy number from the Phone.
Home* shows this in the CLI:
-- Executing Macro("Zap/1-1", "dial-wu|2922004") in new stack
-- Executing Dial("Zap/1-1", "IAX2/andrew@wu-ast/2922004||g") in new stack
-- Called andrew@wu-ast/2922004
-- Call accepted by wu-ast (format gsm)
--
2005 Sep 15
3
${DIALSTATUS} problems
Hi.
I'm dialling two numbers - one that's unobtainable, one that's busy.
${DIALSTATUS} is coming back ANSWER each time right before the channels hang
up.
Am using the following dialplan macro to dial out.
[macro-advdial]
exten => s,1,Dial(${ARG1},20,g) ; Ring the interface, 20 seconds maximum
exten => s,2,Goto(s-${DIALSTATUS},1) ; Jump based on status