similar to: DIALSTATUS weirdness (CHANUNAVAIL instead of BUSY, NOANSWER instead of CHANUNAVAIL)

Displaying 20 results from an estimated 2000 matches similar to: "DIALSTATUS weirdness (CHANUNAVAIL instead of BUSY, NOANSWER instead of CHANUNAVAIL)"

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
2009 Jun 20
1
PRI cause codes
I am trying to retrieve the cause code of a outgoing call over a PRI where the number called is out of service. When an out service number is called I get a recording that the number dialed is not a working number. I see cause code 1 in in the CLI as soon as the call is dialed the Telco recording goes on for 30 sec. then hangs up. Any idea on how retrieve info that the called number is is
2009 Aug 13
1
Autofallthrough delays before hanging up calling channel?
I am seeing some curious behaviour with a 1.2.32 system, which I do not understand and so can't work out how to fix it. I have a PRI routed to context default. Here is the complete default context: [default] exten => _9X.,1,Dial(IAX2/m1peer/${EXTEN:1}) exten => _20XX,1,Dial(IAX2/sipeer/${EXTEN}) exten => _X.,1,Dial(IAX2/m1peer/${EXTEN}) exten =>
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) --
2014 Apr 09
2
I can't make outbound calls (status is 'CHANUNAVAIL')
Hello: I have this situation: I can make calls internally, I can make inbound calls but I can't make outbound calls. Thanks in advance. These are my devices: * asterisk 11.8.1 = 192.168.1.22 * sipphone grandstream gxp2160 = 192.168.1.5 * gateway audiocodes mp-114 2fxs-2fxo = 192.168.1.4 port 1 (FXS) connected to an analog phone port 3 (FXO) connected to the PSTN These are my
2005 Jan 21
0
Manager API on gives the DIALSTATUS of the first picked up channel?
Hi All! Let me explain the problem. When using the Originate? command from the manager api, the dialstatus variable returns results? for whichever phone picks up first, and in this case it is the IAX/2? connection. It doesn't matter if Zap/G2/XXXXXXX is set as the channel,? or an extension either. What I am ultimately trying to do is get the? dialstatus of the Zap/X/XXXXXXX channel, i.e.,
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
2013 Apr 01
0
Getting DIALSTATUS via agi
Hi all, Hopefully, I just need a second set of eyes on this one, but I just can't figure out what I'm doing wrong. I'm using an agi script to dial a number, check the dial result, and act accordingly. The problem is that I'm not getting anything back from DIALSTATUS, or HANGUPCAUSE. Here is the relevant perl code: ===============================================================
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 =>
2005 Jan 21
0
Help DIALSTATUS gives ANSWER when line is BUSY?
I'm running Asterisk CVS-v1-0-12/20/04. I'm using PHP with Manager API Here is the code: #################################################################### # Make call #################################################################### $socket = fsockopen($ask_db,"5038", $errno, $errstr, $timeout); if (!$socket) { echo "$errstr ($errno)<br /\n"; } else {
2009 Jun 23
0
PRI cause code discrepancy
Steve Casto escribi?: >/ I am trying to retrieve the cause code of a outgoing call over a PRI />/ where the number called is out of service. When an out service number is />/ called I get a recording that the number dialed is not a working />/ number. I see cause code 1 in in the CLI as soon as the call is dialed />/ the Telco recording goes on for 30 sec. then hangs up. Any
2010 Sep 23
1
Net2Phone SIP trunk problem
Dear, I have this scenario: - PBX Asterisk 1.6.2.10 with private IP 192.168.0.10 - Behind a Cisco ASA firewall that connects to Internet - SIP trunk to Net2Phone with these parameters (nat=no): host=200.58.113.60 username=DOLLY secret=123456 port=5060 type=peer dtmfmode=rfc2833 disallow=all allow=alaw&ulaw nat=no canreinvite=no qualify=yes -Softphones Xlite The PBX can't register to
2015 Feb 27
1
603 Declined > Dialstatus Busy
Hello Everyone. In my outbound contexts, I'm using "${DIALSTATUS}" to fail over to other routes if the chosen route rejects the call. Now, My current scenario is if I get "BUSY" back from the first provider, I send a busy back to my customer. If I get something like CHANUNAVAIL (Like a SIP 503) I advance to the next carrier and attempt the call. This works
2008 Feb 29
1
Can call in but cannot call out (CHANUNAVAIL): TE410 + Asterisk 1.4.13 + Zaptel 1.4.6 + Libpri 1.4.2
I encountered this strange problem which is I can call into Asterisk box but I cannot call out. I was successful before using exactly the same euroISDN line but with TE110 and different versions of Asterisk. This time, I am using: . TE410 . Asterisk 1.4.13 . Zaptel 1.4.6 . Libpri 1.4.2 1) I put the following into extensions.conf to get to the outside line exten => 0,1,Dial(Zap/1) 2)
2004 Oct 07
1
T100P Pri Audio
I've been working on an asterisk box at work for a few weeks now, things were finally starting to sail smoothly until I hit this head scratcher this morning. It's a rather intricate problem, so bear with me. Heres the scenario. What works: If I call from my sip phone -> sip phone everythings ok If I call from sip phone -> external pots number ok as well If I map one of our
2007 Mar 15
0
Re: busy/hangup/answer detection in PRI E1 channels (Vidura Senadeera)
> Hi Gareth Blades & Doug, > > Thanks so much for for the feedback. I have searched on lot of documents > but couldn't able to find clear answer regarding it. > > I hope you guys replies are very much help all in aterisk community. > > > Thanks & Regards, > > Vidura Senadeera, > > Network Engineer, > > Debug Solutions > > Sri Lanka .
2009 Jun 29
0
FW: re: Asterisk Outbound with Failover, alarm notification, dial status and hangupcause capturing to CDR from Dialplan
Managed to implement this on asterisk v1.4.24.1, Also, Hangupcause updating to user field. However, this only works on the edge of my voice network (demarcation point) It does not work on my internal routing boxes as I use IAX to route between remote sites. I was thinking of using some sort of SIP variables to transport these results over the IAX trunk.. Any bright ideas folks???
2008 Feb 15
0
Question about DIALSTATUS NOANSWER
Hi, according to the wiki the value NOANSWER for the channel variable DIALSTATUS means: No answer. The dial command reached its number, the number rang for too long, then the dial timed out. In out dialplan we grap all these events with exten => s-NOANSWER,1,Playback(sometext) exten => s-NOANSWER,2,WAIT(1) exten => s-NOANSWER,3,Hangup() The dial commands for internal and external
2008 Jan 26
1
CHANUNAVAIL
I've got a setup where we have 100 DID's. Our default dialplan has one line that calls a macro: exten => _22XX,1,Macro(STDEXT,${EXTEN}) The macro is pretty basic: [macro-STDEXT] exten => s,1,NoOp exten => s,2,Dial(SIP/${ARG1},15,Tt) exten => s,3,Goto(s-${DIALSTATUS},1) exten => s-NOANSWER,1,Voicemail(${ARG1}|u) exten => s-NOANSWER,n,Hangup exten =>