[ERR] mod_sofia.c:2645 Invalid Gateway
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
Hi Jerry, verify you config, look this sintax: <action application="bridge" data="sofia/external/$1@GATEWAY-IP"/> OR <action application="bridge" data="sofia/external/$1@GATEWAY-NAME"/> On Wed, Sep 9, 2009 at 2:29 PM, Jerry Richards <jerry.richards@teotech.com>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-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- Atenciosamente, André Mendes Analista de Telecomunicações Plataformas VoIP & Linux
Both of those examples are wrong if you wish to dial via a gateway. sofia/gateway/GATEWAY-NAME/number NEVER and I mean NEVER do this: sofia/gateway/GATEWAY-NAME/number@host <-- WRONG WRONG WRONG. On Sep 9, 2009, at 12:38 PM, Andre Mendes . wrote:
Hi Jerry, verify you config, look this sintax:
<action application="bridge" data="sofia/external/$1@GATEWAY-IP"/> OR <action application="bridge" data="sofia/external/$1@GATEWAY-NAME"/>
Ok Brian, say this for my 200 server to communicate with this config... Ok And look what Jerry say..... sofia/gateway/mediant1000/$1 <--- NOT WORK On Wed, Sep 9, 2009 at 3:09 PM, Brian West <brian@freeswitch.org> wrote:
Both of those examples are wrong if you wish to dial via a gateway.
sofia/gateway/GATEWAY-NAME/number
NEVER and I mean NEVER do this:
sofia/gateway/GATEWAY-NAME/number@host <-- WRONG WRONG WRONG.
On Sep 9, 2009, at 12:38 PM, Andre Mendes . wrote:
Hi Jerry, verify you config, look this sintax:
<action application="bridge" data="sofia/external/$1@GATEWAY-IP"/> OR <action application="bridge" data="sofia/external/$1@GATEWAY-NAME"/>
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- Atenciosamente, André Mendes Analista de Telecomunicações Plataformas VoIP & Linux
Hi there folks, Dead right -- the gateway name=**** has to be *identical* to the value you put in the dialplan sofia/gateway/****/$1 call. [Yup -- did that -- you're not alone :] Just curious, but Jerry did say that he had put the gateway in sip_profiles/external. I suspect he's trying to call from a local phone, which may well use the internal profile -- given the default vs. public context in the standard installed confs, can this gateway be seen in this calling context (i.e. calling from the internal profile)? all the best, Lawrence On 9 Sep 2009, at 19:58, Brian West wrote:
This won't work because he didn't name is gateway mediant1000 he called it the IP address. /b
On Sep 9, 2009, at 1:29 PM, Andre Mendes . wrote:
And look what Jerry say..... sofia/gateway/mediant1000/$1 <--- NOT WORK
participants (4)
-
Andre Mendes .
-
Brian West
-
Jerry Richards
-
Lawrence Conroy