Hello!
In attachment you can find ordinary call (not successful) 1.1.1.1 - SIP UA 1.1.1.2 - Opensips 1.1.1.3 - SIP UA In opensips.cfg "modparam("acc", "early_media", 0) modparam("acc", "report_cancels", 1) modparam("acc", "detect_direction", 1) modparam("acc", "db_flag", 15) modparam("acc", "db_missed_flag", 16) modparam("acc", "failed_transaction_flag", 17) modparam("acc", "db_table_acc", "acc") modparam("acc", "db_table_missed_calls", "acc") modparam("acc", "cdr_flag", 22)" and before INVITE will be translated to callee SIP UA " setflag(15); setflag(16); setflag(17); setflag(22);" I see that Opensips tried to insert several entries into acc. The question is, why did Opensips try to insert into acc several entries due to one call? Is this because of db_flag and failed_transaction_flag? Thank you for any help.
<<image001.gif>>
U 2014/03/26 10:49:08.556019 1.1.1.1:53876 -> 1.1.1.2:5060 INVITE sip:3364399@1.1.1.2:5060 SIP/2.0. Via: SIP/2.0/UDP 1.1.1.1:5060;x-route-tag="tgrp:TFOP";branch=z9hG4bK448B21124B. From: <sip:8123364283@1.1.1.1>;tag=32C4640-18B3. To: <sip:3364399@1.1.1.2>. Date: Wed, 26 Mar 2014 06:49:08 GMT. Call-ID: 90A25AC0-B3E911E3-B077DBBA-3DF918A8@1.1.1.1. Supported: 100rel,timer,resource-priority,replaces,sdp-anat. Min-SE: 1800. Cisco-Guid: 2426479216-3018396131-3064463394-2438468884. User-Agent: Cisco-SIPGateway/IOS-12.x. Accept-Language: ru. Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER. CSeq: 101 INVITE. Max-Forwards: 15. Timestamp: 1395816548. Contact: <sip:8123364283@1.1.1.1:5060>. Expires: 100. Allow-Events: telephone-event. P-Asserted-Identity: <sip:8123364283@1.1.1.1>. Content-Type: application/sdp. Content-Disposition: session;handling=required. Content-Length: 310. . v=0. o=CiscoSystemsSIP-GW-UserAgent 4030 1274 IN IP4 1.1.1.1. s=SIP Call. c=IN IP4 1.1.1.1. t=0 0. m=audio 18038 RTP/AVP 8 0 18 101. c=IN IP4 1.1.1.1. a=rtpmap:8 PCMA/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:18 G729/8000. a=fmtp:18 annexb=yes. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-16. U 2014/03/26 10:49:08.557516 1.1.1.2:5060 -> 1.1.1.1:5060 SIP/2.0 100 Giving a try. Via: SIP/2.0/UDP 1.1.1.1:5060;x-route-tag="tgrp:TFOP";branch=z9hG4bK448B21124B. From: <sip:8123364283@1.1.1.1>;tag=32C4640-18B3. To: <sip:3364399@1.1.1.2>. Call-ID: 90A25AC0-B3E911E3-B077DBBA-3DF918A8@1.1.1.1. CSeq: 101 INVITE. Content-Length: 0. . U 2014/03/26 10:49:08.566102 1.1.1.2:5060 -> 1.1.1.3:5060 INVITE sip:78123364399@1.1.1.3:5060 SIP/2.0. Record-Route: <sip:1.1.1.2;lr;ftag=32C4640-18B3;did=8de.cf20f431>. Via: SIP/2.0/UDP 1.1.1.2:5060;branch=z9hG4bKcad3.e39f27b7.0. Via: SIP/2.0/UDP 1.1.1.1:5060;x-route-tag="tgrp:TFOP";branch=z9hG4bK448B21124B. From: <sip:8123364283@1.1.1.1>;tag=32C4640-18B3. To: <sip:3364399@1.1.1.2>. Date: Wed, 26 Mar 2014 06:49:08 GMT. Call-ID: 90A25AC0-B3E911E3-B077DBBA-3DF918A8@1.1.1.1. Supported: 100rel,timer,resource-priority,replaces,sdp-anat. Min-SE: 1800. Cisco-Guid: 2426479216-3018396131-3064463394-2438468884. User-Agent: Cisco-SIPGateway/IOS-12.x. Accept-Language: ru. Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER. CSeq: 101 INVITE. Max-Forwards: 15. Timestamp: 1395816548. Contact: <sip:8123364283@1.1.1.1:5060>. Remote-Party-ID:<sip:8123364283@1.1.1.1>;party=calling;screen=yes;privacy=off. Expires: 100. Allow-Events: telephone-event. P-Asserted-Identity: <sip:8123364283@1.1.1.1>. Content-Type: application/sdp. Content-Disposition: session;handling=required. Content-Length: 310. . v=0. o=CiscoSystemsSIP-GW-UserAgent 4030 1274 IN IP4 1.1.1.1. s=SIP Call. c=IN IP4 1.1.1.1. t=0 0. m=audio 18038 RTP/AVP 8 0 18 101. c=IN IP4 1.1.1.1. a=rtpmap:8 PCMA/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:18 G729/8000. a=fmtp:18 annexb=yes. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-16. U 2014/03/26 10:49:08.573798 1.1.1.3:5060 -> 1.1.1.2:5060 SIP/2.0 100 Trying. Via: SIP/2.0/UDP 1.1.1.2:5060;branch=z9hG4bKcad3.e39f27b7.0. Via: SIP/2.0/UDP 1.1.1.1:5060;x-route-tag="tgrp:TFOP";branch=z9hG4bK448B21124B. From: <sip:8123364283@1.1.1.1>;tag=32C4640-18B3. To: <sip:3364399@1.1.1.2>. Call-ID: 90A25AC0-B3E911E3-B077DBBA-3DF918A8@1.1.1.1. CSeq: 101 INVITE. Server: Telphin SoftSwitch. Content-Length: 0. . U 2014/03/26 10:49:08.576295 1.1.1.3:5060 -> 1.1.1.2:5060 SIP/2.0 603 Declined. Via: SIP/2.0/UDP 1.1.1.2:5060;branch=z9hG4bKcad3.e39f27b7.0. Via: SIP/2.0/UDP 1.1.1.1:5060;x-route-tag="tgrp:TFOP";branch=z9hG4bK448B21124B. From: <sip:8123364283@1.1.1.1>;tag=32C4640-18B3. To: <sip:3364399@1.1.1.2>;tag=as26700a4a. Call-ID: 90A25AC0-B3E911E3-B077DBBA-3DF918A8@1.1.1.1. CSeq: 101 INVITE. Server: Telphin MediaServer. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO. Supported: replaces. Content-Length: 0. . U 2014/03/26 10:49:08.576787 1.1.1.2:5060 -> 1.1.1.3:5060 ACK sip:78123364399@1.1.1.3:5060 SIP/2.0. Via: SIP/2.0/UDP 1.1.1.2:5060;branch=z9hG4bKcad3.e39f27b7.0. From: <sip:8123364283@1.1.1.1>;tag=32C4640-18B3. Call-ID: 90A25AC0-B3E911E3-B077DBBA-3DF918A8@1.1.1.1. To: <sip:3364399@1.1.1.2>;tag=as26700a4a. CSeq: 101 ACK. Max-Forwards: 70. Content-Length: 0. . U 2014/03/26 10:49:08.577440 1.1.1.2:5060 -> 1.1.1.1:5060 SIP/2.0 603 Declined. Via: SIP/2.0/UDP 1.1.1.1:5060;x-route-tag="tgrp:TFOP";branch=z9hG4bK448B21124B. From: <sip:8123364283@1.1.1.1>;tag=32C4640-18B3. To: <sip:3364399@1.1.1.2>;tag=as26700a4a. Call-ID: 90A25AC0-B3E911E3-B077DBBA-3DF918A8@1.1.1.1. CSeq: 101 INVITE. Server: Telphin MediaServer. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO. Supported: replaces. Content-Length: 0. . U 2014/03/26 10:49:08.582176 1.1.1.1:53876 -> 1.1.1.2:5060 ACK sip:3364399@1.1.1.2:5060 SIP/2.0. Via: SIP/2.0/UDP 1.1.1.1:5060;x-route-tag="tgrp:TFOP";branch=z9hG4bK448B21124B. From: <sip:8123364283@1.1.1.1>;tag=32C4640-18B3. To: <sip:3364399@1.1.1.2>;tag=as26700a4a. Date: Wed, 26 Mar 2014 06:49:08 GMT. Call-ID: 90A25AC0-B3E911E3-B077DBBA-3DF918A8@1.1.1.1. Max-Forwards: 15. CSeq: 101 ACK. Allow-Events: telephone-event. Content-Length: 0. .
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users