Hi SomSak,<br>Thanks for replying, Abd Don't forget while replying please put the Cc to Users@openser.org...<br><br>See&nbsp; <span style="font-weight: bold;"><span style="font-weight: bold;">Register, Invite and Cancel follow the Same RFC , When Comes to ACk and Bye&nbsp; it get different&nbsp; RFC's......
<br><span style="font-weight: bold;"><span style="font-weight: bold;"><br>U using&nbsp; the RTP&nbsp; or Media Proxy for your Media streaming.....<br><br><br></span></span></span></span><br><br><div><span class="gmail_quote">On 12/4/06, 
<b class="gmail_sendername">somsak vattanavakin</b> &lt;<a href="mailto:somsak@infowavenet.com">somsak@infowavenet.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Ravi<br><br>&nbsp;&nbsp;Thanks . after i saw log evenet on UAC .<br> i do not sure that ACK message from CALLER can not reach CALLEE so,after<br>about 30 second CALLEE HANGUP or not so i put some log .<br><br>&nbsp;&nbsp;in this case i do not sure also that my ADSL ROUTER(A) in front openser
<br>server is OK to handle SIP messages or not.<br><br>&nbsp;&nbsp;i think but do not test concept. that ACK message from CALLER is not<br>handle propery . any idea<br><br><br><br><br><br>&nbsp;&nbsp;from CALLER UAC1(janny) file<br><br>-------(1) INVITE Response 180 Ringing it seem OK -----
<br>[06-12-02]18:50:16.710 | Debug | RESIP:DUM | &quot;### Calling CreateAppDialog<br>### SIP/2.0 180 Ringing<br>Via: SIP/2.0/TCP<br><a href="http://192.168.100.101:6090">192.168.100.101:6090</a>;received=<a href="http://124.120.171.220">
124.120.171.220</a>;branch=z9hG4bK-d87543-af3a3525d4477d15-1--d87543-;rport=57489<br>Record-Route: &lt;sip:<a href="http://192.168.100.5">192.168.100.5</a>;transport=tcp;lr;ftag=ec59120b&gt;<br>Contact:<br>&lt;sip:somsak@124.120.171.220
:57505;rinstance=c1da0732275186e1;transport=TCP&gt;<br>To: &quot;&quot;somsak&quot;&quot;&lt;<a href="mailto:sip:somsak@infowavenet.com">sip:somsak@infowavenet.com</a>&gt;;tag=17458263<br>From: &quot;&quot;janny&quot;&quot;&lt;
<a href="mailto:sip:janny@infowavenet.com">sip:janny@infowavenet.com</a>&gt;;tag=ec59120b<br>Call-ID: MTJhNGMzNmMyMTE1YTRkOWUzMGI4YjI4ZDJkNzRiY2E.<br>CSeq: 2 INVITE<br>User-Agent: X-Lite release 1006e stamp 34025<br>-------end (1)
<br><br>----- (2)&nbsp;&nbsp;SEND ACK from UAC(1) to UAC(2) ------<br>-- it seem that CONTACT use public IP address but ???<br><br>[06-12-02]18:50:21.232 | Debug | RESIP:TRANSPORT | &quot;Transmitting to [ V4<br><a href="http://192.168.100.5:5060">
192.168.100.5:5060</a> TCP target domain=<a href="http://192.168.100.5">192.168.100.5</a> received on: Transport:<br>[ V4 <a href="http://0.0.0.0:6090">0.0.0.0:6090</a> TCP target domain=unspecified connectionId=0 ]<br>connectionId=0 ] tlsDomain= via [ V4 
<a href="http://192.168.100.101:6090">192.168.100.101:6090</a> TCP target<br>domain=<a href="http://192.168.100.5">192.168.100.5</a> connectionId=0 ]ACK<br>sip:somsak@124.120.171.220:57505;rinstance=c1da0732275186e1;transport=TCP
<br>SIP/2.0<br>Via: SIP/2.0/TCP<br><a href="http://192.168.100.101:6090">192.168.100.101:6090</a>;branch=z9hG4bK-d87543-c85e822254767701-1--d87543-;rport<br>Max-Forwards: 70<br>Route: &lt;sip:<a href="http://192.168.100.5">
192.168.100.5</a>;transport=tcp;lr;ftag=ec59120b&gt;<br>Contact: &lt;sip:janny@124.120.171.220:57489;transport=TCP&gt;<br>To: &quot;&quot;somsak&quot;&quot;&lt;<a href="mailto:sip:somsak@infowavenet.com">sip:somsak@infowavenet.com
</a>&gt;;tag=17458263<br>From: &quot;&quot;janny&quot;&quot;&lt;<a href="mailto:sip:janny@infowavenet.com">sip:janny@infowavenet.com</a>&gt;;tag=ec59120b<br>Call-ID: MTJhNGMzNmMyMTE1YTRkOWUzMGI4YjI4ZDJkNzRiY2E.<br>CSeq: 2 ACK
<br>----- end (2)<br><br>------(3)&nbsp;&nbsp;OTHER ACK MESSAGES<br>[06-12-02]18:50:42.303 | Debug | RESIP:TRANSPORT |<br>&quot;ConnectionBase::~ConnectionBase 02691E88&quot; |<br>[06-12-02]18:50:42.303 | Info | RESIP:TRANSACTION | &quot;Sending
<br>ConnectionTerminated 3 to TUs&quot; |<br>[06-12-02]18:50:42.303 | Info | RESIP:TRANSACTION | &quot;Try sending request<br>to a different dns result&quot; |<br>[06-12-02]18:50:42.303 | Info | RESIP:TRANSACTION | &quot;Ran out of dns
<br>entries for <a href="http://192.168.100.5">192.168.100.5</a>. Send 503&quot; |<br>[06-12-02]18:50:42.303 | Debug | RESIP | &quot;Helper::makeResponse(SipReq:<br>ACK somsak@124.120.171.220:57505 tid=c85e822254767701 cseq=ACK
<br>contact=janny@124.120.171.220:57489 / 2 from(tu) code=503 reason=&quot; |<br>[06-12-02]18:50:42.304 | Warning | RESIP:DNS | &quot;local hostname does not<br>contain a domain part&quot; |<br>[06-12-02]18:50:42.304 | Debug | RESIP:TRANSACTION | &quot;Send to TU: TU:
<br>DialogUsageManager size=1 SIP/2.0 503 Service Unavailable<br>Via: SIP/2.0/TCP<br><a href="http://192.168.100.101:6090">192.168.100.101:6090</a>;branch=z9hG4bK-d87543-c85e822254767701-1--d87543-;rport<br>To: &quot;&quot;somsak&quot;&quot;&lt;
<a href="mailto:sip:somsak@infowavenet.com">sip:somsak@infowavenet.com</a>&gt;;tag=17458263<br>From: &quot;&quot;janny&quot;&quot;&lt;<a href="mailto:sip:janny@infowavenet.com">sip:janny@infowavenet.com</a>&gt;;tag=ec59120b
<br>Call-ID: MTJhNGMzNmMyMTE1YTRkOWUzMGI4YjI4ZDJkNzRiY2E.<br>CSeq: 2 ACK<br>Warning: 499 IBT101 &quot;&quot;&quot;&quot;<br>Content-Length: 0<br><br><br>SIP/2.0 503 Service Unavailable<br>Via: SIP/2.0/TCP<br><a href="http://192.168.100.101:6090">
192.168.100.101:6090</a>;branch=z9hG4bK-d87543-c85e822254767701-1--d87543-;rport<br>To: &quot;&quot;somsak&quot;&quot;&lt;<a href="mailto:sip:somsak@infowavenet.com">sip:somsak@infowavenet.com</a>&gt;;tag=17458263<br>From: &quot;&quot;janny&quot;&quot;&lt;
<a href="mailto:sip:janny@infowavenet.com">sip:janny@infowavenet.com</a>&gt;;tag=ec59120b<br>Call-ID: MTJhNGMzNmMyMTE1YTRkOWUzMGI4YjI4ZDJkNzRiY2E.<br>CSeq: 2 ACK<br>Warning: 499 IBT101 &quot;&quot;&quot;&quot;<br>Content-Length: 0
<br><br>--------------- end (3)<br><br>----(4)&nbsp;&nbsp;BYE MESSAGE<br>--- same conact header use public IP ADDRESS<br>[06-12-02]18:51:00.658 | Debug | RESIP:DUM | &quot;SEND: BYE<br>sip:somsak@124.120.171.220:57505;rinstance=c1da0732275186e1;transport=TCP
<br>SIP/2.0<br>Via: SIP/2.0/ ;branch=z9hG4bK-d87543-5658db5aee54231a-1--d87543-;rport<br>Max-Forwards: 70<br>Route: &lt;sip:<a href="http://192.168.100.5">192.168.100.5</a>;transport=tcp;lr;ftag=ec59120b&gt;<br>Contact: &lt;
sip:janny@124.120.171.220:57489;addTransport&gt;<br>To: &quot;&quot;somsak&quot;&quot;&lt;<a href="mailto:sip:somsak@infowavenet.com">sip:somsak@infowavenet.com</a>&gt;;tag=17458263<br>From: &quot;&quot;janny&quot;&quot;&lt;
<a href="mailto:sip:janny@infowavenet.com">sip:janny@infowavenet.com</a>&gt;;tag=ec59120b<br>Call-ID: MTJhNGMzNmMyMTE1YTRkOWUzMGI4YjI4ZDJkNzRiY2E.<br>CSeq: 3 BYE<br><br>----- end(4)<br><br><br>&nbsp;&nbsp;from CALLEE UAC2(somsak) log file
<br>----- (5) many Retransmit message for INVITE from UAC1<br>----- it seem that UAC2 do not receive ACK from UAC1 right ?<br><br>SIP/2.0 200 OK<br>Via: SIP/2.0/TCP<br><a href="http://192.168.100.5">192.168.100.5</a>;branch=
z9hG4bK79e6.4fc365a5.0;received=<a href="http://124.120.168.128">124.120.168.128</a>;i=f<br>Via: SIP/2.0/TCP<br><a href="http://192.168.100.101:6090">192.168.100.101:6090</a>;received=<a href="http://124.120.171.220">124.120.171.220
</a>;branch=z9hG4bK-d87543-af3a3525d4477d15-1--d87543-;rport=57489<br>Record-Route: &lt;sip:<a href="http://192.168.100.5">192.168.100.5</a>;transport=tcp;lr=on;ftag=ec59120b&gt;<br>Contact:<br>&lt;sip:somsak@124.120.171.220
:57505;rinstance=c1da0732275186e1;transport=TCP&gt;<br>To: &quot;&quot;somsak&quot;&quot;&lt;<a href="mailto:sip:somsak@infowavenet.com">sip:somsak@infowavenet.com</a>&gt;;tag=17458263<br>From: &quot;&quot;janny&quot;&quot;&lt;
<a href="mailto:sip:janny@infowavenet.com">sip:janny@infowavenet.com</a>&gt;;tag=ec59120b<br>Call-ID: MTJhNGMzNmMyMTE1YTRkOWUzMGI4YjI4ZDJkNzRiY2E.<br>CSeq: 2 INVITE<br>----- end(5)<br><br>----(6) UAC2 send BYE message<br>
[06-12-02]18:50:53.263 | Info | RESIP:DUM |<br>&quot;&quot;&quot;somsak&quot;&quot;&lt;<a href="mailto:sip:somsak@infowavenet.com">sip:somsak@infowavenet.com</a>&gt;;tag=17458263 Sending BYE ACK not<br>received&quot; |<br>
[06-12-02]18:50:53.263 | Debug | RESIP:DUM | &quot;SEND: BYE<br>sip:janny@124.120.171.220:57489;transport=TCP SIP/2.0<br>Via: SIP/2.0/ ;branch=z9hG4bK-d87543-7541b52459249e06-1--d87543-;rport<br>Max-Forwards: 70<br>Route: &lt;sip:
<a href="http://192.168.100.5">192.168.100.5</a>;transport=tcp;lr=on;ftag=ec59120b&gt;<br>Contact:<br>&lt;sip:somsak@124.120.171.220:57505;rinstance=c1da0732275186e1;transport=TCP&gt;<br>To: &quot;&quot;janny&quot;&quot;&lt;
<a href="mailto:sip:janny@infowavenet.com">sip:janny@infowavenet.com</a>&gt;;tag=ec59120b<br>From: &quot;&quot;somsak&quot;&quot;&lt;<a href="mailto:sip:somsak@infowavenet.com">sip:somsak@infowavenet.com</a>&gt;;tag=17458263
<br>Call-ID: MTJhNGMzNmMyMTE1YTRkOWUzMGI4YjI4ZDJkNzRiY2E.<br>CSeq: 2 BYE<br>User-Agent: X-Lite release 1006e stamp 34025<br>Reason: SIP;description=&quot;&quot;ACK not received&quot;&quot;<br>Content-Length: 0<br>---- end(6)
<br><br><br>Somsak Vattanavakin<br><br>2753-7 Ladprao 99-101<br>Bangkok.10310 Thailand<br>Tel. (66)0-29350016 , 0-25386251<br>Fax. (66)0-25140253<br><a href="http://www.infowavenet.com">www.infowavenet.com</a><br><br>&gt; Hi Somsak
<br>&gt; The Same issue is faced ,<br>&gt;<br>&gt; The in ur&nbsp;&nbsp;FireWall/router, ...<br>&gt; In Router , openSER system is in DMZ mode, i'm Sure , Even through u did<br>&gt; like that...<br>&gt;<br>&gt; ADSL(A) Router is mis place the HeaderContact
<br>&gt;<br>&gt; Change the Router... with Support the SIP with NAT... Cisco , Linksys,<br>&gt; Zoom,<br>&gt;<br>&gt; can u check the Dialog file UAC ( x-lite 3.0) ... U can see there for<br>&gt; invited... Ack and Bye Contact Header is misplacing into the private
<br>&gt; ip,,,,,,<br>&gt;<br>&gt; Keep OpenSER direct to the Internet ( for testing ) ............<br>&gt; it will&nbsp;&nbsp;work finely........<br>&gt;<br><br>&nbsp;&nbsp; sorry i can not direct INTERNET connect<br><br><br><br>&gt; On 12/2/06, somsak vattanavakin &lt;
<a href="mailto:somsak@infowavenet.com">somsak@infowavenet.com</a>&gt; wrote:<br>&gt;&gt;<br>&gt;&gt; Dear All<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;i will setup openser behind NAT like these<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;
<br>&gt;&gt; OPENSER ---&gt; ADSL ROUTER(A) &lt;---&gt; INTERNET&nbsp;&nbsp;&lt;---&gt; ADSL ROUTER(B)&lt;--<br>&gt;&gt; UAC(1)<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;--<br>&gt;&gt; UAC(2)<br>
&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; for UAC to talk each others in the same network with OPENSER server&nbsp;&nbsp;and<br>&gt;&gt; try to REGISTER AND INVITE IT OK .<br>&gt;&gt;<br>&gt;&gt; but if i use UACs that located behind ADSL ROUTER(B) for REGISTER it OK
<br>&gt;&gt; when UAC(1) INVITE UAC(2) it RING and session established can heard<br>&gt;&gt; sound<br>&gt;&gt;<br>&gt;&gt; but after about 30 second the CALLEE UAC(2) is HANG UP while<br>&gt;&gt; CALLER&nbsp;&nbsp;UAC(1)<br>&gt;&gt; still show established
<br>&gt;&gt;<br>&gt;&gt; i saw some mail said that the problem may occour from ADSL ROUTER ITSELF<br>&gt;&gt; (AGL problem)or some say that ACK problem.&nbsp;&nbsp;if i connect UAC(1) and<br>&gt;&gt; UAC(2)<br>&gt;&gt; through ADSL ROUTER(B) to 
<a href="http://iptel.org">iptel.org</a> and i use UAC(1) INVITE UAC(2) it<br>&gt;&gt; work<br>&gt;&gt; no problem&nbsp;&nbsp;for 30 second disconnection . also if i use UAC(1) and<br>&gt;&gt; UAC(2)<br>&gt;&gt; conect to <a href="http://iptel.org">
iptel.org</a> through ADSL ROUTER(A) no problem . AT this point<br>&gt;&gt; can I CONCLUDE THAT BOTH ADSL ROUTER&nbsp;&nbsp;NO PROBLEM FOR SIP CONNECTION. is<br>&gt;&gt; it<br>&gt;&gt; TRUE ??<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; Next i saw from LOG file it seem no ACK MESSAGE and error like these
<br>&gt;&gt; --&nbsp;&nbsp;LOG FILE -------------<br>&gt;&gt; ERROR: tcp_blocking_connect: poll error: flags 18<br>&gt;&gt; ERROR: tcp_blocking_connect: SO_ERROR (111) Connection refused<br>&gt;&gt; ERROR: tcpconn_connect: tcp_blocking_connect failed
<br>&gt;&gt; ERROR: tcp_send: connect failed<br>&gt;&gt; ---<br>&gt;&gt;<br>&gt;&gt; for simply NAT testing i use openser.cfg like these<br>&gt;&gt;<br>&gt;&gt; ---------- OPENSER.CFG ---------<br>&gt;&gt;&nbsp;&nbsp; if (!method==&quot;REGISTER&quot;)
<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;record_route();<br>&gt;&gt;&nbsp;&nbsp; if (loose_route()) {<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # mark routing logic in request<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; append_hf(&quot;P-hint: rr-enforced\r\n&quot;);<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; route(1);<br>
&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;};<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp; if (!uri==myself) {<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # mark routing logic in request<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; append_hf(&quot;P-hint: outbound\r\n&quot;);<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; route(1);<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };
<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (uri==myself) {<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (method==&quot;REGISTER&quot;) {<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!www_authorize(&quot;<a href="http://infowavenet.com">infowavenet.com
</a>&quot;, &quot;subscriber&quot;)) {<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; www_challenge(&quot;<a href="http://infowavenet.com">infowavenet.com</a>&quot;, &quot;0&quot;);<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; exit;
<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fix_nated_register();<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; save(&quot;location&quot;);<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; exec_msg(&quot;cat &gt;&gt; /tmp/test&quot;);
<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; exit;<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lookup(&quot;aliases&quot;);<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!uri==myself) {<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; append_hf(&quot;P-hint: outbound alias\r\n&quot;);
<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; route(1);<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # native SIP destinations are handled using our USRLOC<br>&gt;&gt; DB<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!lookup(&quot;location&quot;)) {
<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sl_send_reply(&quot;404&quot;, &quot;Not Found&quot;);<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; exit;<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; append_hf(&quot;P-hint: usrloc applied\r\n&quot;);
<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; route(1);<br>&gt;&gt; }<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; route[1] {<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # send it out now; use stateful forwarding as it works reliably<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # even for UDP2TCP
<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fix_nated_contact();<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(method == &quot;INVITE&quot;)<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { fix_nated_sdp(&quot;3&quot;); }<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!t_relay()) {<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sl_reply_error();
<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } else { exec_msg(&quot;cat &gt;&gt; /tmp/test&quot;);}<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; exit;<br>&gt;&gt; }<br>&gt;&gt; ------------<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; MY QUESTION:<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp; 1) can openser server is BEHIND NAT ADSL ROUTER and receive Call from
<br>&gt;&gt; UAC from other NAT ROUTER .<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp; 2) if so what the problem that CALLEE HANGUP every 30 seconds<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;( i use XLITE v.3 for UAC )<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp; 3) if it possible can you fix 
openser.cfg that work for this situation<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; Best<br>&gt;&gt;<br>&gt;&gt; Somsak Vattanavakin<br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; Users mailing list
<br>&gt;&gt; <a href="mailto:Users@openser.org">Users@openser.org</a><br>&gt;&gt; <a href="http://openser.org/cgi-bin/mailman/listinfo/users">http://openser.org/cgi-bin/mailman/listinfo/users</a><br>&gt;&gt;<br>&gt;<br>&gt;
<br>&gt;<br>&gt; --<br>&gt; Thanks and Regards<br>&gt; Ravi Prakash Sunkara<br>&gt; <a href="mailto:ravi.sunkara@hyperion-tech.com">ravi.sunkara@hyperion-tech.com</a><br>&gt; M:+91 9985077535<br>&gt; O:+91 40 23114549<br>
&gt; F:+91 40 40208727<br>&gt; <a href="mailto:ravi.sunkara@hyperion-tech.com">ravi.sunkara@hyperion-tech.com</a><br>&gt; <a href="http://www.hyperion-tech.com">www.hyperion-tech.com</a><br>&gt;<br></blockquote></div><br>
<br clear="all"><br>-- <br>Thanks and Regards<br>Ravi Prakash Sunkara                <br><a href="mailto:ravi.sunkara@hyperion-tech.com">ravi.sunkara@hyperion-tech.com</a>         <br>M:+91 9985077535<br>O:+91 40 23114549<br>F:+91 40 40208727                 
<br><a href="mailto:ravi.sunkara@hyperion-tech.com">ravi.sunkara@hyperion-tech.com</a><br><a href="http://www.hyperion-tech.com">www.hyperion-tech.com</a>