I have phones registered internally and can call among them. However, when I dial "711" from an internal phone, freeswitch replies with "484 Address Incomplete" with reason "INVALID_NUMBER_FORMAT". At the server console, I see the following error: [ERR] mod_sofia.c:2645 Invalid Gateway Does anyone know why I get this error? Is there something more I must do to add the gateway below? I already added the following to the usr/local/freesitch/conf/dialplan/default.xml: <extension name="Testing - Mediant 1000"> <condition field="destination_number" expression="^(711)$"> <action application="bridge" data="sofia/gateway/mediant1000/$1"/> </condition> </extension> I already created a usr/local/freeswitch/conf/sip_profiles/external/mediant1000.xml file: <include> <gateway name="192.168.72.253"> <param name="username" value="TEOGateWay"/> <param name="password" value="tI0W*Cj@b"/> <param name="register" value="false"/> </gateway> </include> Best Regards, Jerry
Because you named your gateway 192.168.72.253, not mediant1000. You could name it mediant1000 and set <param name="proxy" value="192.168.72.253" />, or use sofia/gateway/192.168.72.253/... Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene@avgs.ca On 9-Sep-09, at 9:30 AM, Jerry Richards wrote:
I have phones registered internally and can call among them. However, when I dial "711" from an internal phone, freeswitch replies with "484 Address Incomplete" with reason "INVALID_NUMBER_FORMAT". At the server console, I see the following error:
[ERR] mod_sofia.c:2645 Invalid Gateway
Does anyone know why I get this error? Is there something more I must do to add the gateway below?
I already added the following to the usr/local/freesitch/conf/dialplan/default.xml:
<extension name="Testing - Mediant 1000"> <condition field="destination_number" expression="^(711)$"> <action application="bridge" data="sofia/gateway/ mediant1000/$1"/> </condition> </extension>
I already created a usr/local/freeswitch/conf/sip_profiles/external/mediant1000.xml file:
<include> <gateway name="192.168.72.253"> <param name="username" value="TEOGateWay"/> <param name="password" value="tI0W*Cj@b"/> <param name="register" value="false"/> </gateway> </include>
Best Regards, Jerry
_______________________________________________ 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
participants (2)
-
Jerry Richards
-
Mathieu Rene