Hi List,<div><br></div><div>both uac register successfully but the issue is the first uac who register the Cflag remain 0.</div><div><br></div><div>im using nat_uac_test(&quot;19&quot;).</div><div><br></div><div>thank you in advance.</div>
<div><br></div><div>here is the ul show:</div><div><br></div><div><div><span class="Apple-tab-span" style="white-space:pre">        </span>AOR:: 102</div><div>                Contact:: <a href="http://sip:102@175.136.221.60:5062">sip:102@175.136.221.60:5062</a> Q=</div>
<div>                        Expires:: 103</div><div>                        Callid:: <a href="mailto:678936531@175.136.221.60">678936531@175.136.221.60</a></div><div>                        Cseq:: 2</div><div>                        User-agent:: T22 7.3.0.50</div>
<div>                        Received:: sip:<a href="http://175.136.221.60:1056">175.136.221.60:1056</a></div><div>                        State:: CS_SYNC</div><div>                        Flags:: 0</div><div>                        Cflag:: 192</div>
<div>                        Socket:: udp:<a href="http://60.53.82.184:5060">60.53.82.184:5060</a></div><div>                        Methods:: 16383</div><div>        AOR:: 103</div><div>                Contact:: <a href="http://sip:103@175.136.221.60:5062">sip:103@175.136.221.60:5062</a> Q=</div>
<div>                        Expires:: 62</div><div>                        Callid:: <a href="mailto:1621958925@175.136.221.60">1621958925@175.136.221.60</a></div><div>                        Cseq:: 3</div><div>                        User-agent:: Yealink SIP-T18 18.0.0.70</div>
<div>                        State:: CS_SYNC</div><div>                        Flags:: 0</div><div>                        Cflag:: 0</div><div>                        Socket:: udp:<a href="http://60.53.82.184:5060">60.53.82.184:5060</a></div>
<div>                        Methods:: 16383</div></div><div><br></div><div><br></div><div>and here is the wireshark on kamailio for ua 103 and 102.</div><div><br></div><div><br></div><div><div>E@&lt; \&lt;&lt;5Rw REGISTER sip:<a href="http://aextddns.dyndns.info">aextddns.dyndns.info</a> SIP/2.0</div>
<div>Via: SIP/2.0/UDP 175.136.221.60:5062;branch=z9hG4bK2080454766</div><div>From: &quot;103&quot; &lt;<a href="mailto:sip%3A103@175.136.221.60">sip:103@175.136.221.60</a>&gt;;tag=681558690</div><div>To: &quot;103&quot; &lt;<a href="mailto:sip%3A103@aextddns.dyndns.info">sip:103@aextddns.dyndns.info</a>&gt;</div>
<div>Call-ID: <a href="mailto:1621958925@175.136.221.60">1621958925@175.136.221.60</a></div><div>CSeq: 2 REGISTER</div><div>Contact: &lt;<a href="http://sip:103@175.136.221.60:5062">sip:103@175.136.221.60:5062</a>&gt;</div>
<div>Authorization: Digest username=&quot;103&quot;, realm=&quot;<a href="http://aextddns.dyndns.info">aextddns.dyndns.info</a>&quot;, nonce=&quot;Tgp7mU4Kem3Qqyd66hwhWgmU8bNpL463&quot;, uri=&quot;si$</div><div>Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE</div>
<div>Max-Forwards: 70</div><div>User-Agent: Yealink SIP-T18 18.0.0.70</div><div>Expires: 3600</div><div>Content-Length: 0</div><div><br></div><div>E@&lt;5R&lt;PSIP/2.0 200 OK</div><div>Via: SIP/2.0/UDP 175.136.221.60:5062;branch=z9hG4bK2080454766;rport=5062</div>
<div>From: &quot;103&quot; &lt;<a href="mailto:sip%3A103@175.136.221.60">sip:103@175.136.221.60</a>&gt;;tag=681558690</div><div>To: &quot;103&quot; &lt;<a href="mailto:sip%3A103@aextddns.dyndns.info">sip:103@aextddns.dyndns.info</a>&gt;;tag=cbf8071f5b02e3e2fd329ee5d72c3f65.d24e</div>
<div>Call-ID: <a href="mailto:1621958925@175.136.221.60">1621958925@175.136.221.60</a></div><div>CSeq: 2 REGISTER</div><div>Contact: &lt;<a href="http://sip:103@175.136.221.60:5062">sip:103@175.136.221.60:5062</a>&gt;;expires=120</div>
<div>Server: kamailio (3.1.4 (i386/linux))</div><div>Content-Length: 0</div></div><div><br></div><div>--------------------------------------------------</div><div><br></div><div><div>E@&lt; j&lt;&lt;5R 7REGISTER sip:<a href="http://aextddns.dyndns.info">aextddns.dyndns.info</a> SIP/2.0</div>
<div>Via: SIP/2.0/UDP 175.136.221.60:5062;branch=z9hG4bK1080036976</div><div>From: &quot;102&quot; &lt;<a href="mailto:sip%3A102@175.136.221.60">sip:102@175.136.221.60</a>&gt;;tag=544575245</div><div>To: &quot;102&quot; &lt;<a href="mailto:sip%3A102@aextddns.dyndns.info">sip:102@aextddns.dyndns.info</a>&gt;</div>
<div>Call-ID: <a href="mailto:678936531@175.136.221.60">678936531@175.136.221.60</a></div><div>CSeq: 2 REGISTER</div><div>Contact: &lt;<a href="http://sip:102@175.136.221.60:5062">sip:102@175.136.221.60:5062</a>&gt;</div>
<div>Authorization: Digest username=&quot;102&quot;, realm=&quot;<a href="http://aextddns.dyndns.info">aextddns.dyndns.info</a>&quot;, nonce=&quot;Tgp8AU4KetWGb79MEU5MUHq+xA4xy+OW&quot;, uri=&quot;si$</div><div>Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE</div>
<div>Max-Forwards: 70</div><div>User-Agent: T22 7.3.0.50</div><div>Expires: 3600</div><div>Content-Length: 0</div><div><br></div><div>E@&lt;5R&lt; {SIP/2.0 200 OK</div><div>Via: SIP/2.0/UDP 175.136.221.60:5062;branch=z9hG4bK1080036976;rport=1056</div>
<div>From: &quot;102&quot; &lt;<a href="mailto:sip%3A102@175.136.221.60">sip:102@175.136.221.60</a>&gt;;tag=544575245</div><div>To: &quot;102&quot; &lt;<a href="mailto:sip%3A102@aextddns.dyndns.info">sip:102@aextddns.dyndns.info</a>&gt;;tag=cbf8071f5b02e3e2fd329ee5d72c3f65.5cb8</div>
<div>Call-ID: <a href="mailto:678936531@175.136.221.60">678936531@175.136.221.60</a></div><div>CSeq: 2 REGISTER</div><div>Contact: &lt;<a href="http://sip:102@175.136.221.60:5062">sip:102@175.136.221.60:5062</a>&gt;;expires=120;received=&quot;sip:<a href="http://175.136.221.60:1056">175.136.221.60:1056</a>&quot;</div>
<div>Server: kamailio (3.1.4 (i386/linux))</div><div>Content-Length: 0</div></div><div><br></div><div><br></div><div>-- <br>Regards,<br><br>MingHon<br>
</div>