Hello
I have one question
I had such opensips.cfg
route {
..
create_dialog(); //"INVITE processing"
store_dlg_value("error","yes");
.
}
onreply_route[1] {
..
if (status=~"200||18[0,3]" && $rm=="INVITE") {
..
store_dlg_value("error","no");
..
}
.
}
failure_route [1] {
.
fetch_dlg_value("error","$avp(i:42)");
xlog("L_INFO", "FAIL_route:$rs was received (IP=$si, CALLID=$ci,
FROMTAG=$ft, TOTAG=$tt, AVP(i:42)=$avp(i:42))");
..
}
In attachment there is log of a call.
2.2.2.2 - Opensips. 1.1.1.1 and 3.3.3.3 - some UA. As you can see there is
no 200 or 183 replies in this call.
But in log file I see
< Jul 24 15:52:20 opensips-mirror
/usr/local/opensips1.6.4-2/sbin/opensips[11522]: FAIL_route:<null> was
received (IP=1.1.1.1, [email protected],
FROMTAG=67000fc7a4, TOTAG=<null>, AVP(i:42)=no) >
The question is why does AVP(i:42) has meaning "no"?
Thank you for any help.
<<image001.gif>>
U 2012/07/24 15:52:20.968054 1.1.1.1:5060 -> 2.2.2.2:5060 INVITE sip:[email protected] SIP/2.0. Via: SIP/2.0/UDP 1.1.1.1:5060;branch=z9hG4bK67000fc7a4216. From: <sip:[email protected]>;tag=67000fc7a4. To: <sip:[email protected]>. Call-ID: [email protected]. CSeq: 216 INVITE. Supported: replaces, timer, 100rel, early-session. Min-SE: 1800. Date: Sun, 11 Jan 2010 22:42:47 GMT. Session-Expires: 1800. User-Agent: AddPac SIP Gateway. Contact: <sip:[email protected]>. Accept: application/sdp. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, UPDATE, PRACK, REFER, NOTIFY, INFO. Content-Type: application/sdp. Content-Length: 270. Max-Forwards: 70. . v=0. o=4862442964 945767 945767 IN IP4 1.1.1.1. s=AddPac Gateway SDP. c=IN IP4 1.1.1.1. t=0 0. m=audio 23002 RTP/AVP 18 8 0 101. a=ptime:80. a=rtpmap:18 G729/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. U 2012/07/24 15:52:20.968307 2.2.2.2:5060 -> 1.1.1.1:5060 SIP/2.0 100 Giving a try. Via: SIP/2.0/UDP 1.1.1.1:5060;branch=z9hG4bK67000fc7a4216. From: <sip:[email protected]>;tag=67000fc7a4. To: <sip:[email protected]>. Call-ID: [email protected]. CSeq: 216 INVITE. Content-Length: 0. . U 2012/07/24 15:52:20.970247 2.2.2.2:5060 -> 3.3.3.3:5060 INVITE sip:[email protected]:5060 SIP/2.0. Record-Route: <sip:2.2.2.2;lr=on;ftag=67000fc7a4;did=4b6.ab160851>. Via: SIP/2.0/UDP 2.2.2.2;branch=z9hG4bK8f52.5ec4773.0. Via: SIP/2.0/UDP 1.1.1.1:5060;branch=z9hG4bK67000fc7a4216. From: <sip:[email protected]>;tag=67000fc7a4. To: <sip:[email protected]>. Call-ID: [email protected]. CSeq: 216 INVITE. Supported: replaces, timer, 100rel, early-session. Min-SE: 1800. Date: Sun, 11 Jan 2010 22:42:47 GMT. Session-Expires: 1800. User-Agent: AddPac SIP Gateway. Contact: <sip:[email protected]>. P-Asserted-Identity: <sip:[email protected]>. Remote-Party-ID:<sip:[email protected]>;party=calling;screen=yes;privacy=off. Accept: application/sdp. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, UPDATE, PRACK, REFER, NOTIFY, INFO. Content-Type: application/sdp. Content-Length: 294. Max-Forwards: 70. . v=0. o=4862442964 945767 945767 IN IP4 2.2.2.2. s=AddPac Gateway SDP. c=IN IP4 2.2.2.2. t=0 0. m=audio 40834 RTP/AVP 18 8 0 101. a=ptime:80. a=rtpmap:18 G729/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=nortpproxy:yes. U 2012/07/24 15:52:20.994730 3.3.3.3:5060 -> 2.2.2.2:5060 SIP/2.0 100 Trying. Via: SIP/2.0/UDP 2.2.2.2;branch=z9hG4bK8f52.5ec4773.0,SIP/2.0/UDP 1.1.1.1:5060;branch=z9hG4bK67000fc7a4216. From: <sip:[email protected]>;tag=67000fc7a4. To: <sip:[email protected]>. Date: Tue, 24 Jul 2012 11:56:20 GMT. Call-ID: [email protected]. CSeq: 216 INVITE. Allow-Events: telephone-event. Server: Cisco-SIPGateway/IOS-12.x. Content-Length: 0. . U 2012/07/24 15:52:21.981394 3.3.3.3:5060 -> 2.2.2.2:5060 SIP/2.0 486 Busy here. Via: SIP/2.0/UDP 2.2.2.2;branch=z9hG4bK8f52.5ec4773.0,SIP/2.0/UDP 1.1.1.1:5060;branch=z9hG4bK67000fc7a4216. From: <sip:[email protected]>;tag=67000fc7a4. To: <sip:[email protected]>;tag=E9560618-197A. Date: Tue, 24 Jul 2012 11:56:20 GMT. Call-ID: [email protected]. CSeq: 216 INVITE. Allow-Events: telephone-event. Server: Cisco-SIPGateway/IOS-12.x. Reason: Q.850;cause=17. Content-Length: 0. . U 2012/07/24 15:52:21.981549 2.2.2.2:5060 -> 3.3.3.3:5060 ACK sip:[email protected]:5060 SIP/2.0. Via: SIP/2.0/UDP 2.2.2.2;branch=z9hG4bK8f52.5ec4773.0. From: <sip:[email protected]>;tag=67000fc7a4. Call-ID: [email protected]. To: <sip:[email protected]>;tag=E9560618-197A. CSeq: 216 ACK. Max-Forwards: 70. Content-Length: 0. . U 2012/07/24 15:52:22.011214 2.2.2.2:5060 -> 1.1.1.1:5060 SIP/2.0 486 Busy here. Via: SIP/2.0/UDP 1.1.1.1:5060;branch=z9hG4bK67000fc7a4216. From: <sip:[email protected]>;tag=67000fc7a4. To: <sip:[email protected]>;tag=E9560618-197A. Date: Tue, 24 Jul 2012 11:56:20 GMT. Call-ID: [email protected]. CSeq: 216 INVITE. Allow-Events: telephone-event. Server: Cisco-SIPGateway/IOS-12.x. Reason: Q.850;cause=17. Content-Length: 0. . U 2012/07/24 15:52:22.048639 1.1.1.1:5060 -> 2.2.2.2:5060 ACK sip:[email protected] SIP/2.0. Via: SIP/2.0/UDP 1.1.1.1:5060;branch=z9hG4bK67000fc7a4216. From: <sip:[email protected]>;tag=67000fc7a4. To: <sip:[email protected]>;tag=E9560618-197A. Call-ID: [email protected]. CSeq: 216 ACK. Content-Length: 0. Max-Forwards: 70.
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
