Asterisk sending BYE immediately after ACK for outgoing calls. I have no idea why that’s happening. Thanks in advance for help.
[code]INVITE sip:74852427787@10.226.20.130:5060 SIP/2.0
Via: SIP/2.0/UDP 172.16.120.5:5060;branch=z9hG4bK5901040c
Max-Forwards: 70
From: “666” sip:kis_97097@10.226.20.130;tag=as33683613
To: sip:74852427787@10.226.20.130:5060
Contact: sip:kis_97097@172.16.120.5:5060
Call-ID: 639064976734c25964559dd06d36cd5e@10.226.20.130
CSeq: 103 INVITE
User-Agent: Asterisk PBX 1.8.5.0
Proxy-Authorization: Digest username=“kis_97097”, realm=“Huawei”, algorithm=MD5, uri=“sip:74852427787@10.226.20.130:5060”, nonce=“15:53:58:41660”, response="6e8528661cd998ce9cc5c21a16e0a0f3"
Date: Thu, 03 Jul 2014 11:53:58 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 333
v=0
o=root 1043371746 1043371747 IN IP4 172.16.120.5
s=Asterisk PBX 1.8.5.0
c=IN IP4 172.16.120.5
t=0 0
m=audio 39580 RTP/AVP 8 18 3 101
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmt
<— SIP read from UDP:10.226.20.130:5060 —>
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 172.16.120.5:5060;branch=z9hG4bK5901040c
Call-ID: 639064976734c25964559dd06d36cd5e@10.226.20.130
From: "666"sip:kis_97097@10.226.20.130;tag=as33683613
To: sip:74852427787@10.226.20.130:5060
CSeq: 103 INVITE
Content-Length: 0
<------------->
— (7 headers 0 lines) —
<— SIP read from UDP:10.226.20.130:5060 —>
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 172.16.120.5:5060;branch=z9hG4bK5901040c
Call-ID: 639064976734c25964559dd06d36cd5e@10.226.20.130
From: "666"sip:kis_97097@10.226.20.130;tag=as33683613
To: sip:74852427787@10.226.20.130:5060;tag=032d0960
CSeq: 103 INVITE
Contact: sip:74852427787@10.226.20.130:5061;user=phone
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,REGISTER,INFO,PRACK,SUBSCRIBE,NOTIFY,UPDATE,MESSAGE,REFER
Content-Length: 215
Content-Type: application/sdp
v=0
o=HuaweiSoftX3000 120673 120673 IN IP4 10.226.20.130
s=Sip Call
c=IN IP4 0.0.0.0
t=0 0
m=audio 0 RTP/AVP 8
a=rtpmap:8 PCMA/8000
a=ptime:20
a=silenceSupp:off - - - -
a=ecan:fb on -
a=X-fax
a=inactive
<------------->
— (10 headers 12 lines) —
– SIP/AsteriskSIPProvider1-00000013 is ringing
– SIP/AsteriskSIPProvider1-00000013 is making progress passing it to SIP/666-00000012
– Remote UNIX connection
– Remote UNIX connection disconnected
<— SIP read from UDP:10.226.20.130:5060 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 172.16.120.5:5060;branch=z9hG4bK5901040c
Call-ID: 639064976734c25964559dd06d36cd5e@10.226.20.130
From: "666"sip:kis_97097@10.226.20.130;tag=as33683613
To: sip:74852427787@10.226.20.130:5060;tag=032d0960
CSeq: 103 INVITE
Contact: sip:74852427787@10.226.20.130:5061;user=phone
Content-Length: 215
Content-Type: application/sdp
v=0
o=HuaweiSoftX3000 120673 120674 IN IP4 10.226.20.130
s=Sip Call
c=IN IP4 0.0.0.0
t=0 0
m=audio 0 RTP/AVP 8
a=rtpmap:8 PCMA/8000
a=ptime:20
a=silenceSupp:off - - - -
a=ecan:fb on -
a=X-fax
a=inactive
<------------->
— (9 headers 12 lines) —
list_route: hop: sip:74852427787@10.226.20.130:5061;user=phone
set_destination: Parsing sip:74852427787@10.226.20.130:5061;user=phone for address/port to send to
set_destination: set destination to 10.226.20.130:5061
Transmitting (no NAT) to 10.226.20.130:5061:
ACK sip:74852427787@10.226.20.130:5061;user=phone SIP/2.0
Via: SIP/2.0/UDP 172.16.120.5:5060;branch=z9hG4bK4eb23c92
Max-Forwards: 70
From: “666” sip:kis_97097@10.226.20.130;tag=as33683613
To: sip:74852427787@10.226.20.130:5060;tag=032d0960
Contact: sip:kis_97097@172.16.120.5:5060
Call-ID: 639064976734c25964559dd06d36cd5e@10.226.20.130
CSeq: 103 ACK
User-Agent: Asterisk PBX 1.8.5.0
Content-Length: 0
set_destination: Parsing sip:74852427787@10.226.20.130:5061;user=phone for address/port to send to
set_destination: set destination to 10.226.20.130:5061
Reliably Transmitting (no NAT) to 10.226.20.130:5061:
BYE sip:74852427787@10.226.20.130:5061;user=phone SIP/2.0
Via: SIP/2.0/UDP 172.16.120.5:5060;branch=z9hG4bK6c446beb
Max-Forwards: 70
From: “666” sip:kis_97097@10.226.20.130;tag=as33683613
To: sip:74852427787@10.226.20.130:5060;tag=032d0960
Call-ID: 639064976734c25964559dd06d36cd5e@10.226.20.130
CSeq: 104 BYE
User-Agent: Asterisk PBX 1.8.5.0
Proxy-Authorization: Digest username=“kis_97097”, realm=“Huawei”, algorithm=MD5, uri=“sip:74852427787@10.226.20.130:5061”, nonce=“15:53:58:41660”, response="5f794d8a5426faff7085de25ab6361d0"
X-Asterisk-HangupCause: Unknown
X-Asterisk-HangupCauseCode: 0
Content-Length: 0
Scheduling destruction of SIP dialog ‘639064976734c25964559dd06d36cd5e@10.226.20.130’ in 32000 ms (Method: INVITE)
– SIP/AsteriskSIPProvider1-00000013 answered SIP/666-00000012
– Executing [s@macro-remember-the-transf:1] Set(“SIP/AsteriskSIPProvider1-00000013”, “__transf=AsteriskSIPProvider1”) in new stack
Scheduling destruction of SIP dialog ‘639064976734c25964559dd06d36cd5e@10.226.20.130’ in 32000 ms (Method: INVITE)
set_destination: Parsing sip:74852427787@10.226.20.130:5061;user=phone for address/port to send to
set_destination: set destination to 10.226.20.130:5061
Reliably Transmitting (no NAT) to 10.226.20.130:5061:
BYE sip:74852427787@10.226.20.130:5061;user=phone SIP/2.0
Via: SIP/2.0/UDP 172.16.120.5:5060;branch=z9hG4bK3bb3d478
Max-Forwards: 70
From: “666” sip:kis_97097@10.226.20.130;tag=as33683613
To: sip:74852427787@10.226.20.130:5060;tag=032d0960
Call-ID: 639064976734c25964559dd06d36cd5e@10.226.20.130
CSeq: 105 BYE
User-Agent: Asterisk PBX 1.8.5.0
Proxy-Authorization: Digest username=“kis_97097”, realm=“Huawei”, algorithm=MD5, uri=“sip:74852427787@10.226.20.130:5061”, nonce=“15:53:58:41660”, response="5f794d8a5426faff7085de25ab6361d0"
X-Asterisk-HangupCause: Normal Clearing
X-Asterisk-HangupCauseCode: 16
Content-Length: 0
-- Executing [s@macro-AsteriskSIPProvider1:3] Goto("SIP/666-00000012", "s-ANSWER,1") in new stack
-- Goto (macro-AsteriskSIPProvider1,s-ANSWER,1)
-- Executing [s-ANSWER@macro-AsteriskSIPProvider1:1] Hangup("SIP/666-00000012", "") in new stack
== Spawn extension (macro-AsteriskSIPProvider1, s-ANSWER, 1) exited non-zero on ‘SIP/666-00000012’ in macro ‘AsteriskSIPProvider1’
== Spawn extension (macro-Context2, s, 6) exited non-zero on ‘SIP/666-00000012’ in macro ‘Context2’
== Spawn extension (internal, 974852427787, 10) exited non-zero on ‘SIP/666-00000012’
– Executing [h@internal:1] NoOp(“SIP/666-00000012”, “”) in new stack
– Executing [h@internal:2] GotoIf(“SIP/666-00000012”, “0?:hang”) in new stack
– Goto (internal,h,6)
– Executing [h@internal:6] Hangup(“SIP/666-00000012”, “”) in new stack
== Spawn extension (internal, h, 6) exited non-zero on ‘SIP/666-00000012’
<— SIP read from UDP:10.226.20.130:5061 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 172.16.120.5:5060;branch=z9hG4bK6c446beb
Call-ID: 639064976734c25964559dd06d36cd5e@10.226.20.130
From: "666"sip:kis_97097@10.226.20.130;tag=as33683613
To: sip:74852427787@10.226.20.130:5060;tag=032d0960
CSeq: 104 BYE
Content-Length: 0
<------------->
— (7 headers 0 lines) —
<— SIP read from UDP:10.226.20.130:5061 —>
SIP/2.0 481 Call/Transaction Does Not Exist
Via: SIP/2.0/UDP 172.16.120.5:5060;branch=z9hG4bK3bb3d478
Call-ID: 639064976734c25964559dd06d36cd5e@10.226.20.130
From: "666"sip:kis_97097@10.226.20.130;tag=as33683613
To: sip:74852427787@10.226.20.130:5060;tag=032d0960
CSeq: 105 BYE
Warning: 399 10.226.20.130 "ToTag present"
Content-Length: 0
<------------->
— (8 headers 0 lines) —
Really destroying SIP dialog ‘639064976734c25964559dd06d36cd5e@10.226.20.130’ Method: INVITE[/code]