Displaying 20 results from an estimated 5000 matches similar to: "more DIALSTATUS/HANGUPSTATUS woes with IAX2"
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
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
2004 Dec 12
0
DIALSTATUS missing an important condition?
I have recently built my first asterisk system and am very impressed with
its capabilities.
However, I have run into one problem that hopefully someone can help me
with.
I am trying to use the DIALSTATUS function to route incoming calls to the
appropriate Voice Mail (busy or unavailable) or to an Unavailable Number
recording if the number is not assigned.
However, I find that DIALSTATUS
2004 Nov 20
1
IAX Dialstatus
Hello,
I've got some SIP clients, and an IAX2 long distance provider. Ideally,
when a the dialed number is busy I will hear a busy signal. Instead, I
get Congestion even though * knows it's busy. Is this a bug or am I
missing something?
The dial plan, in basically this
Dial(IAX2/user@provider/19995551234,,)
Goto(failedcall-${DIALSTATUS})
failedcall-CONGESTION plays congestion
2013 Jul 03
1
SIP. Call-limit dialstatus
Hi all. We have a problem with correct dialstatus and cdr(disposition) when
using call-limit. When call-limit reached dialstatus is CHANUNAVAIL and
CDR(disposition)='NO ANSWER'
-- Executing [0014 at sub_pbxdialco:49] Dial("SIP/1295-000001f8",
"SIP/0014,12,tTkK") in new stack
== Using SIP RTP CoS mark 5
[2013-07-03 15:22:27] NOTICE[29728]: chan_sip.c:6003
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
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.,
2007 May 16
0
Passing dialstatus back through an IAX chain ..
I feel I'm doing something obviously wrong here and will kick myself when I see
the answer!!!
The scenario:
SIP phone -> Asterisk1 -> IAX -> Asterisk2 -> IAX -> Asterisk3 -> PSTN
So I place a call from the SIP phone. A1 picks it up and forwards it to A2
which forwards it to A3. A3 sends the call to the PSTN. I control A1 and A2,
but not A3.
When a call fails (for
2004 Dec 07
7
Faxing..not 100%
Here is the setup:
POTS -> PRI -> Asterisk -> ATA (Fax)
The ATA is set to only 711. Asterisk's sip.conf sets this device to only
711. Yet, faxing works less than 50% of the time.
I cannot possibly be the only person with this problem. I can't even get
app_rxfax to work. It answers but rxfax drops the call 5 seconds into it.
If anyone out there has near 100% success with
2005 Feb 27
1
DIALSTATUS with X100P
I'm having an issue with my current configuration. I have a single
PSTN line connected to an X100P and a couple IAX trunks to NuFone and
VoipJet. When I make an outbound call it doesn't properly detect if
my PSTN line is in use with another call and then overflow to my
outbound IAX connections. I think the root cause is that DIALSTATUS
gets reported as BUSY instead of CHANUNAVAIL. I
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 {
2006 Jan 21
0
Dialstatus Oddity in 1.2
Hello all,
I am working on a creating some intelligent failover dial-plan
logic and I'm running into something that I'd like some feedback on.
Basically, it appears that if you place a call to an IAX2 peer that
refuses the connection, or is unavailable, a NOANSWER dialstatus is
returned.
Example:
-- Executing Macro("IAX2/cubix-19",
2005 Feb 12
0
Outbound calls on a busy Zap/1: BUSY vs. CHANUNAVAIL
Hi,
I'm using the macro below in extensions.conf for most of my outbound
calls. One issue with my current configuration is that when I make an
outbound call it doesn't properly detect that my PSTN line (Zap/1) is
busy with another call and then overflow to my outbound IAX
connections. I think the root cause is that DIALSTATUS gets reported
as BUSY. The debug output is below. My desired
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:
2009 Sep 22
2
Problem with dialplan -> gotoif ?
Hi
This is the output from show dialplan dial-sipmnf-sippt-pstn
[ Context 'dial-sipmnf-sippt-pstn' created by 'pbx_config' ]
's' => 1. Verbose(1,Dialing ${ARG1} on mnf pt pstn) [pbx_config]
2. Dial(SIP/${ARG1}@${SIPMNF},${ARG2},${OUTBDIAL}) [pbx_config]
3. Set(GLOBAL(FOUNDME)=${DIALSTATUS}) [pbx_config]
2004 Nov 30
0
No voice when I dial out
I can dial from 601 to a public number.
The public number rings. I pickup and hear nothing, while on 601 it keeps ringing.
(BTW, is it right to say "ringing" on the active phone?)
The *CLI> doesn't show me anything useful:
Executing Macro("SIP/601-8238", "dial-pstn|88097880|") in new stack
Executing SetGlobalVar("SIP/601-8238",
2006 Apr 25
1
CHANUNAVAIL, busy and congestion
Greetings to all,
I ma having a problem with channel variables on a couple of our Asterisk
boxes.
Here is the setup. Asterisk on customer's site (1.2.5), using IAX to our
external GW (1.2.5), IAX to PSTN GW (1.0.10), E1/PRI to PSTN.
On the External GW, we also have an IAX trunk to a VOIP provider if for some
reason the E1 is down. If the DIALSTATUS is CHANUNAVAIL, which should be
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
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
2004 Dec 01
0
extension and PSTN connection
I got two phones on an ATA-186 (601, 602) and two phones on the TDM22B
(603, 604). I have two lines on the TDM22B.
I cannot figure out some of the problems:
1. 601 dials via ZAP/3-1 to local phone number at PSTN:
ringing
pickup on PSTN (empty)
still ringing in the phone set 601
2. call from PSTN back:
601 picks up ... everything works !!!
No caller id shows up
3. For testing I have only one