Hello All<br>I am trying to configure freeswitch so that it sends outgoing calls to the PSTN through voicepulse<br>My configuration is as follows.<br>I created a file $PREFIX/conf/sip_profiles/external/voicepulse.xml<br><br>
<include><br><!-- West Coast gateways --><br> <gateway name="voicepulse"><br> <param name="username" value="my-user"/><br> <param name="realm" value="<a href="http://sjc-primary.voicepulse.com">sjc-primary.voicepulse.com</a>"/><br>
<param name="password" value="my-password"/><br> <param name="proxy" value="<a href="http://sjc-primary.voicepulse.com">sjc-primary.voicepulse.com</a>"/><br> <param name="expire-seconds" value="600"/><br>
<param name="register" value="true"/><br> </gateway><br> <gateway name="voicepulse-backup"><br> <param name="username" value="my-user"/><br>
<param name="realm" value="<a href="http://sjc-backup.voicepulse.com">sjc-backup.voicepulse.com</a>"/><br> <param name="password" value="my-password"/><br> <param name="extension" value="1000"/><br>
<param name="proxy" value="<a href="http://sjc-backup.voicepulse.com">sjc-backup.voicepulse.com</a>"/><br> <param name="expire-seconds" value="600"/><br> <param name="register" value="true"/><br>
</gateway><br></include><br><br>I also have a dial plan defined as follows<br><br><extension name="Long Distance - voicepulse"><br> <condition field="destination_number" expression="^(\d{10})$"><br>
<action application="set" data="effective_caller_id_number=12223334444"/><br> <!-- If your provider does not provide ringback (180 or 183) you may simulate<br> ringback by uncommenting the following line. --><br>
<!-- action application="ringback" /--><br> <action application="bridge" data="sofia/gateway/voicepulse/$1"/><br> </condition><br> </extension><br><br>
<br>When I dial an external number using extension 1000 I get the following message on the CLI<br><br>]<br>freeswitch@ubuntu> 2009-11-10 00:35:44.365614 [NOTICE] switch_channel.c:602 New Channel sofia/internal/<a href="mailto:1000@74.207.249.79">1000@74.207.249.79</a> [e4301180-cdba-11de-a864-8927fe94a9f0]<br>
2009-11-10 00:35:44.366623 [INFO] mod_dialplan_xml.c:315 Processing Paul->5555555555 in context default<br>2009-11-10 00:35:44.368645 [NOTICE] switch_channel.c:602 New Channel sofia/external/5555555555 [e43092f4-cdba-11de-a864-8927fe94a9f0]<br>
2009-11-10 00:35:47.59221 [NOTICE] sofia_glue.c:2698 Pre-Answer sofia/external/5555555555!<br>2009-11-10 00:35:47.59221 [INFO] switch_ivr_originate.c:2017 Sending early media<br>2009-11-10 00:35:47.60524 [INFO] mod_sofia.c:1506 Ring SDP:<br>
v=0<br>o=FreeSWITCH 1257800805 1257800806 IN IP4 74.207.249.79<br>s=FreeSWITCH<br>c=IN IP4 74.207.249.79<br>t=0 0<br>m=audio 30542 RTP/AVP 0 101<br>a=rtpmap:0 pcmu/8000<br>a=rtpmap:101 telephone-event/8000<br>a=fmtp:101 0-16<br>
a=silenceSupp:off - - - -<br>a=ptime:20<br>a=sendrecv<br><br>2009-11-10 00:35:47.60524 [NOTICE] mod_sofia.c:1509 Pre-Answer sofia/internal/<a href="mailto:1000@74.207.249.79">1000@74.207.249.79</a>!<br>2009-11-10 00:35:51.449542 [NOTICE] sofia.c:3849 Hangup sofia/external/5555555555 [CS_EXCHANGE_MEDIA] [NORMAL_TEMPORARY_FAILURE]<br>
2009-11-10 00:35:51.452539 [NOTICE] switch_ivr_bridge.c:419 Hangup sofia/internal/<a href="mailto:1000@74.207.249.79">1000@74.207.249.79</a> [CS_EXECUTE] [NORMAL_TEMPORARY_FAILURE]<br>2009-11-10 00:35:51.454125 [NOTICE] switch_core_session.c:1086 Session 1 (sofia/internal/<a href="mailto:1000@74.207.249.79">1000@74.207.249.79</a>) Ended<br>
2009-11-10 00:35:51.454125 [NOTICE] switch_core_session.c:1088 Close Channel sofia/internal/<a href="mailto:1000@74.207.249.79">1000@74.207.249.79</a> [CS_DESTROY]<br>2009-11-10 00:35:51.454125 [NOTICE] switch_core_session.c:1086 Session 2 (sofia/external/5555555555) Ended<br>
2009-11-10 00:35:51.454125 [NOTICE] switch_core_session.c:1088 Close Channel sofia/external/5555555555 [CS_DESTROY]<br><br><br>I am really new to VOIP and having a hard time with this. I am really not sure how to proceed. Any help would be really appreciated.<br>
<br>Thanks<br>Paul<br>