Marek Cervenka
2012-Jul-31 08:43 UTC
[asterisk-users] AGI not generating sip 180/183 status
hello, i have strange problem with AGI (asterisk 1.8.10.0) when i use Dial from dialplan everything is ok when i dial from AGI script there is missing SIP Status 180 ringing and 183 session progress any ideas? DIAL without AGI 196.356479 10.0.0.193 -> 10.0.0.213 SIP/SDP Request: INVITE sip:222333444 at some.pbx.org, with session description 196.356768 10.0.0.213 -> 10.0.0.193 SIP Status: 401 Unauthorized 196.365709 10.0.0.193 -> 10.0.0.213 SIP Request: ACK sip:222333444 at some.pbx.org 196.370028 10.0.0.193 -> 10.0.0.213 SIP/SDP Request: INVITE sip:222333444 at some.pbx.org, with session description 196.370503 10.0.0.213 -> 10.0.0.193 SIP Status: 100 Trying 199.797325 10.0.0.213 -> 10.0.0.193 SIP Status: 180 Ringing 199.797932 10.0.0.213 -> 10.0.0.193 SIP/SDP Status: 183 Session Progress, with session description 199.878441 10.0.0.193 -> 10.0.0.213 RTCP Receiver Report Source description 199.988259 10.0.0.193 -> 10.0.0.213 RTP PT=ITU-T G.711 PCMA, SSRC=0xD2C6DEB8, Seq=7289, Time=3171500, Mark 200.004139 10.0.0.213 -> 10.0.0.193 RTP PT=ITU-T G.711 PCMA, SSRC=0x279E385A, Seq=50775, Time=28960 200.008118 10.0.0.193 -> 10.0.0.213 RTP PT=ITU-T G.711 PCMA, SSRC=0xD2C6DEB8, Seq=7290, Time=3171660 .... 201.504218 10.0.0.213 -> 10.0.0.193 RTP PT=ITU-T G.711 PCMA, SSRC=0x279E385A, Seq=50850, Time=40960 201.519477 10.0.0.193 -> 10.0.0.213 SIP Request: BYE sip:222333444 at 10.0.0.213:5060 201.519611 10.0.0.213 -> 10.0.0.193 SIP Status: 487 Request Terminated 201.519800 10.0.0.213 -> 10.0.0.193 SIP Status: 200 OK 201.528465 10.0.0.193 -> 10.0.0.213 SIP Request: ACK sip:222333444 at some.pbx.org DIAL from AGI 66.581752 10.0.0.193 -> 10.0.0.213 SIP/SDP Request: INVITE sip:222333444 at some.pbx.org, with session description 66.581958 10.0.0.213 -> 10.0.0.193 SIP Status: 401 Unauthorized 66.590738 10.0.0.193 -> 10.0.0.213 SIP Request: ACK sip:222333444 at some.pbx.org 66.595555 10.0.0.193 -> 10.0.0.213 SIP/SDP Request: INVITE sip:222333444 at some.pbx.org, with session description 66.596167 10.0.0.213 -> 10.0.0.193 SIP Status: 100 Trying 66.652571 10.0.0.213 -> 10.0.0.193 SIP/SDP Status: 200 OK, with session description 66.676485 10.0.0.193 -> 10.0.0.213 RTCP Receiver Report Source description 66.750371 10.0.0.193 -> 10.0.0.213 SIP Request: ACK sip:222333444 at 10.0.0.213:5060 66.844392 10.0.0.193 -> 10.0.0.213 RTP PT=ITU-T G.711 PCMA, SSRC=0xE842E26F, Seq=3869, Time=1120100, Mark 66.854430 10.0.0.193 -> 10.0.0.213 RTP PT=ITU-T G.711 PCMA, SSRC=0xE842E26F, Seq=3870, Time=1120260 ... 69.404625 10.0.0.193 -> 10.0.0.213 RTP PT=ITU-T G.711 PCMA, SSRC=0xE842E26F, Seq=3998, Time=1140740 69.516390 10.0.0.193 -> 10.0.0.213 SIP Request: BYE sip:222333444 at 10.0.0.213:5060 69.516669 10.0.0.213 -> 10.0.0.193 SIP Status: 200 OK -- --------------------------------------- Marek Cervenka =======================================