[Freeswitch-users] [SOLVED] RE: [ERR] mod_sofia.c:4921 Invalid Gateway 'provider'

Edwin Reed-Sanchez ereedsanchez at gmail.com
Sat Aug 15 22:06:30 MSD 2015


[SOLVED]

The issue was in the vars.xml file.


<X-PRE-PROCESS cmd="set" data="external_ip=192.168.X.XXX"/>

the ip address needed to be set to internet IP address connected to server.



> ---------- Forwarded message ----------
> From: Steven Ayre <steveayre at gmail.com>
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> Cc:
> Date: Fri, 14 Aug 2015 21:32:10 +0100
> Subject: Re: [Freeswitch-users] [ERR] mod_sofia.c:4921 Invalid Gateway
> 'provider
>
>> [ERR] mod_sofia.c:4921 Invalid Gateway 'provider'
>
>
> This means you're using the dialstring sofia/gateway/provider/... and
> there's no gateway named 'provider'. In your example you should use
> sofia/gateway/callwithus-outbound/...
>
> Invalid Profile [external]
>
>
> This means the profile hasn't been loaded. Try 'sofia profile external
> start' and check for any error messages creating it.
>
> On 13 August 2015 at 23:48, Edwin Reed-Sanchez <ereedsanchez at gmail.com>
> wrote:
>
>>
>> I am getting error
>>
>> [ERR] mod_sofia.c:4921 Invalid Gateway 'provider'
>>
>> when trying to make a long distance call.
>>
>>
>> My /freeswitch/sip-profiles/external/profile.xml is
>>
>> ------
>>
>> <include>
>>
>>     <gateway name="callwithus-outbound">
>>
>>         <param name="username" value="05617XXXX"/>
>>
>>         <param name="password" value="05XXXX"/>
>>
>>         <param name="realm" value="callwithus"/>
>>
>>         <param name="proxy" value="sip.callwithus.com"/>
>>
>>         <param name="register" value="true"/>
>>
>>     </gateway>
>>
>> </include>
>>
>> ------
>>
>>
>> In fs_cli I did
>>
>> sofia profile external rescan
>>
>> Invalid Profile [external]
>>
>>
>> Thanks,
>> --
>> Edwin Reed-Sanchez
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150815/8d335b19/attachment-0001.html 


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