make sure realm matches the realm in the challenge packet from the other device.<br><br><div class="gmail_quote">On Thu, Oct 30, 2008 at 5:11 PM, Brian West <span dir="ltr">&lt;<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Turn on the TPORT_LOG=1 ./freeswitch and let me see the challenge<br>
packet.<br>
<font color="#888888"><br>
/b<br>
</font><div><div></div><div class="Wj3C7c"><br>
On Oct 30, 2008, at 4:45 PM, Wellie Chao wrote:<br>
<br>
&gt; Here is what I have:<br>
&gt;<br>
&gt; &lt;include&gt;<br>
&gt; &nbsp;&lt;gateway name=&quot;broadview&quot;&gt;<br>
&gt; &nbsp; &nbsp;&lt;param name=&quot;username&quot; value=&quot;MY_USERNAME&quot;/&gt;<br>
&gt; &nbsp; &nbsp;&lt;param name=&quot;password&quot; value=&quot;MY_PASSWORD&quot;/&gt;<br>
&gt; &nbsp; &nbsp;&lt;param name=&quot;realm&quot; value=&quot;<a href="http://64.115.128.6" target="_blank">64.115.128.6</a>&quot;/&gt;<br>
&gt; &nbsp; &nbsp;&lt;param name=&quot;proxy&quot; value=&quot;<a href="http://64.115.128.6" target="_blank">64.115.128.6</a>&quot;/&gt;<br>
&gt; &nbsp; &nbsp;&lt;param name=&quot;register&quot; value=&quot;false&quot;/&gt;<br>
&gt; &nbsp;&lt;/gateway&gt;<br>
&gt; &lt;/include&gt;<br>
&gt;<br>
&gt; Whether register is true or false doesn&#39;t seem to make a difference<br>
&gt; (except that Freeswitch then comes up with broadview in NOREG<br>
&gt; state). On calls from Metaswitch to Freeswitch, it&#39;s the same<br>
&gt; problem, and I get the same message in the Freeswitch logs:<br>
&gt;<br>
&gt; 2008-10-30 17:39:04 [ERR] sofia_reg.c:1089<br>
&gt; sofia_reg_handle_sip_r_challenge() No Matching gateway found<br>
&gt;<br>
&gt; I presume this is the same thing with the 401 Unauthorized packet<br>
&gt; being sent by Metaswitch in response to Freeswitch&#39;s BYE message.<br>
&gt; Note that the call itself goes just fine. I pick up, both sides can<br>
&gt; hear each other. Just the hangup gets messed up and for some reason<br>
&gt; Metaswitch expects an authenticated BYE message even though the<br>
&gt; connection was not authenticated in the beginning when Metaswitch<br>
&gt; initiated it. The packet trace shows this and it&#39;s very odd.<br>
&gt;<br>
&gt; Is that what you meant when you said set up a gateway in Freeswitch<br>
&gt; that has reg=false and the proper credentials?<br>
<br>
<br>
</div></div><div><div></div><div class="Wj3C7c">_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>