<div dir="ltr">Daniel. I installed new Kamailio 4.2.<br><br>I set dialog module params like this:<div><br><div>modparam("dialog", "dlg_flag", 4)</div><div>modparam("dialog", "track_cseq_updates", 1)</div><br>Call still unsuccessfull. CSeq still the same<br><br><div>IP 10.0.1.12.5068 > 21.47.2.3.5060: UDP, length 1111</div><div>E..sH3..@.=.</div><div>............_.aINVITE <a href="mailto:sip%3A89176270590@sip.myprovider.com">sip:89176270590@sip.myprovider.com</a> SIP/2.0</div><div>Record-Route: <sip:sip.myservice.com:5068;nat=yes;ftag=as5255aaa8;lr=on></div><div>Via: SIP/2.0/UDP sip.myservice.com:5068;branch=z9hG4bK02b5.9eca1752d440937103c7e9bfc226bc94.0</div><div>Via: SIP/2.0/UDP 17.6.43.24:50600;received=17.6.43.24;branch=z9hG4bK4203f70a;rport=50600</div><div>Max-Forwards: 70</div><div>From: <<a href="mailto:sip%3Agw2@sip.myprovider.com">sip:gw2@sip.myprovider.com</a>>;tag=as5255aaa8</div><div>To: <<a href="mailto:sip%3A89176270590@sip.myprovider.com">sip:89176270590@sip.myprovider.com</a>></div><div>Contact:<<a href="http://sip:gw2@sip.myservice.com:5068">sip:gw2@sip.myservice.com:5068</a>></div><div>Call-ID: <a href="http://1b74d0a5402e76fb249fe8dc427ce99c@17.6.43.24:50600">1b74d0a5402e76fb249fe8dc427ce99c@17.6.43.24:50600</a></div><div>CSeq: 102 INVITE</div><div>User-Agent: Asterisk PBX 12.6.1</div><div>Date: Thu, 30 Oct 2014 21:50:46 GMT</div><div>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE</div><div>Supported: replaces, timer</div><div>Content-Type: application/sdp</div><div>Content-Length: 314</div><div><br></div><div>v=0</div><div>o=root 1822659339 1822659339 IN IP4 2.10.4.20</div><div>s=Asterisk PBX 12.6.1</div><div>c=IN IP4 2.10.4.20</div><div>t=0 0</div><div>m=audio 30162 RTP/AVP 8 3 0 101</div><div>a=rtpmap:8 PCMA/8000</div><div>a=rtpmap:3 GSM/8000</div><div>a=rtpmap:0 PCMU/8000</div><div>a=rtpmap:101 telephone-event/8000</div><div>a=fmtp:101 0-16</div><div>a=ptime:20</div><div>a=maxptime:150</div><div>a=sendrecv</div><div>a=rtcp:30163</div><div><br></div><div>IP 10.0.1.12.5068 > 17.6.43.24.50600: UDP, length 380</div><div>E...(p..@..5</div><div>....J.I......:.SIP/2.0 100 trying -- your call is important to us</div><div>Via: SIP/2.0/UDP 17.6.43.24:50600;branch=z9hG4bK4203f70a;rport=50600;received=17.6.43.24</div><div>From: <<a href="http://sip:webinar.device-200@17.6.43.24:50600">sip:webinar.device-200@17.6.43.24:50600</a>>;tag=as5255aaa8</div><div>To: <<a href="http://sip:89176270590@sip.myservice.com:5068">sip:89176270590@sip.myservice.com:5068</a>></div><div>Call-ID: <a href="http://1b74d0a5402e76fb249fe8dc427ce99c@17.6.43.24:50600">1b74d0a5402e76fb249fe8dc427ce99c@17.6.43.24:50600</a></div><div>CSeq: 102 INVITE</div><div>Server: MS Lync</div><div>Content-Length: 0</div><div><br></div><div><br></div><div><br></div><div><br></div><div>IP 21.47.2.3.5060 > 10.0.1.12.5068: UDP, length 671</div><div>E...Q?..3.CB....</div><div>...........SIP/2.0 401 Unauthorized</div><div>Via: SIP/2.0/UDP sip.myservice.com:5068;branch=z9hG4bK02b5.9eca1752d440937103c7e9bfc226bc94.0;received=2.10.4.20;rport=5068</div><div>Via: SIP/2.0/UDP 17.6.43.24:50600;received=17.6.43.24;branch=z9hG4bK4203f70a;rport=50600</div><div>From: <<a href="mailto:sip%3Agw2@sip.myprovider.com">sip:gw2@sip.myprovider.com</a>>;tag=as5255aaa8</div><div>To: <<a href="mailto:sip%3A89176270590@sip.myprovider.com">sip:89176270590@sip.myprovider.com</a>>;tag=as066163db</div><div>Call-ID: <a href="http://1b74d0a5402e76fb249fe8dc427ce99c@17.6.43.24:50600">1b74d0a5402e76fb249fe8dc427ce99c@17.6.43.24:50600</a></div><div>CSeq: 102 INVITE</div><div>Server: FastTel SoftSwitch</div><div>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH</div><div>Supported: replaces</div><div>WWW-Authenticate: Digest algorithm=MD5, realm="<a href="http://sip.myprovider.com">sip.myprovider.com</a>", nonce="7d150eae"</div><div>Content-Length: 0</div><div><br></div><div><br></div><div>IP 10.0.1.12.5068 > 21.47.2.3.5060: UDP, length 364</div><div>E...H4..@.@p</div><div>............t..ACK <a href="mailto:sip%3A89176270590@sip.myprovider.com">sip:89176270590@sip.myprovider.com</a> SIP/2.0</div><div>Via: SIP/2.0/UDP sip.myservice.com:5068;branch=z9hG4bK02b5.9eca1752d440937103c7e9bfc226bc94.0</div><div>Max-Forwards: 70</div><div>From: <<a href="mailto:sip%3Agw2@sip.myprovider.com">sip:gw2@sip.myprovider.com</a>>;tag=as5255aaa8</div><div>To: <<a href="mailto:sip%3A89176270590@sip.myprovider.com">sip:89176270590@sip.myprovider.com</a>>;tag=as066163db</div><div>Call-ID: <a href="http://1b74d0a5402e76fb249fe8dc427ce99c@17.6.43.24:50600">1b74d0a5402e76fb249fe8dc427ce99c@17.6.43.24:50600</a></div><div>CSeq: 102 ACK</div><div>Content-Length: 0</div><div><br></div><div><br></div><div>IP 10.0.1.12.5068 > 21.47.2.3.5060: UDP, length 1293</div><div>E..)H5..@.<.</div><div>...............INVITE <a href="mailto:sip%3A89176270590@sip.myprovider.com">sip:89176270590@sip.myprovider.com</a> SIP/2.0</div><div>Record-Route: <sip:sip.myservice.com:5068;nat=yes;ftag=as5255aaa8;lr=on></div><div>Via: SIP/2.0/UDP sip.myservice.com:5068;branch=z9hG4bK02b5.9eca1752d440937103c7e9bfc226bc94.1</div><div>Via: SIP/2.0/UDP 17.6.43.24:50600;received=17.6.43.24;branch=z9hG4bK4203f70a;rport=50600</div><div>Max-Forwards: 70</div><div>From: <<a href="mailto:sip%3Agw2@sip.myprovider.com">sip:gw2@sip.myprovider.com</a>>;tag=as5255aaa8</div><div>To: <<a href="mailto:sip%3A89176270590@sip.myprovider.com">sip:89176270590@sip.myprovider.com</a>></div><div>Contact:<<a href="http://sip:gw2@sip.myservice.com:5068">sip:gw2@sip.myservice.com:5068</a>></div><div>Call-ID: <a href="http://1b74d0a5402e76fb249fe8dc427ce99c@17.6.43.24:50600">1b74d0a5402e76fb249fe8dc427ce99c@17.6.43.24:50600</a></div><div>CSeq: 102 INVITE</div><div>User-Agent: Asterisk PBX 12.6.1</div><div>Date: Thu, 30 Oct 2014 21:50:46 GMT</div><div>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE</div><div>Supported: replaces, timer</div><div>Content-Type: application/sdp</div><div>Content-Length: 314</div><div>Authorization: Digest username="gw2", realm="<a href="http://sip.myprovider.com">sip.myprovider.com</a>", nonce="7d150eae", uri="<a href="mailto:sip%3A89176270590@sip.myprovider.com">sip:89176270590@sip.myprovider.com</a>", response="68af82b65cbbcd29a27873c7288a246f", algorithm=MD5</div><div><br></div><div>v=0</div><div>o=root 1822659339 1822659339 IN IP4 2.10.4.20</div><div>s=Asterisk PBX 12.6.1</div><div>c=IN IP4 2.10.4.20</div><div>t=0 0</div><div>m=audio 30162 RTP/AVP 8 3 0 101</div><div>a=rtpmap:8 PCMA/8000</div><div>a=rtpmap:3 GSM/8000</div><div>a=rtpmap:0 PCMU/8000</div><div>a=rtpmap:101 telephone-event/8000</div><div>a=fmtp:101 0-16</div><div>a=ptime:20</div><div>a=maxptime:150</div><div>a=sendrecv</div><div>a=rtcp:30163</div><div><br></div><div>IP 10.0.1.12.5068 > 21.47.2.3.5060: UDP, length 1293</div><div>E..)H6..@.<.</div><div>...............INVITE <a href="mailto:sip%3A89176270590@sip.myprovider.com">sip:89176270590@sip.myprovider.com</a> SIP/2.0</div><div>Record-Route: <sip:sip.myservice.com:5068;nat=yes;ftag=as5255aaa8;lr=on></div><div>Via: SIP/2.0/UDP sip.myservice.com:5068;branch=z9hG4bK02b5.9eca1752d440937103c7e9bfc226bc94.2</div><div>Via: SIP/2.0/UDP 17.6.43.24:50600;received=17.6.43.24;branch=z9hG4bK4203f70a;rport=50600</div><div>Max-Forwards: 70</div><div>From: <<a href="mailto:sip%3Agw2@sip.myprovider.com">sip:gw2@sip.myprovider.com</a>>;tag=as5255aaa8</div><div>To: <<a href="mailto:sip%3A89176270590@sip.myprovider.com">sip:89176270590@sip.myprovider.com</a>></div><div>Contact:<<a href="http://sip:gw2@sip.myservice.com:5068">sip:gw2@sip.myservice.com:5068</a>></div><div>Call-ID: <a href="http://1b74d0a5402e76fb249fe8dc427ce99c@17.6.43.24:50600">1b74d0a5402e76fb249fe8dc427ce99c@17.6.43.24:50600</a></div><div>CSeq: 102 INVITE</div><div>User-Agent: Asterisk PBX 12.6.1</div><div>Date: Thu, 30 Oct 2014 21:50:46 GMT</div><div>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE</div><div>Supported: replaces, timer</div><div>Content-Type: application/sdp</div><div>Content-Length: 314</div><div>Authorization: Digest username="gw2", realm="<a href="http://sip.myprovider.com">sip.myprovider.com</a>", nonce="7d150eae", uri="<a href="mailto:sip%3A89176270590@sip.myprovider.com">sip:89176270590@sip.myprovider.com</a>", response="68af82b65cbbcd29a27873c7288a246f", algorithm=MD5</div><div><br></div><div>v=0</div><div>o=root 1822659339 1822659339 IN IP4 2.10.4.20</div><div>s=Asterisk PBX 12.6.1</div><div>c=IN IP4 2.10.4.20</div><div>t=0 0</div><div>m=audio 30162 RTP/AVP 8 3 0 101</div><div>a=rtpmap:8 PCMA/8000</div><div>a=rtpmap:3 GSM/8000</div><div>a=rtpmap:0 PCMU/8000</div><div>a=rtpmap:101 telephone-event/8000</div><div>a=fmtp:101 0-16</div><div>a=ptime:20</div><div>a=maxptime:150</div><div>a=sendrecv</div><div>a=rtcp:30163</div><div><br></div><div><br></div><div><br></div><div>IP 21.47.2.3.5060 > 10.0.1.12.5068: UDP, length 671</div><div>E...Q@..3.CA....</div><div>...........SIP/2.0 401 Unauthorized</div><div>Via: SIP/2.0/UDP sip.myservice.com:5068;branch=z9hG4bK02b5.9eca1752d440937103c7e9bfc226bc94.1;received=2.10.4.20;rport=5068</div><div>Via: SIP/2.0/UDP 17.6.43.24:50600;received=17.6.43.24;branch=z9hG4bK4203f70a;rport=50600</div><div>From: <<a href="mailto:sip%3Agw2@sip.myprovider.com">sip:gw2@sip.myprovider.com</a>>;tag=as5255aaa8</div><div>To: <<a href="mailto:sip%3A89176270590@sip.myprovider.com">sip:89176270590@sip.myprovider.com</a>>;tag=as2ce5c2f5</div><div>Call-ID: <a href="http://1b74d0a5402e76fb249fe8dc427ce99c@17.6.43.24:50600">1b74d0a5402e76fb249fe8dc427ce99c@17.6.43.24:50600</a></div><div>CSeq: 102 INVITE</div><div>Server: FastTel SoftSwitch</div><div>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH</div><div>Supported: replaces</div><div>WWW-Authenticate: Digest algorithm=MD5, realm="<a href="http://sip.myprovider.com">sip.myprovider.com</a>", nonce="5f11cf69"</div><div>Content-Length: 0</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-10-30 20:26 GMT+04:00 Yuriy Gorlichenko <span dir="ltr"><<a href="mailto:ovoshlook@gmail.com" target="_blank">ovoshlook@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks for answer. Now will insttall it for tests.</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2014-10-30 20:01 GMT+04:00 Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    This feature (increasing/decreasing cseq for calls authenticated to
    the next hop by kamailio) is available with 4.2.0, by using dialog
    and uac modules.<br>
    <br>
    See more details at:<br>
      -
