[Freeswitch-users] Configuration for outbound call using PSTN
Amit Kumar
findme at itsamit.com
Sat Mar 23 14:41:11 MSK 2013
Hi,
I am trying to call my cellphone using FreeSWITCH. So as per the cookbook,
I added a gateway to external sip_profiles/
<gateway name="outbound">
<param name="username" value="1001"/>
<params name="realm" value="10.0.1.5"/>
<param name="password" value="1234"/>
<param name="expire-seconds" value="3600"/>
</gateway>
and I added a dialplan too
<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 at 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 at 10.0.1.5) Ended
2013-03-23 17:06:23.280033 [NOTICE] switch_core_session.c:1540 Close
Channel sofia/internal/1002 at 10.0.1.5 [CS_DESTROY]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130323/2e74b8a7/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list