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