[Freeswitch-users] proxy authentication required

Brian West brian at freeswitch.org
Mon May 12 16:46:27 PDT 2008


Stanley,
	You appear to be thinking that FreeSWITCH is a proxy from the way you  
have this configured.  Since we are a B2BUA things differ a tiny  
bit... The default configuration is setup for all outbound  
registrations to go on the "outbound" or "external" profile which by  
default will hit dialplan/public.xml.  If you look in the source  
directory for conf/directory/default/sippphone.com.noload and install  
that into /usr/local/freeswitch/directory/default/sipphone.com.xml and  
fill out the details outlined in the file then restart you'll be half  
way there.  Then open up dialplan/public.xml and bridge 17473133317 to  
sofia/208.74.66.11/1000


  Example for your extension (in public.xml which runs on sip port  
5080) :

     <extension name="public_did">
       <condition field="destination_number"  
expression="^(17473133317)$">
         <action application="bridge" data="sofia/208.74.66.11/1000"/>
       </condition>
     </extension>


Thanks,
/b
On May 12, 2008, at 5:37 PM, sye wrote:
> I install a freeswitch at this ip address  208.74.66.11.
>
> I make as ip call from gizmo (using  
> 17473133317 at proxy01.sipphone.com)  to  1000 at 208.74.66.11.
>
> I have two question:
> 1.  why freeswitch tried to find user 17473133317 at 208.74.66.11 ?   
> The phone number belongs to siphone.com, not  my freeswitch domain,
> 2.  why it sends challange for 1000 at 209.74.66.11 ?
>
>
>
> 2008-05-01 19:13:55 [DEBUG] sofia.c:219 sofia_event_callback() event  
> [nua_i_state] status [407][Proxy Authentication Required] session: n/a
> 2008-05-01 19:13:56 [WARNING] sofia_reg.c:892 sofia_reg_parse_auth()  
> can't find user [17473133317 at 208.74.66.11]
> 2008-05-01 19:13:56 [DEBUG] sofia_reg.c:482  
> sofia_reg_handle_register() send challange for [1000 at 208.74.66.11]
> 2008-05-01 19:13:56 [DEBUG] sofia.c:219 sofia_event_callback() event  
> [nua_i_state] status [403][Forbidden] session: n/a
>
>
> I set
>  <param name="accept-blind-reg" value="false"/>   in sofia.conf.xml   
> and sip_profile/default.xml and sip_profile/nat.xml.
>
> It doesn't help.
>
>
> Can anyone help ?
>
> Thanks,
>
> Stanley
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org





More information about the FreeSWITCH-users mailing list