[Freeswitch-users] Hangup problem/SIP BYE lacking authentication
Brian West
brian at freeswitch.org
Thu Oct 30 15:11:04 PDT 2008
Turn on the TPORT_LOG=1 ./freeswitch and let me see the challenge
packet.
/b
On Oct 30, 2008, at 4:45 PM, Wellie Chao wrote:
> Here is what I have:
>
> <include>
> <gateway name="broadview">
> <param name="username" value="MY_USERNAME"/>
> <param name="password" value="MY_PASSWORD"/>
> <param name="realm" value="64.115.128.6"/>
> <param name="proxy" value="64.115.128.6"/>
> <param name="register" value="false"/>
> </gateway>
> </include>
>
> Whether register is true or false doesn't seem to make a difference
> (except that Freeswitch then comes up with broadview in NOREG
> state). On calls from Metaswitch to Freeswitch, it's the same
> problem, and I get the same message in the Freeswitch logs:
>
> 2008-10-30 17:39:04 [ERR] sofia_reg.c:1089
> sofia_reg_handle_sip_r_challenge() No Matching gateway found
>
> I presume this is the same thing with the 401 Unauthorized packet
> being sent by Metaswitch in response to Freeswitch's BYE message.
> Note that the call itself goes just fine. I pick up, both sides can
> hear each other. Just the hangup gets messed up and for some reason
> Metaswitch expects an authenticated BYE message even though the
> connection was not authenticated in the beginning when Metaswitch
> initiated it. The packet trace shows this and it's very odd.
>
> Is that what you meant when you said set up a gateway in Freeswitch
> that has reg=false and the proper credentials?
More information about the FreeSWITCH-users
mailing list