[asterisk-bugs] [Asterisk 0015367]: Call failed to go through, [...] instead of excuting next extension
Asterisk Bug Tracker
noreply at bugs.digium.com
Sat Jun 20 15:15:02 CDT 2009
The following issue has been SUBMITTED.
======================================================================
https://issues.asterisk.org/view.php?id=15367
======================================================================
Reported By: kowalma
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 15367
Category: Applications/app_dial
Reproducibility: always
Severity: major
Priority: normal
Status: new
Asterisk Version: 1.6.1.1
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2009-06-20 15:15 CDT
Last Modified: 2009-06-20 15:15 CDT
======================================================================
Summary: Call failed to go through, [...] instead of excuting
next extension
Description:
I'm testing new version of my dialplan and I think I've found a bug.
I'm trying to dial GSM gateway and when it's unrechable (ie connection
down) dialplan execution ends insead going into next extension:
-- Executing [12501522511 at gsm_out:16]
Dial("Local/0110000100000619501522511 at ccig-223e;2",
"sip/192.168.0.20/12501522511,60,g") in new stack
== Using SIP RTP CoS mark 5
-- Called 192.168.0.20/12501522511
[Jun 20 22:02:23] NOTICE[14643]: pbx_spool.c:338 attempt_thread: Call
failed to go through, reason (0) Call Failure (not BUSY, and not NO_ANSWER,
maybe Circuit busy or down?)
[Jun 20 22:02:23] NOTICE[14643]: pbx_spool.c:338 attempt_thread: Call
failed to go through, reason (0) Call Failure (not BUSY, and not NO_ANSWER,
maybe Circuit busy or down?)
== Spawn extension (gsm_out, 12501522511, 16) exited non-zero on
'Local/0110000100000619501522511 at ccig-223e;2'
-- Executing [h at gsm_out:1]
Hangup("Local/0110000100000619501522511 at ccig-223e;2", "") in new stack
== Spawn extension (gsm_out, h, 1) exited non-zero on
'Local/0110000100000619501522511 at ccig-223e;2'
[Jun 20 22:02:23] ERROR[13916]: pbx.c:8618 device_state_cb: Received
invalid event that had no device IE
[Jun 20 22:02:23] ERROR[13916]: pbx.c:8618 device_state_cb: Received
invalid event that had no device IE
[Jun 20 22:02:23] ERROR[13916]: app_queue.c:810 device_state_cb: Received
invalid event that had no device IE
[Jun 20 22:02:23] ERROR[13916]: app_queue.c:810 device_state_cb: Received
invalid event that had no device IE
Asterisk-node1*CLI>
I did ngrep to see packets send to SIP-gateway:
#
U 192.168.9.4:5060 -> 192.168.0.20:5060
INVITE sip:12501522511 at 192.168.0.20 SIP/2.0..Via: SIP/2.0/UDP
192.168.9.4:5060;branch=z9hG4bK7040e375;rport..Max-Forwar
ds: 70..From: "test" <sip:asterisk at 192.168.9.4>;tag=as6e80ded9..To:
<sip:12501522511 at 192.168.0.20>..Contact: <sip:aster
isk at 192.168.9.4>..Call-ID:
7f6d0da417fea26b4a76de2977932fd6 at 192.168.9.4..CSeq: 102 INVITE..User-Agent:
Asterisk PBX 1.6
.1.1..Date: Sat, 20 Jun 2009 20:10:16 GMT..Allow: INVITE, ACK, CANCEL,
OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY..Supporte
d: replaces, timer..Content-Type: application/sdp..Content-Length:
306....v=0..o=root 592439500 592439500 IN IP4 192.16
8.9.4..s=Asterisk PBX 1.6.1.1..c=IN IP4 192.168.9.4..t=0 0..m=audio
19010 RTP/AVP 0 8 3 101..a=rtpmap:0 PCMU/8000..a=rt
pmap:8 PCMA/8000..a=rtpmap:3 GSM/8000..a=rtpmap:101
telephone-event/8000..a=fmtp:101 0-16..a=silenceSupp:off - - - -..a
=ptime:20..a=sendrecv..
#
U 192.168.9.4:5060 -> 192.168.0.20:5060
INVITE sip:12501522511 at 192.168.0.20 SIP/2.0..Via: SIP/2.0/UDP
192.168.9.4:5060;branch=z9hG4bK7040e375;rport..Max-Forwar
ds: 70..From: "test" <sip:asterisk at 192.168.9.4>;tag=as6e80ded9..To:
<sip:12501522511 at 192.168.0.20>..Contact: <sip:aster
isk at 192.168.9.4>..Call-ID:
7f6d0da417fea26b4a76de2977932fd6 at 192.168.9.4..CSeq: 102 INVITE..User-Agent:
Asterisk PBX 1.6
.1.1..Date: Sat, 20 Jun 2009 20:10:16 GMT..Allow: INVITE, ACK, CANCEL,
OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY..Supporte
d: replaces, timer..Content-Type: application/sdp..Content-Length:
306....v=0..o=root 592439500 592439500 IN IP4 192.16
8.9.4..s=Asterisk PBX 1.6.1.1..c=IN IP4 192.168.9.4..t=0 0..m=audio
19010 RTP/AVP 0 8 3 101..a=rtpmap:0 PCMU/8000..a=rt
pmap:8 PCMA/8000..a=rtpmap:3 GSM/8000..a=rtpmap:101
telephone-event/8000..a=fmtp:101 0-16..a=silenceSupp:off - - - -..a
=ptime:20..a=sendrecv..
#
U 192.168.9.4:5060 -> 192.168.0.20:5060
INVITE sip:12501522511 at 192.168.0.20 SIP/2.0..Via: SIP/2.0/UDP
192.168.9.4:5060;branch=z9hG4bK7040e375;rport..Max-Forwar
ds: 70..From: "test" <sip:asterisk at 192.168.9.4>;tag=as6e80ded9..To:
<sip:12501522511 at 192.168.0.20>..Contact: <sip:aster
isk at 192.168.9.4>..Call-ID:
7f6d0da417fea26b4a76de2977932fd6 at 192.168.9.4..CSeq: 102 INVITE..User-Agent:
Asterisk PBX 1.6
.1.1..Date: Sat, 20 Jun 2009 20:10:16 GMT..Allow: INVITE, ACK, CANCEL,
OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY..Supporte
d: replaces, timer..Content-Type: application/sdp..Content-Length:
306....v=0..o=root 592439500 592439500 IN IP4 192.16
8.9.4..s=Asterisk PBX 1.6.1.1..c=IN IP4 192.168.9.4..t=0 0..m=audio
19010 RTP/AVP 0 8 3 101..a=rtpmap:0 PCMU/8000..a=rt
pmap:8 PCMA/8000..a=rtpmap:3 GSM/8000..a=rtpmap:101
telephone-event/8000..a=fmtp:101 0-16..a=silenceSupp:off - - - -..a
=ptime:20..a=sendrecv..
#
U 192.168.9.4:5060 -> 192.168.0.20:5060
INVITE sip:12501522511 at 192.168.0.20 SIP/2.0..Via: SIP/2.0/UDP
192.168.9.4:5060;branch=z9hG4bK7040e375;rport..Max-Forwar
ds: 70..From: "test" <sip:asterisk at 192.168.9.4>;tag=as6e80ded9..To:
<sip:12501522511 at 192.168.0.20>..Contact: <sip:aster
isk at 192.168.9.4>..Call-ID:
7f6d0da417fea26b4a76de2977932fd6 at 192.168.9.4..CSeq: 102 INVITE..User-Agent:
Asterisk PBX 1.6
.1.1..Date: Sat, 20 Jun 2009 20:10:16 GMT..Allow: INVITE, ACK, CANCEL,
OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY..Supporte
d: replaces, timer..Content-Type: application/sdp..Content-Length:
306....v=0..o=root 592439500 592439500 IN IP4 192.16
8.9.4..s=Asterisk PBX 1.6.1.1..c=IN IP4 192.168.9.4..t=0 0..m=audio
19010 RTP/AVP 0 8 3 101..a=rtpmap:0 PCMU/8000..a=rt
pmap:8 PCMA/8000..a=rtpmap:3 GSM/8000..a=rtpmap:101
telephone-event/8000..a=fmtp:101 0-16..a=silenceSupp:off - - - -..a
=ptime:20..a=sendrecv..
#
U 192.168.9.4:5060 -> 192.168.0.20:5060
INVITE sip:12501522511 at 192.168.0.20 SIP/2.0..Via: SIP/2.0/UDP
192.168.9.4:5060;branch=z9hG4bK7040e375;rport..Max-Forwar
ds: 70..From: "test" <sip:asterisk at 192.168.9.4>;tag=as6e80ded9..To:
<sip:12501522511 at 192.168.0.20>..Contact: <sip:aster
isk at 192.168.9.4>..Call-ID:
7f6d0da417fea26b4a76de2977932fd6 at 192.168.9.4..CSeq: 102 INVITE..User-Agent:
Asterisk PBX 1.6
.1.1..Date: Sat, 20 Jun 2009 20:10:16 GMT..Allow: INVITE, ACK, CANCEL,
OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY..Supporte
d: replaces, timer..Content-Type: application/sdp..Content-Length:
306....v=0..o=root 592439500 592439500 IN IP4 192.16
8.9.4..s=Asterisk PBX 1.6.1.1..c=IN IP4 192.168.9.4..t=0 0..m=audio
19010 RTP/AVP 0 8 3 101..a=rtpmap:0 PCMU/8000..a=rt
pmap:8 PCMA/8000..a=rtpmap:3 GSM/8000..a=rtpmap:101
telephone-event/8000..a=fmtp:101 0-16..a=silenceSupp:off - - - -..a
=ptime:20..a=sendrecv..
and when GSM gateway won't send back declinded or sth else asterisk drops
connection but it should go to next priority ie to play prompt that
connection cannot be established or to reroute call via different gateway
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2009-06-20 15:15 kowalma New Issue
2009-06-20 15:15 kowalma Asterisk Version => 1.6.1.1
2009-06-20 15:15 kowalma Regression => No
2009-06-20 15:15 kowalma SVN Branch (only for SVN checkouts, not tarball
releases) => N/A
======================================================================
More information about the asterisk-bugs
mailing list