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"><<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>></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>
> Here is what I have:<br>
><br>
> <include><br>
> <gateway name="broadview"><br>
> <param name="username" value="MY_USERNAME"/><br>
> <param name="password" value="MY_PASSWORD"/><br>
> <param name="realm" value="<a href="http://64.115.128.6" target="_blank">64.115.128.6</a>"/><br>
> <param name="proxy" value="<a href="http://64.115.128.6" target="_blank">64.115.128.6</a>"/><br>
> <param name="register" value="false"/><br>
> </gateway><br>
> </include><br>
><br>
> Whether register is true or false doesn't seem to make a difference<br>
> (except that Freeswitch then comes up with broadview in NOREG<br>
> state). On calls from Metaswitch to Freeswitch, it's the same<br>
> problem, and I get the same message in the Freeswitch logs:<br>
><br>
> 2008-10-30 17:39:04 [ERR] sofia_reg.c:1089<br>
> sofia_reg_handle_sip_r_challenge() No Matching gateway found<br>
><br>
> I presume this is the same thing with the 401 Unauthorized packet<br>
> being sent by Metaswitch in response to Freeswitch's BYE message.<br>
> Note that the call itself goes just fine. I pick up, both sides can<br>
> hear each other. Just the hangup gets messed up and for some reason<br>
> Metaswitch expects an authenticated BYE message even though the<br>
> connection was not authenticated in the beginning when Metaswitch<br>
> initiated it. The packet trace shows this and it's very odd.<br>
><br>
> Is that what you meant when you said set up a gateway in Freeswitch<br>
> 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>