<div dir="ltr">Thanks for your suggestions! I guess I have been too much involved in B2BUA that I forgot how a proxy should work. After some digging around in the RFC I fixed my sipp scripts (for reference herunder) Also the SIP trace.<div><br></div><div><div>U <a href="http://10.57.26.219:5060">10.57.26.219:5060</a> -> <a href="http://10.57.26.220:5060">10.57.26.220:5060</a></div><div>INVITE <a href="http://sip:service@10.57.26.220:5060">sip:service@10.57.26.220:5060</a> SIP/2.0.</div><div>Via: SIP/2.0/UDP 10.57.26.219:5060;branch=z9hG4bK-16174-1-0.</div><div>From: sipp <<a href="http://sip:sipp@10.57.26.219:5060">sip:sipp@10.57.26.219:5060</a>>;tag=16174SIPpTag021.</div><div>To: sut <<a href="http://sip:service@10.57.26.220:5060">sip:service@10.57.26.220:5060</a>>.</div><div>Call-ID: <a href="mailto:1-16174@10.57.26.219">1-16174@10.57.26.219</a>.</div><div>CSeq: 1 INVITE.</div><div>Contact: <a href="http://sip:sipp@10.57.26.219:5060">sip:sipp@10.57.26.219:5060</a>.</div><div>Max-Forwards: 70.</div><div>Subject: Performance Test.</div><div>Content-Type: application/sdp.</div><div>Content-Length:   135.</div><div>.</div><div>v=0.</div><div>o=user1 53655765 2353687637 IN IP4 10.57.26.219.</div><div>s=-.</div><div>c=IN IP4 10.57.26.219.</div><div>t=0 0.</div><div>m=audio 6000 RTP/AVP 0.</div><div>a=rtpmap:0 PCMU/8000.</div><div><br></div><div>#</div><div>U <a href="http://10.57.26.220:5060">10.57.26.220:5060</a> -> <a href="http://10.57.26.219:5060">10.57.26.219:5060</a></div><div>SIP/2.0 100 trying -- your call is important to us.</div><div>Via: SIP/2.0/UDP 10.57.26.219:5060;branch=z9hG4bK-16174-1-0.</div><div>From: sipp <<a href="http://sip:sipp@10.57.26.219:5060">sip:sipp@10.57.26.219:5060</a>>;tag=16174SIPpTag021.</div><div>To: sut <<a href="http://sip:service@10.57.26.220:5060">sip:service@10.57.26.220:5060</a>>.</div><div>Call-ID: <a href="mailto:1-16174@10.57.26.219">1-16174@10.57.26.219</a>.</div><div>CSeq: 1 INVITE.</div><div>Server: kamailio (4.2.0 (x86_64/linux)).</div><div>Content-Length: 0.</div><div>.</div><div><br></div><div>#</div><div>U <a href="http://10.57.26.220:5060">10.57.26.220:5060</a> -> <a href="http://10.57.26.239:5060">10.57.26.239:5060</a></div><div>INVITE <a href="http://sip:service@10.57.26.220:5060">sip:service@10.57.26.220:5060</a> SIP/2.0.</div><div>Record-Route: <sip:10.57.26.220;lr>.</div><div>Via: SIP/2.0/UDP 10.57.26.220;branch=z9hG4bKd377.9ceee9cba2a2b30026d549ab64abb1f1.0.</div><div>Via: SIP/2.0/UDP 10.57.26.219:5060;branch=z9hG4bK-16174-1-0.</div><div>From: sipp <<a href="http://sip:sipp@10.57.26.219:5060">sip:sipp@10.57.26.219:5060</a>>;tag=16174SIPpTag021.</div><div>To: sut <<a href="http://sip:service@10.57.26.220:5060">sip:service@10.57.26.220:5060</a>>.</div><div>Call-ID: <a href="mailto:1-16174@10.57.26.219">1-16174@10.57.26.219</a>.</div><div>CSeq: 1 INVITE.</div><div>Contact: <a href="http://sip:sipp@10.57.26.219:5060">sip:sipp@10.57.26.219:5060</a>.</div><div>Max-Forwards: 69.</div><div>Subject: Performance Test.</div><div>Content-Type: application/sdp.</div><div>Content-Length:   135.</div><div>.</div><div>v=0.</div><div>o=user1 53655765 2353687637 IN IP4 10.57.26.219.</div><div>s=-.</div><div>c=IN IP4 10.57.26.219.</div><div>t=0 0.</div><div>m=audio 6000 RTP/AVP 0.</div><div>a=rtpmap:0 PCMU/8000.</div><div><br></div><div>#</div><div>U <a href="http://10.57.26.239:5060">10.57.26.239:5060</a> -> <a href="http://10.57.26.220:5060">10.57.26.220:5060</a></div><div>SIP/2.0 180 Ringing.</div><div>Via: SIP/2.0/UDP 10.57.26.220;branch=z9hG4bKd377.9ceee9cba2a2b30026d549ab64abb1f1.0, SIP/2.0/UDP 10.57.26.219:5060;branch=z9hG4bK-16174-1-0.</div><div>From: sipp <<a href="http://sip:sipp@10.57.26.219:5060">sip:sipp@10.57.26.219:5060</a>>;tag=16174SIPpTag021.</div><div>To: sut <<a href="http://sip:service@10.57.26.220:5060">sip:service@10.57.26.220:5060</a>>;tag=15186SIPpTag015.</div><div>Call-ID: <a href="mailto:1-16174@10.57.26.219">1-16174@10.57.26.219</a>.</div><div>CSeq: 1 INVITE.</div><div>Contact: <sip:10.57.26.239:5060;transport=UDP>.</div><div>Content-Length: 0.</div><div>.</div><div><br></div><div>#</div><div>U <a href="http://10.57.26.239:5060">10.57.26.239:5060</a> -> <a href="http://10.57.26.220:5060">10.57.26.220:5060</a></div><div>SIP/2.0 200 OK.</div><div>Via: SIP/2.0/UDP 10.57.26.220;branch=z9hG4bKd377.9ceee9cba2a2b30026d549ab64abb1f1.0, SIP/2.0/UDP 10.57.26.219:5060;branch=z9hG4bK-16174-1-0.</div><div>Record-Route: <sip:10.57.26.220;lr>.</div><div>From: sipp <<a href="http://sip:sipp@10.57.26.219:5060">sip:sipp@10.57.26.219:5060</a>>;tag=16174SIPpTag021.</div><div>To: sut <<a href="http://sip:service@10.57.26.220:5060">sip:service@10.57.26.220:5060</a>>;tag=15186SIPpTag015.</div><div>Call-ID: <a href="mailto:1-16174@10.57.26.219">1-16174@10.57.26.219</a>.</div><div>CSeq: 1 INVITE.</div><div>Contact: <sip:10.57.26.239:5060;transport=UDP>.</div><div>Content-Type: application/sdp.</div><div>Content-Length:   135.</div><div>.</div><div>v=0.</div><div>o=user1 53655765 2353687637 IN IP4 10.57.26.239.</div><div>s=-.</div><div>c=IN IP4 10.57.26.239.</div><div>t=0 0.</div><div>m=audio 6000 RTP/AVP 0.</div><div>a=rtpmap:0 PCMU/8000.</div><div><br></div><div>#</div><div>U <a href="http://10.57.26.220:5060">10.57.26.220:5060</a> -> <a href="http://10.57.26.219:5060">10.57.26.219:5060</a></div><div>SIP/2.0 180 Ringing.</div><div>Via: SIP/2.0/UDP 10.57.26.219:5060;branch=z9hG4bK-16174-1-0.</div><div>From: sipp <<a href="http://sip:sipp@10.57.26.219:5060">sip:sipp@10.57.26.219:5060</a>>;tag=16174SIPpTag021.</div><div>To: sut <<a href="http://sip:service@10.57.26.220:5060">sip:service@10.57.26.220:5060</a>>;tag=15186SIPpTag015.</div><div>Call-ID: <a href="mailto:1-16174@10.57.26.219">1-16174@10.57.26.219</a>.</div><div>CSeq: 1 INVITE.</div><div>Contact: <sip:10.57.26.239:5060;transport=UDP>.</div><div>Content-Length: 0.</div><div>.</div><div><br></div><div>#</div><div>U <a href="http://10.57.26.220:5060">10.57.26.220:5060</a> -> <a href="http://10.57.26.219:5060">10.57.26.219:5060</a></div><div>SIP/2.0 200 OK.</div><div>Via: SIP/2.0/UDP 10.57.26.219:5060;branch=z9hG4bK-16174-1-0.</div><div>Record-Route: <sip:10.57.26.220;lr>.</div><div>From: sipp <<a href="http://sip:sipp@10.57.26.219:5060">sip:sipp@10.57.26.219:5060</a>>;tag=16174SIPpTag021.</div><div>To: sut <<a href="http://sip:service@10.57.26.220:5060">sip:service@10.57.26.220:5060</a>>;tag=15186SIPpTag015.</div><div>Call-ID: <a href="mailto:1-16174@10.57.26.219">1-16174@10.57.26.219</a>.</div><div>CSeq: 1 INVITE.</div><div>Contact: <sip:10.57.26.239:5060;transport=UDP>.</div><div>Content-Type: application/sdp.</div><div>Content-Length:   135.</div><div>.</div><div>v=0.</div><div>o=user1 53655765 2353687637 IN IP4 10.57.26.239.</div><div>s=-.</div><div>c=IN IP4 10.57.26.239.</div><div>t=0 0.</div><div>m=audio 6000 RTP/AVP 0.</div><div>a=rtpmap:0 PCMU/8000.</div><div><br></div><div>#</div><div>U <a href="http://10.57.26.219:5060">10.57.26.219:5060</a> -> <a href="http://10.57.26.220:5060">10.57.26.220:5060</a></div><div>ACK <a href="http://sip:service@10.57.26.220:5060">sip:service@10.57.26.220:5060</a> SIP/2.0.</div><div>Via: SIP/2.0/UDP 10.57.26.219:5060;branch=z9hG4bK-16174-1-5.</div><div>Route: <sip:10.57.26.220;lr>.</div><div>Route: <sip:10.57.26.239:5060;transport=UDP>.</div><div>From: sipp <<a href="http://sip:sipp@10.57.26.219:5060">sip:sipp@10.57.26.219:5060</a>>;tag=16174SIPpTag021.</div><div>To: sut <<a href="http://sip:service@10.57.26.220:5060">sip:service@10.57.26.220:5060</a>>;tag=15186SIPpTag015.</div><div>Call-ID: <a href="mailto:1-16174@10.57.26.219">1-16174@10.57.26.219</a>.</div><div>CSeq: 1 ACK.</div><div>Contact: <a href="http://sip:sipp@10.57.26.219:5060">sip:sipp@10.57.26.219:5060</a>.</div><div>Max-Forwards: 70.</div><div>Subject: Performance Test.</div><div>XContactinOK: <sip:10.57.26.239:5060;transport=UDP>.</div><div>Content-Length: 0.</div><div>.</div><div><br></div><div>#</div><div>U <a href="http://10.57.26.220:5060">10.57.26.220:5060</a> -> <a href="http://10.57.26.239:5060">10.57.26.239:5060</a></div><div>ACK sip:10.57.26.239:5060;transport=UDP SIP/2.0.</div><div>Via: SIP/2.0/UDP 10.57.26.220;branch=z9hG4bKd377.617ab2682b59d6f46efa48d3f737eb80.0.</div><div>Via: SIP/2.0/UDP 10.57.26.220;branch=z9hG4bKd377.b2a7497aae5192ea12836223b6f311a4.0.</div><div>Via: SIP/2.0/UDP 10.57.26.219:5060;branch=z9hG4bK-16174-1-5.</div><div>From: sipp <<a href="http://sip:sipp@10.57.26.219:5060">sip:sipp@10.57.26.219:5060</a>>;tag=16174SIPpTag021.</div><div>To: sut <<a href="http://sip:service@10.57.26.220:5060">sip:service@10.57.26.220:5060</a>>;tag=15186SIPpTag015.</div><div>Call-ID: <a href="mailto:1-16174@10.57.26.219">1-16174@10.57.26.219</a>.</div><div>CSeq: 1 ACK.</div><div>Contact: <a href="http://sip:sipp@10.57.26.219:5060">sip:sipp@10.57.26.219:5060</a>.</div><div>Max-Forwards: 68.</div><div>Subject: Performance Test.</div><div>XContactinOK: <sip:10.57.26.239:5060;transport=UDP>.</div><div>Content-Length: 0.</div><div>.</div><div><br></div><div>#</div><div>U <a href="http://10.57.26.219:5060">10.57.26.219:5060</a> -> <a href="http://10.57.26.220:5060">10.57.26.220:5060</a></div><div>BYE <a href="http://sip:service@10.57.26.220:5060">sip:service@10.57.26.220:5060</a> SIP/2.0.</div><div>Via: SIP/2.0/UDP 10.57.26.219:5060;branch=z9hG4bK-16174-1-7.</div><div>Route: <sip:10.57.26.220;lr>.</div><div>Route: <sip:10.57.26.239:5060;transport=UDP>.</div><div>From: sipp <<a href="http://sip:sipp@10.57.26.219:5060">sip:sipp@10.57.26.219:5060</a>>;tag=16174SIPpTag021.</div><div>To: sut <<a href="http://sip:service@10.57.26.220:5060">sip:service@10.57.26.220:5060</a>>;tag=15186SIPpTag015.</div><div>Call-ID: <a href="mailto:1-16174@10.57.26.219">1-16174@10.57.26.219</a>.</div><div>CSeq: 2 BYE.</div><div>Contact: <a href="http://sip:sipp@10.57.26.219:5060">sip:sipp@10.57.26.219:5060</a>.</div><div>Max-Forwards: 70.</div><div>Subject: Performance Test.</div><div>Content-Length: 0.</div><div>.</div><div><br></div><div>#</div><div>U <a href="http://10.57.26.220:5060">10.57.26.220:5060</a> -> <a href="http://10.57.26.239:5060">10.57.26.239:5060</a></div><div>BYE sip:10.57.26.239:5060;transport=UDP SIP/2.0.</div><div>Via: SIP/2.0/UDP 10.57.26.220;branch=z9hG4bKa377.b77caac49d952819ae55aa61662a095b.0.</div><div>Via: SIP/2.0/UDP 10.57.26.220;branch=z9hG4bKa377.d1ee5b3c5e388385ec3f050fdd10a7fb.0.</div><div>Via: SIP/2.0/UDP 10.57.26.219:5060;branch=z9hG4bK-16174-1-7.</div><div>From: sipp <<a href="http://sip:sipp@10.57.26.219:5060">sip:sipp@10.57.26.219:5060</a>>;tag=16174SIPpTag021.</div><div>To: sut <<a href="http://sip:service@10.57.26.220:5060">sip:service@10.57.26.220:5060</a>>;tag=15186SIPpTag015.</div><div>Call-ID: <a href="mailto:1-16174@10.57.26.219">1-16174@10.57.26.219</a>.</div><div>CSeq: 2 BYE.</div><div>Contact: <a href="http://sip:sipp@10.57.26.219:5060">sip:sipp@10.57.26.219:5060</a>.</div><div>Max-Forwards: 68.</div><div>Subject: Performance Test.</div><div>Content-Length: 0.</div><div>.</div><div><br></div><div>#</div><div>U <a href="http://10.57.26.239:5060">10.57.26.239:5060</a> -> <a href="http://10.57.26.220:5060">10.57.26.220:5060</a></div><div>SIP/2.0 200 OK.</div><div>Via: SIP/2.0/UDP 10.57.26.220;branch=z9hG4bKa377.b77caac49d952819ae55aa61662a095b.0, SIP/2.0/UDP 10.57.26.220;branch=z9hG4bKa377.d1ee5b3c5e388385ec3f050fdd10a7fb.0, SIP/2.0/UDP 10.57.26.219:5060;branch=z9hG4bK-16174-1-7.</div><div>From: sipp <<a href="http://sip:sipp@10.57.26.219:5060">sip:sipp@10.57.26.219:5060</a>>;tag=16174SIPpTag021.</div><div>To: sut <<a href="http://sip:service@10.57.26.220:5060">sip:service@10.57.26.220:5060</a>>;tag=15186SIPpTag015.</div><div>Call-ID: <a href="mailto:1-16174@10.57.26.219">1-16174@10.57.26.219</a>.</div><div>CSeq: 2 BYE.</div><div>Contact: <sip:10.57.26.239:5060;transport=UDP>.</div><div>Content-Length: 0.</div><div>.</div><div><br></div><div>#</div><div>U <a href="http://10.57.26.220:5060">10.57.26.220:5060</a> -> <a href="http://10.57.26.219:5060">10.57.26.219:5060</a></div><div>SIP/2.0 200 OK.</div><div>Via: SIP/2.0/UDP 10.57.26.219:5060;branch=z9hG4bK-16174-1-7.</div><div>From: sipp <<a href="http://sip:sipp@10.57.26.219:5060">sip:sipp@10.57.26.219:5060</a>>;tag=16174SIPpTag021.</div><div>To: sut <<a href="http://sip:service@10.57.26.220:5060">sip:service@10.57.26.220:5060</a>>;tag=15186SIPpTag015.</div><div>Call-ID: <a href="mailto:1-16174@10.57.26.219">1-16174@10.57.26.219</a>.</div><div>CSeq: 2 BYE.</div><div>Contact: <sip:10.57.26.239:5060;transport=UDP>.</div><div>Content-Length: 0.</div><div>.</div></div><div><br></div><div>SIPP UAC:</div><div><div><?xml version="1.0" encoding="ISO-8859-1" ?></div><div><!DOCTYPE scenario SYSTEM "sipp.dtd"></div><div><br></div><div><!-- This program is free software; you can redistribute it and/or      --></div><div><!-- modify it under the terms of the GNU General Public License as     --></div><div><!-- published by the Free Software Foundation; either version 2 of the --></div><div><!-- License, or (at your option) any later version.                    --></div><div><!--                                                                    --></div><div><!-- This program is distributed in the hope that it will be useful,    --></div><div><!-- but WITHOUT ANY WARRANTY; without even the implied warranty of     --></div><div><!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the      --></div><div><!-- GNU General Public License for more details.                       --></div><div><!--                                                                    --></div><div><!-- You should have received a copy of the GNU General Public License  --></div><div><!-- along with this program; if not, write to the                      --></div><div><!-- Free Software Foundation, Inc.,                                    --></div><div><!-- 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA             --></div><div><!--                                                                    --></div><div><!--                 Sipp default 'regexp client' scenario.             --></div><div><!--                                                                    --></div><div><br></div><div><scenario name="Client with regexp scenario"></div><div>  <send retrans="500"></div><div>    <![CDATA[</div><div><br></div><div>      INVITE sip:[service]@[remote_ip]:[remote_port] SIP/2.0</div><div>      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]</div><div>      From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[pid]SIPpTag02[call_number]</div><div>      To: sut <sip:[service]@[remote_ip]:[remote_port]></div><div>      Call-ID: [call_id]</div><div>      CSeq: 1 INVITE</div><div>      Contact: sip:sipp@[local_ip]:[local_port]</div><div>      Max-Forwards: 70</div><div>      Subject: Performance Test</div><div>      Content-Type: application/sdp</div><div>      Content-Length: [len]</div><div><br></div><div>      v=0</div><div>      o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]</div><div>      s=-</div><div>      c=IN IP[media_ip_type] [media_ip]</div><div>      t=0 0</div><div>      m=audio [media_port] RTP/AVP 0</div><div>      a=rtpmap:0 PCMU/8000</div><div><br></div><div>    ]]></div><div>  </send></div><div><br></div><div>  <recv response="100"</div><div>        optional="true"></div><div>  </recv></div><div><br></div><div>  <recv response="180" optional="true"></div><div>  </recv></div><div>  <recv response="183" optional="true"></div><div>  </recv></div><div><br></div><div>  <recv response="200" start_rtd="true", rrs="true"></div><div>    <!-- Definition of regexp in the action tag. The regexp must follow --></div><div>    <!-- the Posix Extended standard (POSIX 1003.2), see:               --></div><div>    <!--                                                                --></div><div>    <!--   <a href="http://www.opengroup.org/onlinepubs/007908799/xbd/re.html">http://www.opengroup.org/onlinepubs/007908799/xbd/re.html</a>    --></div><div>    <!--                                                                --></div><div>    <!-- regexp    : Contain the regexp to use for matching the         --></div><div>    <!--             received message                                   --></div><div>    <!--             MANDATORY                                          --></div><div>    <!-- search_in : msg (try to match against the entire message)      --></div><div>    <!--           : hdr (try to match against a specific SIP header    --></div><div>    <!--             (passed in the header tag)                         --></div><div>    <!--             OPTIONAL - default value : msg                     --></div><div>    <!-- header    : Header to try to match against.                    --></div><div>    <!--             Only used when the search_in tag is set to hdr     --></div><div>    <!--             MANDATORY IF search_in is equal to hdr             --></div><div>    <!-- check_it  : if set to true, the call is marked as failed if    --></div><div>    <!--             the regexp doesn't match.                          --></div><div>    <!--             OPTIONAL - default value : false                   --></div><div>    <!-- assign_to : contain the variable id (integer) or a list of     --></div><div>    <!--             variable id which will be used to store the        --></div><div>    <!--             result of the matching process between the regexp  --></div><div>    <!--             and the message. This variable can be re-used at   --></div><div>    <!--             a later time in the scenario using '[$n]' syntax   --></div><div>    <!--             where n is the variable id.                        --></div><div>    <!--             MANDATORY                                          --></div><div>    <action></div><div>      <ereg regexp="<(.*)>"</div><div>            search_in="hdr"</div><div>            header="Contact:"</div><div>            check_it="true"</div><div>            assign_to="6,7"/></div><div>    </action></div><div>  </recv></div><div><br></div><div>  <send></div><div>    <![CDATA[</div><div>      ACK sip:[service]@[remote_ip]:[remote_port] SIP/2.0</div><div>      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]</div><div>      [routes]</div><div>      Route: <[$7]></div><div>      From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[pid]SIPpTag02[call_number]</div><div>      To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]</div><div>      Call-ID: [call_id]</div><div>      CSeq: 1 ACK</div><div>      Contact: sip:sipp@[local_ip]:[local_port]</div><div>      Max-Forwards: 70</div><div>      Subject: Performance Test</div><div>      XContactinOK: [$6]</div><div>      Content-Length: 0</div><div>    ]]></div><div>  </send></div><div><br></div><div>  <!-- This delay can be customized by the -d command-line option       --></div><div>  <!-- or by adding a 'milliseconds = "value"' option here.           --></div><div>  <pause milliseconds = "1000"/></div><div><br></div><div>  <!-- The 'crlf' option inserts a blank line in the statistics report. --></div><div>  <send retrans="500"></div><div>    <![CDATA[</div><div><br></div><div>      BYE sip:[service]@[remote_ip]:[remote_port] SIP/2.0</div><div>      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]</div><div>      [routes]</div><div>      Route: <[$7]></div><div>      From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[pid]SIPpTag02[call_number]</div><div>      To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]</div><div>      Call-ID: [call_id]</div><div>      CSeq: 2 BYE</div><div>      Contact: sip:sipp@[local_ip]:[local_port]</div><div>      Max-Forwards: 70</div><div>      Subject: Performance Test</div><div>      Content-Length: 0</div><div><br></div><div>    ]]></div><div>  </send></div><div><br></div><div>  <recv response="200" crlf="true" rtd="true"></div><div>  </recv></div><div><br></div><div>  <!-- definition of the response time repartition table (unit is ms)   --></div><div>  <ResponseTimeRepartition value="1000, 1040, 1080, 1120, 1160, 1200"/></div><div><br></div><div>  <!-- definition of the call length repartition table (unit is ms)     --></div><div>  <CallLengthRepartition value="1000, 1100, 1200, 1300, 1400"/></div><div><br></div><div></scenario></div><div><br></div></div><div><br></div><div>SIPP UAS:</div><div><div><?xml version="1.0" encoding="ISO-8859-1" ?></div><div><!DOCTYPE scenario SYSTEM "sipp.dtd"></div><div><br></div><div><!-- This program is free software; you can redistribute it and/or      --></div><div><!-- modify it under the terms of the GNU General Public License as     --></div><div><!-- published by the Free Software Foundation; either version 2 of the --></div><div><!-- License, or (at your option) any later version.                    --></div><div><!--                                                                    --></div><div><!-- This program is distributed in the hope that it will be useful,    --></div><div><!-- but WITHOUT ANY WARRANTY; without even the implied warranty of     --></div><div><!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the      --></div><div><!-- GNU General Public License for more details.                       --></div><div><!--                                                                    --></div><div><!-- You should have received a copy of the GNU General Public License  --></div><div><!-- along with this program; if not, write to the                      --></div><div><!-- Free Software Foundation, Inc.,                                    --></div><div><!-- 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA             --></div><div><!--                                                                    --></div><div><!--                 Sipp default 'uas' scenario.                       --></div><div><!--                                                                    --></div><div><br></div><div><scenario name="Basic UAS responder"></div><div>  <!-- By adding rrs="true" (Record Route Sets), the route sets         --></div><div>  <!-- are saved and used for following messages sent. Useful to test   --></div><div>  <!-- against stateful SIP proxies/B2BUAs.                             --></div><div>  <recv request="INVITE" crlf="true", rrs="true"></div><div>  </recv></div><div>  <!-- The '[last_*]' keyword is replaced automatically by the          --></div><div>  <!-- specified header if it was present in the last message received  --></div><div>  <!-- (except if it was a retransmission). If the header was not       --></div><div>  <!-- present or if no message has been received, the '[last_*]'       --></div><div>  <!-- keyword is discarded, and all bytes until the end of the line    --></div><div>  <!-- are also discarded.                                              --></div><div>  <!--                                                                  --></div><div>  <!-- If the specified header was present several times in the         --></div><div>  <!-- message, all occurences are concatenated (CRLF separated)        --></div><div>  <!-- to be used in place of the '[last_*]' keyword.                   --></div><div><br></div><div>  <send></div><div>    <![CDATA[</div><div><br></div><div>      SIP/2.0 180 Ringing</div><div>      [last_Via:]</div><div>      [last_From:]</div><div>      [last_To:];tag=[pid]SIPpTag01[call_number]</div><div>      [last_Call-ID:]</div><div>      [last_CSeq:]</div><div>      Contact: <sip:[local_ip]:[local_port];transport=[transport]></div><div>      Content-Length: 0</div><div><br></div><div>    ]]></div><div>  </send></div><div><br></div><div>  <send retrans="500"></div><div>    <![CDATA[</div><div><br></div><div>      SIP/2.0 200 OK</div><div>      [last_Via:]</div><div>      [last_Record-route]</div><div>      [last_From:]</div><div>      [last_To:];tag=[pid]SIPpTag01[call_number]</div><div>      [last_Call-ID:]</div><div>      [last_CSeq:]</div><div>      Contact: <sip:[local_ip]:[local_port];transport=[transport]></div><div>      Content-Type: application/sdp</div><div>      Content-Length: [len]</div><div><br></div><div>      v=0</div><div>      o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]</div><div>      s=-</div><div>      c=IN IP[media_ip_type] [media_ip]</div><div>      t=0 0</div><div>      m=audio [media_port] RTP/AVP 0</div><div>      a=rtpmap:0 PCMU/8000</div><div><br></div><div>    ]]></div><div>  </send></div><div><br></div><div>  <recv request="ACK"</div><div>        optional="true"</div><div>        rtd="true"</div><div>        crlf="true"></div><div>  </recv></div><div><br></div><div>  <recv request="BYE"></div><div>  </recv></div><div><br></div><div>  <send></div><div>    <![CDATA[</div><div><br></div><div>      SIP/2.0 200 OK</div><div>      [last_Via:]</div><div>      [last_Record-route]</div><div>      [last_From:]</div><div>      [last_To:]</div><div>      [last_Call-ID:]</div><div>      [last_CSeq:]</div><div>      Contact: <sip:[local_ip]:[local_port];transport=[transport]></div><div>      Content-Length: 0</div><div><br></div><div>    ]]></div><div>  </send></div><div><br></div><div>  <!-- Keep the call open for a while in case the 200 is lost to be     --></div><div>  <!-- able to retransmit it if we receive the BYE again.               --></div><div>  <timewait milliseconds="4000"/></div><div><br></div><div><br></div><div>  <!-- definition of the response time repartition table (unit is ms)   --></div><div>  <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/></div><div><br></div><div>  <!-- definition of the call length repartition table (unit is ms)     --></div><div>  <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/></div><div><br></div><div></scenario></div><div><br></div><div><br></div></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 15, 2016 at 2:40 PM, Jan Hazenberg <span dir="ltr"><<a href="mailto:jenus@cyberchaos.nl" target="_blank">jenus@cyberchaos.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div style="font-family:Verdana,Geneva,sans-serif">
<p>Wim,</p>
<p>Looks like your ACK is missing the Route header, since ACK is a new transaction kamailio needs to route it based on a preloaded route. When you receive the 200OK in sipp you should save the record route set and use it in the ACK with the "[routes]" statement.</p>
<p>Take a look at the SIPP docs and search for rrs="true". If you take a packet capture on the loopback interface of the kamailio server you will probably see that kamailio keeps looping the ACK until the Max-Forwards is exhausted.</p>
<p> </p>
<p>Example:</p>
<p><recv response="200" rtd="true" rrs="true"><br> </recv></p>
<p><send><br> <![CDATA[</p>
<p>ACK [next_url] SIP/2.0<br> Via: SIP/2.0/[transport] [local_ip]:[local_port];<wbr>branch=[branch]<br> From: sipp <sip:sipp@[field1]>;tag=[pid]<wbr>SIPpTag00[call_number]<br> To: sut <sip:[service]@[field1]>[peer_<wbr>tag_param]<br> Call-ID: [call_id]<br> CSeq: 2 ACK<br> [routes]<br> Contact: sip:[service]@[local_ip]:[<wbr>local_port]<br> Max-Forwards: 70<br> Subject: Performance Test<br> Content-Length: 0</p>
<p>]]><br> </send></p>
<p> </p>
<p>Regards,</p>
<p> </p>
<p>Jan Hazenberg</p>
<p> </p>
<p> </p>
<p>Wim Van Cauwenbergh schreef op 2016-12-15 15:13:</p>
<blockquote type="cite" style="padding-left:5px;border-left:#1010ff 2px solid;margin-left:5px"><div><div class="h5">
<div dir="ltr">Hi, I have setup kamailio with the dispatcher module and have a problem with the ACK in response to 200OK not being forwarded by kamailio:
<div> </div>
<div>Scenario is very simple:</div>
<div>sipp(.219) --> kamailio (.220) --> sipp(.239)</div>
<div> </div>
<div>SIP trace:</div>
<div> </div>
<div>
<div>
<div>root@DNS-enum-8Gb-3:/var/log# ngrep -W byline -d eth0 port 5060</div>
<div>interface: eth0 (<a href="http://10.57.26.0/255.255.255.0" target="_blank">10.57.26.0/255.255.255.0</a>)</div>
<div>filter: (ip or ip6) and ( port 5060 )</div>
<div>#</div>
<div>U <a href="http://10.57.26.219:5060" target="_blank">10.57.26.219:5060</a> -> <a href="http://10.57.26.220:5060" target="_blank">10.57.26.220:5060</a></div>
<div>INVITE <a href="http://sip:service@10.57.26.220:5060" target="_blank">sip:service@10.57.26.220:5060</a> SIP/2.0.</div>
<div>Via: SIP/2.0/UDP 10.57.26.219:5060;branch=<wbr>z9hG4bK-15698-1-0.</div>
<div>From: sipp <<a href="http://sip:sipp@10.57.26.219:5060" target="_blank">sip:sipp@10.57.26.219:5060</a>>;<wbr>tag=15698SIPpTag021.</div>
<div>To: sut <<a href="http://sip:service@10.57.26.220:5060" target="_blank">sip:service@10.57.26.220:5060</a><wbr>>.</div>
<div>Call-ID: <a href="mailto:1-15698@10.57.26.219" target="_blank">1-15698@10.57.26.219</a>.</div>
<div>CSeq: 1 INVITE.</div>
<div>Contact: <a href="http://sip:sipp@10.57.26.219:5060" target="_blank">sip:sipp@10.57.26.219:5060</a>.</div>
<div>Max-Forwards: 70.</div>
<div>Subject: Performance Test.</div>
<div>Content-Type: application/sdp.</div>
<div>Content-Length:   135.</div>
<div>.</div>
<div>v=0.</div>
<div>o=user1 53655765 2353687637 IN IP4 10.57.26.219.</div>
<div>s=-.</div>
<div>c=IN IP4 10.57.26.219.</div>
<div>t=0 0.</div>
<div>m=audio 6000 RTP/AVP 0.</div>
<div>a=rtpmap:0 PCMU/8000.</div>
<div> </div>
<div>#</div>
<div>U <a href="http://10.57.26.220:5060" target="_blank">10.57.26.220:5060</a> -> <a href="http://10.57.26.219:5060" target="_blank">10.57.26.219:5060</a></div>
<div>SIP/2.0 100 trying -- your call is important to us.</div>
<div>Via: SIP/2.0/UDP 10.57.26.219:5060;branch=<wbr>z9hG4bK-15698-1-0.</div>
<div>From: sipp <<a href="http://sip:sipp@10.57.26.219:5060" target="_blank">sip:sipp@10.57.26.219:5060</a>>;<wbr>tag=15698SIPpTag021.</div>
<div>To: sut <<a href="http://sip:service@10.57.26.220:5060" target="_blank">sip:service@10.57.26.220:5060</a><wbr>>.</div>
<div>Call-ID: <a href="mailto:1-15698@10.57.26.219" target="_blank">1-15698@10.57.26.219</a>.</div>
<div>CSeq: 1 INVITE.</div>
<div>Server: kamailio (4.2.0 (x86_64/linux)).</div>
<div>Content-Length: 0.</div>
<div>.</div>
<div> </div>
<div>#</div>
<div>U <a href="http://10.57.26.220:5060" target="_blank">10.57.26.220:5060</a> -> <a href="http://10.57.26.239:5060" target="_blank">10.57.26.239:5060</a></div>
<div>INVITE <a href="http://sip:service@10.57.26.220:5060" target="_blank">sip:service@10.57.26.220:5060</a> SIP/2.0.</div>
<div>Record-Route: <sip:10.57.26.220;lr>.</div>
<div>Via: SIP/2.0/UDP 10.57.26.220;branch=<wbr>z9hG4bKf92d.<wbr>33550a94aa52aef3978cb507902d8a<wbr>aa.0.</div>
<div>Via: SIP/2.0/UDP 10.57.26.219:5060;branch=<wbr>z9hG4bK-15698-1-0.</div>
<div>From: sipp <<a href="http://sip:sipp@10.57.26.219:5060" target="_blank">sip:sipp@10.57.26.219:5060</a>>;<wbr>tag=15698SIPpTag021.</div>
<div>To: sut <<a href="http://sip:service@10.57.26.220:5060" target="_blank">sip:service@10.57.26.220:5060</a><wbr>>.</div>
<div>Call-ID: <a href="mailto:1-15698@10.57.26.219" target="_blank">1-15698@10.57.26.219</a>.</div>
<div>CSeq: 1 INVITE.</div>
<div>Contact: <a href="http://sip:sipp@10.57.26.219:5060" target="_blank">sip:sipp@10.57.26.219:5060</a>.</div>
<div>Max-Forwards: 69.</div>
<div>Subject: Performance Test.</div>
<div>Content-Type: application/sdp.</div>
<div>Content-Length:   135.</div>
<div>.</div>
<div>v=0.</div>
<div>o=user1 53655765 2353687637 IN IP4 10.57.26.219.</div>
<div>s=-.</div>
<div>c=IN IP4 10.57.26.219.</div>
<div>t=0 0.</div>
<div>m=audio 6000 RTP/AVP 0.</div>
<div>a=rtpmap:0 PCMU/8000.</div>
<div> </div>
<div>#</div>
<div>U <a href="http://10.57.26.239:5060" target="_blank">10.57.26.239:5060</a> -> <a href="http://10.57.26.220:5060" target="_blank">10.57.26.220:5060</a></div>
<div>SIP/2.0 180 Ringing.</div>
<div>Via: SIP/2.0/UDP 10.57.26.220;branch=<wbr>z9hG4bKf92d.<wbr>33550a94aa52aef3978cb507902d8a<wbr>aa.0, SIP/2.0/UDP 10.57.26.219:5060;branch=<wbr>z9hG4bK-15698-1-0.</div>
<div>From: sipp <<a href="http://sip:sipp@10.57.26.219:5060" target="_blank">sip:sipp@10.57.26.219:5060</a>>;<wbr>tag=15698SIPpTag021.</div>
<div>To: sut <<a href="http://sip:service@10.57.26.220:5060" target="_blank">sip:service@10.57.26.220:5060</a><wbr>>;tag=14783SIPpTag018.</div>
<div>Call-ID: <a href="mailto:1-15698@10.57.26.219" target="_blank">1-15698@10.57.26.219</a>.</div>
<div>CSeq: 1 INVITE.</div>
<div>Contact: <sip:<a href="http://10.57.26.239:5060">10.57.26.239:5060</a>;<wbr>transport=UDP>.</div>
<div>Content-Length: 0.</div>
<div>.</div>
<div> </div>
<div>#</div>
<div>U <a href="http://10.57.26.239:5060" target="_blank">10.57.26.239:5060</a> -> <a href="http://10.57.26.220:5060" target="_blank">10.57.26.220:5060</a></div>
<div>SIP/2.0 200 OK.</div>
<div>Via: SIP/2.0/UDP 10.57.26.220;branch=<wbr>z9hG4bKf92d.<wbr>33550a94aa52aef3978cb507902d8a<wbr>aa.0, SIP/2.0/UDP 10.57.26.219:5060;branch=<wbr>z9hG4bK-15698-1-0.</div>
<div>From: sipp <<a href="http://sip:sipp@10.57.26.219:5060" target="_blank">sip:sipp@10.57.26.219:5060</a>>;<wbr>tag=15698SIPpTag021.</div>
<div>To: sut <<a href="http://sip:service@10.57.26.220:5060" target="_blank">sip:service@10.57.26.220:5060</a><wbr>>;tag=14783SIPpTag018.</div>
<div>Call-ID: <a href="mailto:1-15698@10.57.26.219" target="_blank">1-15698@10.57.26.219</a>.</div>
<div>CSeq: 1 INVITE.</div>
<div>Contact: <sip:<a href="http://10.57.26.239:5060">10.57.26.239:5060</a>;<wbr>transport=UDP>.</div>
<div>Content-Type: application/sdp.</div>
<div>Content-Length:   135.</div>
<div>.</div>
<div>v=0.</div>
<div>o=user1 53655765 2353687637 IN IP4 10.57.26.239.</div>
<div>s=-.</div>
<div>c=IN IP4 10.57.26.239.</div>
<div>t=0 0.</div>
<div>m=audio 6000 RTP/AVP 0.</div>
<div>a=rtpmap:0 PCMU/8000.</div>
<div> </div>
<div>#</div>
<div>U <a href="http://10.57.26.220:5060" target="_blank">10.57.26.220:5060</a> -> <a href="http://10.57.26.219:5060" target="_blank">10.57.26.219:5060</a></div>
<div>SIP/2.0 180 Ringing.</div>
<div>Via: SIP/2.0/UDP 10.57.26.219:5060;branch=<wbr>z9hG4bK-15698-1-0.</div>
<div>From: sipp <<a href="http://sip:sipp@10.57.26.219:5060" target="_blank">sip:sipp@10.57.26.219:5060</a>>;<wbr>tag=15698SIPpTag021.</div>
<div>To: sut <<a href="http://sip:service@10.57.26.220:5060" target="_blank">sip:service@10.57.26.220:5060</a><wbr>>;tag=14783SIPpTag018.</div>
<div>Call-ID: <a href="mailto:1-15698@10.57.26.219" target="_blank">1-15698@10.57.26.219</a>.</div>
<div>CSeq: 1 INVITE.</div>
<div>Contact: <sip:<a href="http://10.57.26.239:5060">10.57.26.239:5060</a>;<wbr>transport=UDP>.</div>
<div>Content-Length: 0.</div>
<div>.</div>
<div> </div>
<div>#</div>
<div>U <a href="http://10.57.26.220:5060" target="_blank">10.57.26.220:5060</a> -> <a href="http://10.57.26.219:5060" target="_blank">10.57.26.219:5060</a></div>
<div>SIP/2.0 200 OK.</div>
<div>Via: SIP/2.0/UDP 10.57.26.219:5060;branch=<wbr>z9hG4bK-15698-1-0.</div>
<div>From: sipp <<a href="http://sip:sipp@10.57.26.219:5060" target="_blank">sip:sipp@10.57.26.219:5060</a>>;<wbr>tag=15698SIPpTag021.</div>
<div>To: sut <<a href="http://sip:service@10.57.26.220:5060" target="_blank">sip:service@10.57.26.220:5060</a><wbr>>;tag=14783SIPpTag018.</div>
<div>Call-ID: <a href="mailto:1-15698@10.57.26.219" target="_blank">1-15698@10.57.26.219</a>.</div>
<div>CSeq: 1 INVITE.</div>
<div>Contact: <sip:<a href="http://10.57.26.239:5060">10.57.26.239:5060</a>;<wbr>transport=UDP>.</div>
<div>Content-Type: application/sdp.</div>
<div>Content-Length:   135.</div>
<div>.</div>
<div>v=0.</div>
<div>o=user1 53655765 2353687637 IN IP4 10.57.26.239.</div>
<div>s=-.</div>
<div>c=IN IP4 10.57.26.239.</div>
<div>t=0 0.</div>
<div>m=audio 6000 RTP/AVP 0.</div>
<div>a=rtpmap:0 PCMU/8000.</div>
<div> </div>
<div>#</div>
<div>U <a href="http://10.57.26.219:5060" target="_blank">10.57.26.219:5060</a> -> <a href="http://10.57.26.220:5060" target="_blank">10.57.26.220:5060</a></div>
<div>ACK sip:<a href="http://10.57.26.239:5060">10.57.26.239:5060</a>;<wbr>transport=UDP SIP/2.0.</div>
<div>Via: SIP/2.0/UDP 10.57.26.219:5060;branch=<wbr>z9hG4bK-15698-1-5.</div>
<div>From: sipp <<a href="http://sip:sipp@10.57.26.219:5060" target="_blank">sip:sipp@10.57.26.219:5060</a>>;<wbr>tag=15698SIPpTag021.</div>
<div>To: sut <<a href="http://sip:service@10.57.26.220:5060" target="_blank">sip:service@10.57.26.220:5060</a><wbr>>;tag=14783SIPpTag018.</div>
<div>Call-ID: <a href="mailto:1-15698@10.57.26.219" target="_blank">1-15698@10.57.26.219</a>.</div>
<div>CSeq: 1 ACK.</div>
<div>Contact: <a href="http://sip:sipp@10.57.26.219:5060" target="_blank">sip:sipp@10.57.26.219:5060</a>.</div>
<div>Max-Forwards: 70.</div>
<div>Subject: Performance Test.</div>
<div>XContactinOK: <sip:<a href="http://10.57.26.239:5060">10.57.26.239:5060</a>;<wbr>transport=UDP>.</div>
<div>Content-Length: 0.</div>
<div>.</div>
<div> </div>
<div>#</div>
<div>U <a href="http://10.57.26.239:5060" target="_blank">10.57.26.239:5060</a> -> <a href="http://10.57.26.220:5060" target="_blank">10.57.26.220:5060</a></div>
<div>SIP/2.0 200 OK.</div>
<div>Via: SIP/2.0/UDP 10.57.26.220;branch=<wbr>z9hG4bKf92d.<wbr>33550a94aa52aef3978cb507902d8a<wbr>aa.0, SIP/2.0/UDP 10.57.26.219:5060;branch=<wbr>z9hG4bK-15698-1-0.</div>
<div>From: sipp <<a href="http://sip:sipp@10.57.26.219:5060" target="_blank">sip:sipp@10.57.26.219:5060</a>>;<wbr>tag=15698SIPpTag021.</div>
<div>To: sut <<a href="http://sip:service@10.57.26.220:5060" target="_blank">sip:service@10.57.26.220:5060</a><wbr>>;tag=14783SIPpTag018.</div>
<div>Call-ID: <a href="mailto:1-15698@10.57.26.219" target="_blank">1-15698@10.57.26.219</a>.</div>
<div>CSeq: 1 INVITE.</div>
<div>Contact: <sip:<a href="http://10.57.26.239:5060">10.57.26.239:5060</a>;<wbr>transport=UDP>.</div>
<div>Content-Type: application/sdp.</div>
<div>Content-Length:   135.</div>
<div>.</div>
<div>v=0.</div>
<div>o=user1 53655765 2353687637 IN IP4 10.57.26.239.</div>
<div>s=-.</div>
<div>c=IN IP4 10.57.26.239.</div>
<div>t=0 0.</div>
<div>m=audio 6000 RTP/AVP 0.</div>
<div>a=rtpmap:0 PCMU/8000.</div>
<div> </div>
<div>#</div>
<div>U <a href="http://10.57.26.220:5060" target="_blank">10.57.26.220:5060</a> -> <a href="http://10.57.26.219:5060" target="_blank">10.57.26.219:5060</a></div>
<div>SIP/2.0 200 OK.</div>
<div>Via: SIP/2.0/UDP 10.57.26.219:5060;branch=<wbr>z9hG4bK-15698-1-0.</div>
<div>From: sipp <<a href="http://sip:sipp@10.57.26.219:5060" target="_blank">sip:sipp@10.57.26.219:5060</a>>;<wbr>tag=15698SIPpTag021.</div>
<div>To: sut <<a href="http://sip:service@10.57.26.220:5060" target="_blank">sip:service@10.57.26.220:5060</a><wbr>>;tag=14783SIPpTag018.</div>
<div>Call-ID: <a href="mailto:1-15698@10.57.26.219" target="_blank">1-15698@10.57.26.219</a>.</div>
<div>CSeq: 1 INVITE.</div>
<div>Contact: <sip:<a href="http://10.57.26.239:5060">10.57.26.239:5060</a>;<wbr>transport=UDP>.</div>
<div>Content-Type: application/sdp.</div>
<div>Content-Length:   135.</div>
<div>.</div>
<div>v=0.</div>
<div>o=user1 53655765 2353687637 IN IP4 10.57.26.239.</div>
<div>s=-.</div>
<div>c=IN IP4 10.57.26.239.</div>
<div>t=0 0.</div>
<div>m=audio 6000 RTP/AVP 0.</div>
<div>a=rtpmap:0 PCMU/8000.</div>
<div> </div>
<div>#</div>
<div><strong>U <a href="http://10.57.26.219:5060" target="_blank">10.57.26.219:5060</a> -> <a href="http://10.57.26.220:5060" target="_blank">10.57.26.220:5060</a></strong></div>
<div><strong>ACK sip:<a href="http://10.57.26.239:5060">10.57.26.239:5060</a>;<wbr>transport=UDP SIP/2.0.</strong></div>
<div><strong>Via: SIP/2.0/UDP 10.57.26.219:5060;branch=<wbr>z9hG4bK-15698-1-5.</strong></div>
<div><strong>From: sipp <<a href="http://sip:sipp@10.57.26.219:5060" target="_blank">sip:sipp@10.57.26.219:5060</a>>;<wbr>tag=15698SIPpTag021.</strong></div>
<div><strong>To: sut <<a href="http://sip:service@10.57.26.220:5060" target="_blank">sip:service@10.57.26.220:5060</a><wbr>>;tag=14783SIPpTag018.</strong></div>
<div><strong>Call-ID: <a href="mailto:1-15698@10.57.26.219" target="_blank">1-15698@10.57.26.219</a>.</strong></div>
<div><strong>CSeq: 1 ACK.</strong></div>
<div><strong>Contact: <a href="http://sip:sipp@10.57.26.219:5060" target="_blank">sip:sipp@10.57.26.219:5060</a>.</strong></div>
<div><strong>Max-Forwards: 70.</strong></div>
<div><strong>Subject: Performance Test.</strong></div>
<div><strong>XContactinOK: <sip:<a href="http://10.57.26.239:5060">10.57.26.239:5060</a>;<wbr>transport=UDP>.</strong></div>
<div><strong>Content-Length: 0.</strong></div>
<div>.</div>
<div> </div>
<div>#</div>
<div>U <a href="http://10.57.26.219:5060" target="_blank">10.57.26.219:5060</a> -> <a href="http://10.57.26.220:5060" target="_blank">10.57.26.220:5060</a></div>
<div>BYE sip:<a href="http://10.57.26.239:5060">10.57.26.239:5060</a>;<wbr>transport=UDP SIP/2.0.</div>
<div>Via: SIP/2.0/UDP 10.57.26.219:5060;branch=<wbr>z9hG4bK-15698-1-7.</div>
<div>From: sipp <<a href="http://sip:sipp@10.57.26.219:5060" target="_blank">sip:sipp@10.57.26.219:5060</a>>;<wbr>tag=15698SIPpTag021.</div>
<div>To: sut <<a href="http://sip:service@10.57.26.220:5060" target="_blank">sip:service@10.57.26.220:5060</a><wbr>>;tag=14783SIPpTag018.</div>
<div>Call-ID: <a href="mailto:1-15698@10.57.26.219" target="_blank">1-15698@10.57.26.219</a>.</div>
<div>CSeq: 2 BYE.</div>
<div>Contact: <a href="http://sip:sipp@10.57.26.219:5060" target="_blank">sip:sipp@10.57.26.219:5060</a>.</div>
<div>Max-Forwards: 70.</div>
<div>Subject: Performance Test.</div>
<div>Content-Length: 0.</div>
<div>.</div>
<div> </div>
<div>#</div>
<div>U <a href="http://10.57.26.220:5060" target="_blank">10.57.26.220:5060</a> -> <a href="http://10.57.26.219:5060" target="_blank">10.57.26.219:5060</a></div>
<div>SIP/2.0 404 Not here.</div>
<div>Via: SIP/2.0/UDP 10.57.26.219:5060;branch=<wbr>z9hG4bK-15698-1-7.</div>
<div>From: sipp <<a href="http://sip:sipp@10.57.26.219:5060" target="_blank">sip:sipp@10.57.26.219:5060</a>>;<wbr>tag=15698SIPpTag021.</div>
<div>To: sut <<a href="http://sip:service@10.57.26.220:5060" target="_blank">sip:service@10.57.26.220:5060</a><wbr>>;tag=14783SIPpTag018.</div>
<div>Call-ID: <a href="mailto:1-15698@10.57.26.219" target="_blank">1-15698@10.57.26.219</a>.</div>
<div>CSeq: 2 BYE.</div>
<div>Server: kamailio (4.2.0 (x86_64/linux)).</div>
<div>Content-Length: 0.</div>
<div>.</div>
<div> </div>
<div>#</div>
<div>U <a href="http://10.57.26.219:5060" target="_blank">10.57.26.219:5060</a> -> <a href="http://10.57.26.220:5060" target="_blank">10.57.26.220:5060</a></div>
<div>BYE <a href="http://sip:service@10.57.26.220:5060" target="_blank">sip:service@10.57.26.220:5060</a> SIP/2.0.</div>
<div>Via: SIP/2.0/UDP 10.57.26.219:5060;branch=<wbr>z9hG4bK-15698-1--1.</div>
<div>From: sipp <<a href="http://sip:sipp@10.57.26.219:5060" target="_blank">sip:sipp@10.57.26.219:5060</a>>;<wbr>tag=15698SIPpTag021.</div>
<div>To: sut <<a href="http://sip:service@10.57.26.220:5060" target="_blank">sip:service@10.57.26.220:5060</a><wbr>>;tag=14783SIPpTag018.</div>
<div>Call-ID: <a href="mailto:1-15698@10.57.26.219" target="_blank">1-15698@10.57.26.219</a>.</div>
<div>CSeq: 3 BYE.</div>
<div>Max-Forwards: 70.</div>
<div>Contact: <<a href="http://sip:sipp@10.57.26.219:5060">sip:sipp@10.57.26.219:5060</a>;<wbr>transport=UDP>.</div>
<div>Content-Length: 0.</div>
<div>.</div>
<div> </div>
<div>#</div>
<div>U <a href="http://10.57.26.220:5060" target="_blank">10.57.26.220:5060</a> -> <a href="http://10.57.26.219:5060" target="_blank">10.57.26.219:5060</a></div>
<div>SIP/2.0 404 Not here.</div>
<div>Via: SIP/2.0/UDP 10.57.26.219:5060;branch=<wbr>z9hG4bK-15698-1--1.</div>
<div>From: sipp <<a href="http://sip:sipp@10.57.26.219:5060" target="_blank">sip:sipp@10.57.26.219:5060</a>>;<wbr>tag=15698SIPpTag021.</div>
<div>To: sut <<a href="http://sip:service@10.57.26.220:5060" target="_blank">sip:service@10.57.26.220:5060</a><wbr>>;tag=14783SIPpTag018.</div>
<div>Call-ID: <a href="mailto:1-15698@10.57.26.219" target="_blank">1-15698@10.57.26.219</a>.</div>
<div>CSeq: 3 BYE.</div>
<div>Server: kamailio (4.2.0 (x86_64/linux)).</div>
<div>Content-Length: 0.</div>
<div>.</div>
<div> </div>
<div>#</div>
<div>U <a href="http://10.57.26.239:5060" target="_blank">10.57.26.239:5060</a> -> <a href="http://10.57.26.220:5060" target="_blank">10.57.26.220:5060</a></div>
<div>SIP/2.0 200 OK.</div>
<div>Via: SIP/2.0/UDP 10.57.26.220;branch=<wbr>z9hG4bKf92d.<wbr>33550a94aa52aef3978cb507902d8a<wbr>aa.0, SIP/2.0/UDP 10.57.26.219:5060;branch=<wbr>z9hG4bK-15698-1-0.</div>
<div>From: sipp <<a href="http://sip:sipp@10.57.26.219:5060" target="_blank">sip:sipp@10.57.26.219:5060</a>>;<wbr>tag=15698SIPpTag021.</div>
<div>To: sut <<a href="http://sip:service@10.57.26.220:5060" target="_blank">sip:service@10.57.26.220:5060</a><wbr>>;tag=14783SIPpTag018.</div>
<div>Call-ID: <a href="mailto:1-15698@10.57.26.219" target="_blank">1-15698@10.57.26.219</a>.</div>
<div>CSeq: 1 INVITE.</div>
<div>Contact: <sip:<a href="http://10.57.26.239:5060">10.57.26.239:5060</a>;<wbr>transport=UDP>.</div>
<div>Content-Type: application/sdp.</div>
<div>Content-Length:   135.</div>
<div>.</div>
<div>v=0.</div>
<div>o=user1 53655765 2353687637 IN IP4 10.57.26.239.</div>
<div>s=-.</div>
<div>c=IN IP4 10.57.26.239.</div>
<div>t=0 0.</div>
<div>m=audio 6000 RTP/AVP 0.</div>
<div>a=rtpmap:0 PCMU/8000.</div>
<div> </div>
<div>#</div>
<div>U <a href="http://10.57.26.220:5060" target="_blank">10.57.26.220:5060</a> -> <a href="http://10.57.26.219:5060" target="_blank">10.57.26.219:5060</a></div>
<div>SIP/2.0 200 OK.</div>
<div>Via: SIP/2.0/UDP 10.57.26.219:5060;branch=<wbr>z9hG4bK-15698-1-0.</div>
<div>From: sipp <<a href="http://sip:sipp@10.57.26.219:5060" target="_blank">sip:sipp@10.57.26.219:5060</a>>;<wbr>tag=15698SIPpTag021.</div>
<div>To: sut <<a href="http://sip:service@10.57.26.220:5060" target="_blank">sip:service@10.57.26.220:5060</a><wbr>>;tag=14783SIPpTag018.</div>
<div>Call-ID: <a href="mailto:1-15698@10.57.26.219" target="_blank">1-15698@10.57.26.219</a>.</div>
<div>CSeq: 1 INVITE.</div>
<div>Contact: <sip:<a href="http://10.57.26.239:5060">10.57.26.239:5060</a>;<wbr>transport=UDP>.</div>
<div>Content-Type: application/sdp.</div>
<div>Content-Length:   135.</div>
<div>.</div>
<div>v=0.</div>
<div>o=user1 53655765 2353687637 IN IP4 10.57.26.239.</div>
<div>s=-.</div>
<div>c=IN IP4 10.57.26.239.</div>
<div>t=0 0.</div>
<div>m=audio 6000 RTP/AVP 0.</div>
<div>a=rtpmap:0 PCMU/8000.</div>
<div> </div>
</div>
<div> </div>
</div>
<div><strong>kamailio.conf:</strong></div>
<div>
<div> </div>
<div># ----- mi_fifo params -----</div>
<div>modparam("mi_fifo", "fifo_name", "/var/run/kamailio/kamailio_<wbr>fifo")</div>
<div>modparam("ctl", "binrpc", "unix:/var/run/kamailio/<wbr>kamailio_ctl")</div>
<div> </div>
<div># ----- rr params -----</div>
<div># add value to ;lr param to cope with most of the UAs</div>
<div>modparam("rr", "enable_full_lr", 0)</div>
<div># do not append from tag to the RR (no need for this script)</div>
<div>modparam("rr", "append_fromtag", 0)</div>
<div> </div>
<div> </div>
<div># ----- acc params -----</div>
<div>modparam("acc", "log_flag", 1)</div>
<div>modparam("acc", "failed_transaction_flag", 3)</div>
<div>modparam("acc", "log_extra", </div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>"src_user=$fU;src_domain=$fd;<wbr>dst_ouser=$tU;dst_user=$rU;<wbr>dst_domain=$rd;src_ip=$si")</div>
<div> </div>
<div># ----- tm params -----</div>
<div>modparam("tm", "fr_timer", 2000)</div>
<div>modparam("tm", "fr_inv_timer", 40000)</div>
<div> </div>
<div># ----- dispatcher params -----</div>
<div>#modparam("dispatcher", "db_url",</div>
<div>#<span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>"mysql://openser:openserro@<wbr>localhost/openser")</div>
<div>modparam("dispatcher", "list_file", "/etc/kamailio/dispatcher.<wbr>list")</div>
<div>modparam("dispatcher", "table_name", "dispatcher")</div>
<div>modparam("dispatcher", "flags", 2)</div>
<div>modparam("dispatcher", "dst_avp", "$avp(AVP_DST)")</div>
<div>modparam("dispatcher", "grp_avp", "$avp(AVP_GRP)")</div>
<div>modparam("dispatcher", "cnt_avp", "$avp(AVP_CNT)")</div>
<div> </div>
<div>####### Routing Logic ########</div>
<div> </div>
<div> </div>
<div># main request routing logic</div>
<div> </div>
<div>route {</div>
<div> </div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span># per request initial checks</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>route(REQINIT);</div>
<div> </div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span># handle requests within SIP dialogs</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>route(WITHINDLG);</div>
<div> </div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>### only initial requests (no To tag)</div>
<div> </div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span># CANCEL processing</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>if (is_method("CANCEL"))</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>{</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>if (t_check_trans())</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>t_relay();</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>exit;</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>}</div>
<div> </div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>t_check_trans();</div>
<div> </div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span># record routing for dialog forming requests (in case they are routed)</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span># - remove preloaded route headers</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>remove_hf("Route");</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>if (is_method("INVITE|SUBSCRIBE")<wbr>)</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>record_route();</div>
<div> </div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span># account only INVITEs</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>if (is_method("INVITE"))</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>{</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>setflag(1); # do accounting</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>}</div>
<div> </div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span># handle presence related requests</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>route(PRESENCE);</div>
<div> </div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span># handle registrations</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>route(REGISTRAR);</div>
<div> </div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>if ($rU==$null)</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>{</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span># request with no Username in RURI</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>sl_send_reply("484","Address Incomplete");</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>exit;</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>}</div>
<div> </div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span># dispatch destinations</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>route(DISPATCH);</div>
<div> </div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>route(RELAY);</div>
<div>}</div>
<div> </div>
<div> </div>
<div>route[RELAY] {</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>if (!t_relay()) {</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>sl_reply_error();</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>}</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>exit;</div>
<div>}</div>
<div> </div>
<div># Per SIP request initial checks</div>
<div>route[REQINIT] {</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>if (!mf_process_maxfwd_header("<wbr>15")) {</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>sl_send_reply("483","Too Many Hops");</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>exit;</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>}</div>
<div> </div>
<div># 1= only check the header RURI,  1126 checks some other general stuff </div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>if(!sanity_check("1126", "1"))</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>{</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>xlog("Malformed SIP message from $si:$sp\n");</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>exit;</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>}</div>
<div>}</div>
<div> </div>
<div># Handle requests within SIP dialogs</div>
<div>route[WITHINDLG] {</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>if (has_totag()) {</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span># sequential request withing a dialog should</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span># take the path determined by record-routing</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>xlog("#######WITHINDLG:<wbr>hastotag $si:$sp\n");</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>if (loose_route()) {</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>xlog("#######WITHINDLG:<wbr>looseroute $si:$sp\n");</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>if (is_method("BYE")) {</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>setflag(1); # do accounting ...</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>setflag(3); # ... even if the transaction fails</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>}</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>route(RELAY);</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>} else {</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>if (is_method("SUBSCRIBE") && uri == myself) {</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span># in-dialog subscribe requests</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>route(PRESENCE);</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>exit;</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>}</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>if ( is_method("ACK") ) {</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>if ( t_check_trans() ) {</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>xlog("#######WITHINDLG:ACK transaction found $si:$sp\n");</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span># non loose-route, but stateful ACK;</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span># must be ACK after a 487 or e.g. 404 from upstream server</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>t_relay();</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>exit;</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>} else {</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span># ACK without matching transaction ... ignore and discard.</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>xlog("#######WITHINDLG:ACK no transaction found so discard $si:$sp\n");</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>exit;</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>}</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>}</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>sl_send_reply("404","Not here");</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>}</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>exit;</div>
<div><span class="m_-7944103494113541711gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>}</div>
<div>}</div>
</div>
<div> </div>
<div> </div>
<div>Debug:</div>
<div> </div>
<div>
<div>Dec 15 15:12:02 DNS-enum-8Gb-3 kamailio[6864]: 1(6883) DEBUG: <core> [parser/msg_parser.c:623]: parse_msg(): SIP Request:</div>
<div>Dec 15 15:12:02 DNS-enum-8Gb-3 kamailio[6864]: 1(6883) DEBUG: <core> [parser/msg_parser.c:625]: parse_msg():  method:  <ACK></div>
<div>Dec 15 15:12:02 DNS-enum-8Gb-3 kamailio[6864]: 1(6883) DEBUG: <core> [parser/msg_parser.c:627]: parse_msg():  uri:     <sip:<a href="http://10.57.26.239:5060">10.57.26.239:5060</a>;<wbr>transport=UDP></div>
<div>Dec 15 15:12:02 DNS-enum-8Gb-3 kamailio[6864]: 1(6883) DEBUG: <core> [parser/msg_parser.c:629]: parse_msg():  version: <SIP/2.0></div>
<div>Dec 15 15:12:02 DNS-enum-8Gb-3 kamailio[6864]: 1(6883) DEBUG: <core> [parser/parse_via.c:1284]: parse_via_param(): Found param type 232, <branch> = <z9hG4bK-15698-1-5>; state=16</div>
<div>Dec 15 15:12:02 DNS-enum-8Gb-3 kamailio[6864]: 1(6883) DEBUG: <core> [parser/parse_via.c:2672]: parse_via(): end of header reached, state=5</div>
<div>Dec 15 15:12:02 DNS-enum-8Gb-3 kamailio[6864]: 1(6883) DEBUG: <core> [parser/msg_parser.c:513]: parse_headers(): parse_headers: Via found, flags=2</div>
<div>Dec 15 15:12:02 DNS-enum-8Gb-3 kamailio[6864]: 1(6883) DEBUG: <core> [parser/msg_parser.c:515]: parse_headers(): parse_headers: this is the first via</div>
<div>Dec 15 15:12:02 DNS-enum-8Gb-3 kamailio[6864]: 1(6883) DEBUG: <core> [receive.c:154]: receive_msg(): After parse_msg...</div>
<div>Dec 15 15:12:02 DNS-enum-8Gb-3 kamailio[6864]: 1(6883) DEBUG: <core> [receive.c:197]: receive_msg(): preparing to run routing scripts...</div>
<div>Dec 15 15:12:02 DNS-enum-8Gb-3 kamailio[6864]: 1(6883) DEBUG: sl [sl_funcs.c:412]: sl_filter_ACK(): DEBUG : sl_filter_ACK: to late to be a local ACK!</div>
<div>Dec 15 15:12:02 DNS-enum-8Gb-3 kamailio[6864]: 1(6883) DEBUG: <core> [parser/parse_addr_spec.c:176]<wbr>: parse_to_param(): DEBUG: add_param: tag=14783SIPpTag018</div>
<div>Dec 15 15:12:02 DNS-enum-8Gb-3 kamailio[6864]: 1(6883) DEBUG: <core> [parser/parse_addr_spec.c:898]<wbr>: parse_addr_spec(): end of header reached, state=29</div>
<div>Dec 15 15:12:02 DNS-enum-8Gb-3 kamailio[6864]: 1(6883) DEBUG: <core> [parser/msg_parser.c:190]: get_hdr_field(): DEBUG: get_hdr_field: <To> [57]; uri=[<a href="http://sip:service@10.57.26.220:5060" target="_blank">sip:service@10.57.26.220:<wbr>5060</a>]</div>
<div>Dec 15 15:12:02 DNS-enum-8Gb-3 kamailio[6864]: 1(6883) DEBUG: <core> [parser/msg_parser.c:192]: get_hdr_field(): DEBUG: to body [sut <<a href="http://sip:service@10.57.26.220:5060" target="_blank">sip:service@10.57.26.220:5060</a><wbr>>]</div>
<div>Dec 15 15:12:02 DNS-enum-8Gb-3 kamailio[6864]: 1(6883) DEBUG: <core> [parser/msg_parser.c:170]: get_hdr_field(): get_hdr_field: cseq <CSeq>: <1> <ACK></div>
<div>Dec 15 15:12:02 DNS-enum-8Gb-3 kamailio[6864]: 1(6883) DEBUG: maxfwd [mf_funcs.c:85]: is_maxfwd_present(): value = 70</div>
<div>Dec 15 15:12:02 DNS-enum-8Gb-3 kamailio[6864]: 1(6883) DEBUG: sanity [mod_sanity.c:255]: w_sanity_check(): sanity checks result: 1</div>
<div>Dec 15 15:12:02 DNS-enum-8Gb-3 kamailio[6864]: 1(6883) DEBUG: siputils [checks.c:106]: has_totag(): totag found</div>
<div>Dec 15 15:12:02 DNS-enum-8Gb-3 kamailio[6864]: 1(6883) ERROR: <script>: #######WITHINDLG:hastotag <a href="http://10.57.26.219:5060" target="_blank">10.57.26.219:5060</a></div>
<div>Dec 15 15:12:02 DNS-enum-8Gb-3 kamailio[6864]: 1(6883) DEBUG: <core> [parser/msg_parser.c:204]: get_hdr_field(): DEBUG: get_hdr_body : content_length=0</div>
<div>Dec 15 15:12:02 DNS-enum-8Gb-3 kamailio[6864]: 1(6883) DEBUG: <core> [parser/msg_parser.c:106]: get_hdr_field(): found end of header</div>
<div>Dec 15 15:12:02 DNS-enum-8Gb-3 kamailio[6864]: 1(6883) DEBUG: rr [loose.c:113]: find_first_route(): No Route headers found</div>
<div>Dec 15 15:12:02 DNS-enum-8Gb-3 kamailio[6864]: 1(6883) DEBUG: rr [loose.c:929]: loose_route(): There is no Route HF</div>
<div>Dec 15 15:12:02 DNS-enum-8Gb-3 kamailio[6864]: 1(6883) DEBUG: tm [t_lookup.c:1072]: t_check_msg(): DEBUG: t_check_msg: msg id=9 global id=8 T start=(nil)</div>
<div>Dec 15 15:12:02 DNS-enum-8Gb-3 kamailio[6864]: 1(6883) DEBUG: tm [t_lookup.c:527]: t_lookup_request(): t_lookup_request: start searching: hash=53919, isACK=1</div>
<div>Dec 15 15:12:02 DNS-enum-8Gb-3 kamailio[6864]: 1(6883) DEBUG: tm [t_lookup.c:485]: matching_3261(): DEBUG: RFC3261 transaction matching failed</div>
<div>Dec 15 15:12:02 DNS-enum-8Gb-3 kamailio[6864]: 1(6883) DEBUG: tm [t_lookup.c:709]: t_lookup_request(): DEBUG: t_lookup_request: no transaction found</div>
<div>Dec 15 15:12:02 DNS-enum-8Gb-3 kamailio[6864]: 1(6883) DEBUG: tm [t_lookup.c:1141]: t_check_msg(): DEBUG: t_check_msg: msg id=9 global id=9 T end=(nil)</div>
<div>Dec 15 15:12:02 DNS-enum-8Gb-3 kamailio[6864]: 1(6883) ERROR: <script>: #######WITHINDLG:ACK no transaction found so discard <a href="http://10.57.26.219:5060" target="_blank">10.57.26.219:5060</a></div>
<div>Dec 15 15:12:02 DNS-enum-8Gb-3 kamailio[6864]: 1(6883) DEBUG: <core> [usr_avp.c:643]: destroy_avp_list(): DEBUG:destroy_avp_list: destroying list (nil)</div>
</div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
</div>
<br>
</div></div><span class=""><pre>______________________________<wbr>_________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a>
</pre>
</span></blockquote>
<p> </p>
<div> </div>
</div>
<br>______________________________<wbr>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
<br></blockquote></div><br></div>