Probably you have not an external profile, because the format of the profile config file is wrong.

Going by memory, you probably need a "gateways" tag to contain the individual "gateway" tags. If is not this error, is some other error.
Anyway, check that format.

-giovanni

sent from my mobile,
Giovanni Maruzzelli
cell: +39 347 266 56 18

On Aug 14, 2015 3:46 PM, "Edwin Reed-Sanchez" <ereedsanchez@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



_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org