Hi,<br><br>I am using the same UA and Openser to do two tests.&nbsp; For the first case, UA is pointing to the external IP of openser.; the other test points the UA to openser&#39;s local ip.&nbsp; Registering is ok for both cases, but when I try to do an INVITE, the UA pointing to the local IP works whereas the one pointing to the external IP fails during proxy_authorize.&nbsp; <br>
<br><a href="http://88.251.45.4">88.251.45.4</a> -&gt; external ip of the entire network<br><a href="http://192.168.1.104">192.168.1.104</a> -&gt; openser&#39;s local ip<br><a href="http://192.168.1.100">192.168.1.100</a> -&gt; UA&#39;s local ip<br>
<br>Here is the INVITE with authentication digest from the UA pointing to the external IP address of openser:<br><br>U <a href="http://88.251.45.4:59864">88.251.45.4:59864</a> -&gt; <a href="http://192.168.1.104:5060">192.168.1.104:5060</a><br>
INVITE <a href="mailto:sip%3A1005@88.251.45.4">sip:1005@88.251.45.4</a> SIP/2.0.<br>Via: SIP/2.0/UDP 192.168.1.100:17480;branch=z9hG4bK-d87543-ea31ca6af52bd14c-1--d87543-;rport.<br>Max-Forwards: 70.<br>Contact: &lt;<a href="http://sip:1006@88.251.45.4:59864">sip:1006@88.251.45.4:59864</a>&gt;.<br>
To: &quot;1005&quot;&lt;<a href="mailto:sip%3A1005@88.251.45.4">sip:1005@88.251.45.4</a>&gt;.<br>From: &quot;1006&quot;&lt;<a href="mailto:sip%3A1006@88.251.45.4">sip:1006@88.251.45.4</a>&gt;;tag=d21e4745.<br>Call-ID: NGFlOTRmNTg3ZDFlYzJlYzdhNTlhNzZmMDRlOTJmOGY..<br>
CSeq: 2 INVITE.<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO.<br>Content-Type: application/sdp.<br>Proxy-Authorization: Digest username=&quot;1006&quot;,realm=&quot;<a href="http://88.251.45.4">88.251.45.4</a>&quot;,nonce=&quot;483edcaf82beda80a0c91fc75f486b8fd3f7bbc3&quot;,uri=&quot;<a href="mailto:sip%3A1005@88.251.45.4">sip:1005@88.251.45.4</a>&quot;,response=&quot;4423a99e44bb7266912de3a4af752b3f&quot;,cnonce=&quot;ece582bf4b1708b67bd1e86952313a63&quot;,nc=00000001,qop=auth,algorithm=MD5.<br>
User-Agent: X-Lite release 1011s stamp 41150.<br>Content-Length: 423.<br>.<br>v=0.<br>o=- 1 2 IN IP4 <a href="http://192.168.1.100">192.168.1.100</a>.<br>s=CounterPath X-Lite 3.0.<br>c=IN IP4 <a href="http://192.168.1.100">192.168.1.100</a>.<br>
t=0 0.<br>m=audio 34842 RTP/AVP 107 119 100 106 0 105 98 8 101.<br>a=alt:1 1 : bIn/n4cp vm9zXwFh <a href="http://192.168.1.100">192.168.1.100</a> 34842.<br>a=fmtp:101 0-15.<br>a=rtpmap:107 BV32/16000.<br>a=rtpmap:119 BV32-FEC/16000.<br>
a=rtpmap:100 SPEEX/16000.<br>a=rtpmap:106 SPEEX-FEC/16000.<br>a=rtpmap:105 SPEEX-FEC/8000.<br>a=rtpmap:98 iLBC/8000.<br>a=rtpmap:101 telephone-event/8000.<br>a=sendrecv.<br><br><br>Here is the INVITE resend from the UA pointing to openser&#39;s local IP:<br>
<br>U <a href="http://192.168.1.100:50314">192.168.1.100:50314</a> -&gt; <a href="http://192.168.1.104:5060">192.168.1.104:5060</a><br>INVITE <a href="mailto:sip%3A1005@192.168.1.104">sip:1005@192.168.1.104</a> SIP/2.0.<br>
Via: SIP/2.0/UDP 192.168.1.100:50314;branch=z9hG4bK-d87543-c34be44e3704d673-1--d87543-;rport.<br>Max-Forwards: 70.<br>Contact: &lt;<a href="http://sip:1006@192.168.1.100:50314">sip:1006@192.168.1.100:50314</a>&gt;.<br>To: &quot;1005&quot;&lt;<a href="mailto:sip%3A1005@192.168.1.104">sip:1005@192.168.1.104</a>&gt;.<br>
From: &quot;1006&quot;&lt;<a href="mailto:sip%3A1006@192.168.1.104">sip:1006@192.168.1.104</a>&gt;;tag=d4048226.<br>Call-ID: YTc4OTE2NmIyMWRkMjk3ZGNmYmY4OTg3NTQ5NWRhZDI..<br>CSeq: 2 INVITE.<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO.<br>
Content-Type: application/sdp.<br>Proxy-Authorization: Digest username=&quot;1006&quot;,realm=&quot;<a href="http://192.168.1.104">192.168.1.104</a>&quot;,nonce=&quot;483ede954fef336afd24141e99d516b0b7d9091a&quot;,uri=&quot;<a href="mailto:sip%3A1005@192.168.1.104">sip:1005@192.168.1.104</a>&quot;,response=&quot;1b77bf191fef631049bd6d6b7dcc9094&quot;,cnonce=&quot;e96a7e7d9677c4c41952bce7ac2a36e2&quot;,nc=00000001,qop=auth,algorithm=MD5.<br>
User-Agent: X-Lite release 1011s stamp 41150.<br>Content-Length: 423.<br>.<br>v=0.<br>o=- 7 2 IN IP4 <a href="http://192.168.1.100">192.168.1.100</a>.<br>s=CounterPath X-Lite 3.0.<br>c=IN IP4 <a href="http://192.168.1.100">192.168.1.100</a>.<br>
t=0 0.<br>m=audio 14816 RTP/AVP 107 119 100 106 0 105 98 8 101.<br>a=alt:1 1 : SP8QJ5e9 96jlnBkg <a href="http://192.168.1.100">192.168.1.100</a> 14816.<br>a=fmtp:101 0-15.<br>a=rtpmap:107 BV32/16000.<br>a=rtpmap:119 BV32-FEC/16000.<br>
a=rtpmap:100 SPEEX/16000.<br>a=rtpmap:106 SPEEX-FEC/16000.<br>a=rtpmap:105 SPEEX-FEC/8000.<br>a=rtpmap:98 iLBC/8000.<br>a=rtpmap:101 telephone-event/8000.<br>a=sendrecv.<br><br>The openser script associated wit proxy_authorize is :<br>
<br>if (!proxy_authorize(&quot;&quot;,&quot;subscriber&quot;)) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; xlog(&quot;not authorize need to do proxy challenge\n&quot;);
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; proxy_challenge(&quot;&quot;,&quot;1&quot;);
<br>&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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; } <br><br>What could be wrong with my setup?<br><br>Thanks in advance for your help.<br><br>Thanks,<br>Mark<br>