<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>