<extension name="oubout_pstn">
<condition field="destination_number" expression="^(\d{10})$">
<!-- <action application="set" data="effective_caller_id_number=OUTBOUNDCALLERID"/> -->
<action application="bridge" data="sofia/gateway/outbound/$1"/>
</condition>
</extension>
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.
When I try dialing my cellphone number, however, I am seeing this in the CLI...
2013-03-23 17:06:23.280033 [ERR] mod_sofia.c:4671 Invalid Gateway 'outbound'
2013-03-23 17:06:23.280033 [NOTICE] mod_sofia.c:5072 Close Channel N/A [CS_NEW]
2013-03-23 17:06:23.280033 [NOTICE] switch_ivr_originate.c:2640 Cannot create outgoing channel of type [sofia] cause: [INVALID_GATEWAY]
2013-03-23 17:06:23.280033 [INFO] mod_dptools.c:3084 Originate Failed. Cause: INVALID_GATEWAY
2013-03-23 17:06:23.280033 [NOTICE] mod_dptools.c:3204 Hangup sofia/internal/
1002@10.0.1.5 [CS_EXECUTE] [INVALID_GATEWAY]
2013-03-23 17:06:23.280033 [NOTICE] switch_core_session.c:1536 Session 45 (sofia/internal/
1002@10.0.1.5) Ended
2013-03-23 17:06:23.280033 [NOTICE] switch_core_session.c:1540 Close Channel sofia/internal/
1002@10.0.1.5 [CS_DESTROY]