[prev in list] [next in list] [prev in thread] [next in thread] 

List:       serusers
Subject:    [SR-Users] two uac behind same nat one uac remain Cflag:: 0
From:       MingHon <gminghon () gmail ! com>
Date:       2011-06-29 1:30:47
Message-ID: BANLkTikMOZqHh390FZb_E3BVFmvubY+vnw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi List,

both uac register successfully but the issue is the first uac who register
the Cflag remain 0.

im using nat_uac_test("19").

thank you in advance.

here is the ul show:

AOR:: 102
                Contact:: sip:102@175.136.221.60:5062 Q=
                        Expires:: 103
                        Callid:: 678936531@175.136.221.60
                        Cseq:: 2
                        User-agent:: T22 7.3.0.50
                        Received:: sip:175.136.221.60:1056
                        State:: CS_SYNC
                        Flags:: 0
                        Cflag:: 192
                        Socket:: udp:60.53.82.184:5060
                        Methods:: 16383
        AOR:: 103
                Contact:: sip:103@175.136.221.60:5062 Q=
                        Expires:: 62
                        Callid:: 1621958925@175.136.221.60
                        Cseq:: 3
                        User-agent:: Yealink SIP-T18 18.0.0.70
                        State:: CS_SYNC
                        Flags:: 0
                        Cflag:: 0
                        Socket:: udp:60.53.82.184:5060
                        Methods:: 16383


and here is the wireshark on kamailio for ua 103 and 102.


E@< \<<5Rw REGISTER sip:aextddns.dyndns.info SIP/2.0
Via: SIP/2.0/UDP 175.136.221.60:5062;branch=z9hG4bK2080454766
From: "103" <sip:103@175.136.221.60>;tag=681558690
To: "103" <sip:103@aextddns.dyndns.info>
Call-ID: 1621958925@175.136.221.60
CSeq: 2 REGISTER
Contact: <sip:103@175.136.221.60:5062>
Authorization: Digest username="103", realm="aextddns.dyndns.info",
nonce="Tgp7mU4Kem3Qqyd66hwhWgmU8bNpL463", uri="si$
Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER,
SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
Max-Forwards: 70
User-Agent: Yealink SIP-T18 18.0.0.70
Expires: 3600
Content-Length: 0

E@<5R<PSIP/2.0 200 OK
Via: SIP/2.0/UDP 175.136.221.60:5062;branch=z9hG4bK2080454766;rport=5062
From: "103" <sip:103@175.136.221.60>;tag=681558690
To: "103" <sip:103@aextddns.dyndns.info
>;tag=cbf8071f5b02e3e2fd329ee5d72c3f65.d24e
Call-ID: 1621958925@175.136.221.60
CSeq: 2 REGISTER
Contact: <sip:103@175.136.221.60:5062>;expires=120
Server: kamailio (3.1.4 (i386/linux))
Content-Length: 0

--------------------------------------------------

E@< j<<5R 7REGISTER sip:aextddns.dyndns.info SIP/2.0
Via: SIP/2.0/UDP 175.136.221.60:5062;branch=z9hG4bK1080036976
From: "102" <sip:102@175.136.221.60>;tag=544575245
To: "102" <sip:102@aextddns.dyndns.info>
Call-ID: 678936531@175.136.221.60
CSeq: 2 REGISTER
Contact: <sip:102@175.136.221.60:5062>
Authorization: Digest username="102", realm="aextddns.dyndns.info",
nonce="Tgp8AU4KetWGb79MEU5MUHq+xA4xy+OW", uri="si$
Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER,
SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
Max-Forwards: 70
User-Agent: T22 7.3.0.50
Expires: 3600
Content-Length: 0

E@<5R< {SIP/2.0 200 OK
Via: SIP/2.0/UDP 175.136.221.60:5062;branch=z9hG4bK1080036976;rport=1056
From: "102" <sip:102@175.136.221.60>;tag=544575245
To: "102" <sip:102@aextddns.dyndns.info
>;tag=cbf8071f5b02e3e2fd329ee5d72c3f65.5cb8
Call-ID: 678936531@175.136.221.60
CSeq: 2 REGISTER
Contact: <sip:102@175.136.221.60:5062>;expires=120;received="sip:
175.136.221.60:1056"
Server: kamailio (3.1.4 (i386/linux))
Content-Length: 0


-- 
Regards,

MingHon

[Attachment #5 (text/html)]

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>



_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic