[Freeswitch-users] Problem Registering Gateway

Armando Kumbara mandikum at gmail.com
Mon Aug 25 12:54:12 MSD 2014


try it like this:

on /sip_profiles/external/vb.xml

<include>
      <param name="register" value="false"/>
      <param name="realm" value="108.59.2.133"/>
      <param name="expire-seconds" value="600"/>
      <param name="retry-seconds" value="30"/>
      <param name="ping" value="25"/>
      </gateway>
</include>

on  /conf/autoload_configs/acl.conf.xml you need to add teh following lines:

<list name="domains" default="deny">
      <node type="allow" cidr="108.59.2.133/32"/>

remember to do a reload of the external profile and acl from cli:

   sofia profile external restart
   reloadacl
   reloadxml



On Mon, Aug 25, 2014 at 9:59 AM, Steven Ayre <steveayre at gmail.com> wrote:

> To clarify, they're also returning 405 method not acceptable when you try
> placing a call, ie in response to the invite packet?
>
>
> On 24 August 2014 21:39, Ave ebock <babyphatt2k at yahoo.com> wrote:
>
>> Hi Steven,
>> Removed REGISTER, but im still getting the issue.
>> The Folks at the Provider Company havent been of any help either
>>
>> Thank You
>>
>>
>>   On Sunday, August 24, 2014 3:27 PM, Steven Ayre <steveayre at gmail.com>
>> wrote:
>>
>>
>>  Perhaps they don't have the REGISTER method enabled? In SIP you aren't
>> required to register to make outgoing calls, only to tell the server where
>> you receive incoming ones.
>>
>>
>> On 24 August 2014 01:18, Ave ebock <babyphatt2k at yahoo.com> wrote:
>>
>> Hi,
>> Please im trying to register a gateway that uses IP Authentication. I've
>> added the IP address of my freeswitch to my service provider and i have
>> this in my /sip_profiles/external/vb.xml
>> <include>
>>       <gateway name="vb">
>>       <param name="register" value="false"/>
>>       <param name="username" value="username"/>
>>       <param name="password" value="password"/>
>>       <param name="proxy" value="108.59.2.133"/>
>>       <param name="realm" value="108.59.2.133"/>
>>       <param name="expire-seconds" value="600"/>
>>       <param name="retry-seconds" value="30"/>
>>       <param name="ping" value="25"/>
>>       </gateway>
>> </include>
>>
>>  when i do sofia profile external register vb, i get an error
>>
>> vb Registration Failed with status Method Not Allowed [405]
>>
>> Please what might i be doing wrong
>>
>> I have other providers that do not use IP authentication and i've got no
>> issue with them.
>>
>> Thank you
>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> 
>> 
>>
>> 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
>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> 
>> 
>>
>> 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
>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> 
>> 
>>
>> 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
>>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> 
> 
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140825/328711b4/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list