I am using the sipXtapi library in a user agent.<br>When running behind NAT (with STUN and rport enabled)and register<br>with ser 0.9.6(basic configuration).It appears that the library detects the <br>external address correctly and registered successful. But I see in the
<br><br>Register message, in Via and Contact field some strange things, hence when ser send Invite message<br>for Calling, the user agent do not received Invite message because the port ser send Invite to<br>user agent do not match with the port user agent listen to.
<br><br><br>1. sipxtapi(sipxEzphone or CrossTalk):<br>Received stun message from stun server (Vovida stun server):<br>Attribute: MAPPED-ADDRESS<br>&nbsp;&nbsp;&nbsp; Attribute Type: MAPPED-ADDRESS (0x0001)<br>&nbsp;&nbsp;&nbsp; Port: 28766<br>&nbsp;&nbsp;&nbsp; IP: 
<br><a href="http://222.255.15.252">222.255.15.252</a> (<a href="http://222.255.15.252">222.255.15.252</a>)<br><br>Send Register message to ser:<br>Via: SIP/2.0/UDP <a href="http://222.255.15.252:28766">222.255.15.252:28766
</a>;branch=z9hG4bK-bdec6870a8f0;rport<br><br><br>2. Ser reply trying message:<br>Via: SIP/2.0/UDP <a href="http://222.255.15.252:28766">222.255.15.252:28766</a>;branch=z9hG4bK-bdec6870a8f0;rport=37171<br>Warning: 392 xxx.xxx.xxx.xxx
:5060 &quot;Noisy feedback tells:&nbsp; pid=29560 req_src_ip=<br><a href="http://222.255.15.252">222.255.15.252</a> req_src_port=37171 in_uri=sip:xxx.xxx.xxx.xxx out_uri=sip:xxx.xxx.xxx.xxx via_cnt==1&quot;<br><br>3. sipxtapi send Register message with Authorization:
<br>Via: SIP/2.0/UDP <br><a href="http://222.255.15.252:37171">222.255.15.252:37171</a>;branch=z9hG4bK-16af3dfa110f;rport<br><br>As above, ser will send Invite or Bye message to user agent in <a href="http://222.255.15.252:37171">
222.255.15.252:37171</a><br>, of course user agent using sipxtapi <br>can not receive these message.<br>Can I make the change in ser config? plz help me.<br>Thanks in advance,<br>Phan Duc<br><br>