<a href="http://by-miconda.blogspot.de/2014/10/kamailio-42-tips-7-increment-cseq-for.html" target="_blank">http://by-miconda.blogspot.de/2014/10/kamailio-42-tips-7-increment-cseq-for.html</a><br>
    <br>
    Let me know if works ok for you, as I did not test it yet
    extensively.<br>
    <br>
    Cheers,<br>
    Daniel<div><div><br>
    <br>
    <div>On 30/10/14 16:11, Yuriy Gorlichenko
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">As I understand UAC module can not be used at
        production as module foroutgoing calls from kamailio to provider
        with this limitations?</div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2014-10-30 18:24 GMT+04:00 Pavel Eremin
          <span dir="ltr"><<a href="mailto:eremina.net@gmail.com" target="_blank">eremina.net@gmail.com</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <p dir="ltr">No way. Use sems or b2b.</p>
            <div class="gmail_quote">30.10.2014 19:59 пользователь
              "Yuriy Gorlichenko" <<a href="mailto:ovoshlook@gmail.com" target="_blank">ovoshlook@gmail.com</a>>
              написал:<br type="attribution">
              <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>
                  <div dir="ltr">Does it possible increase cSeq manually
                    (for example remove  and then append headers?) for
                    UAC module when send INVITE messages with Auth, or
                    kamailio have pseudovar for this header?</div>
                  <br>
                </span><span>_______________________________________________<br>
                  SIP Express Router (SER) and Kamailio (OpenSER) -
                  sr-users mailing list<br>
                  <a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
                  <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
                  <br>
                </span></blockquote>
            </div>
            <br>
            _______________________________________________<br>
            SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
            mailing list<br>
            <a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
            <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
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/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    </div></div><span><font color="#888888"><pre cols="72">-- 
Daniel-Constantin Mierla
<a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a></pre>
  </font></span></div>

<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>