<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Try 'sofia status'. Does it list the gateway?</div><div><br></div><div>I suspect the gateway isn't at the correct level in the XML. It should be within the <gateways> tag. Also did you restart/reload freeswitch after saving the changes?</div><div><br>Steve</div><div><br></div><div><br></div><div><br>On 23 Mar 2013, at 11:41, Amit Kumar <<a href="mailto:findme@itsamit.com">findme@itsamit.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">Hi,<div><br></div><div style="">I am trying to call my cellphone using FreeSWITCH. So as per the cookbook, I added a gateway to external sip_profiles/</div><div style=""><br></div><div style=""><div><gateway name="outbound"></div>
<div> <param name="username" value="1001"/></div><div> <params name="realm" value="10.0.1.5"/></div><div> <param name="password" value="1234"/></div>
<div> <param name="expire-seconds" value="3600"/></div><div> </gateway></div><div><br></div><div><br></div><div style="">and I added a dialplan too</div><div style=""><br></div><div style=""><div>
<extension name="oubout_pstn"></div><div> <condition field="destination_number" expression="^(\d{10})$"></div><div> <!-- <action application="set" data="effective_caller_id_number=OUTBOUNDCALLERID"/> --></div>
<div> <action application="bridge" data="sofia/gateway/outbound/$1"/></div><div> </condition></div><div> </extension></div><div><br></div><div style="">I am using HT503 for my ATA, and it is connected to my fixed line. I have been able to get incoming calls to work with FreeSWITCH.</div>
<div style=""><br></div><div style="">When I try dialing my cellphone number, however, I am seeing this in the CLI...</div><div style=""><br></div><div style=""><br></div><div style=""><div>2013-03-23 17:06:23.280033 [ERR] mod_sofia.c:4671 Invalid Gateway 'outbound'</div>
<div>2013-03-23 17:06:23.280033 [NOTICE] mod_sofia.c:5072 Close Channel N/A [CS_NEW]</div><div>2013-03-23 17:06:23.280033 [NOTICE] switch_ivr_originate.c:2640 Cannot create outgoing channel of type [sofia] cause: [INVALID_GATEWAY]</div>
<div>2013-03-23 17:06:23.280033 [INFO] mod_dptools.c:3084 Originate Failed. Cause: INVALID_GATEWAY</div><div>2013-03-23 17:06:23.280033 [NOTICE] mod_dptools.c:3204 Hangup sofia/internal/<a href="mailto:1002@10.0.1.5">1002@10.0.1.5</a> [CS_EXECUTE] [INVALID_GATEWAY]</div>
<div>2013-03-23 17:06:23.280033 [NOTICE] switch_core_session.c:1536 Session 45 (sofia/internal/<a href="mailto:1002@10.0.1.5">1002@10.0.1.5</a>) Ended</div><div>2013-03-23 17:06:23.280033 [NOTICE] switch_core_session.c:1540 Close Channel sofia/internal/<a href="mailto:1002@10.0.1.5">1002@10.0.1.5</a> [CS_DESTROY]</div>
</div></div></div></div>
</div></blockquote><blockquote type="cite"><div><span>_________________________________________________________________________</span><br><span>Professional FreeSWITCH Consulting Services:</span><br><span><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></span><br><span><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a></span><br><span></span><br><span>FreeSWITCH-powered IP PBX: The CudaTel Communication Server</span><br><span><a href="http://www.cudatel.com">http://www.cudatel.com</a></span><br><span></span><br><span>Official FreeSWITCH Sites</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br><span><a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a></span><br><span><a href="http://www.cluecon.com">http://www.cluecon.com</a></span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br></div></blockquote></body></html>