<br>Hi Jason <br>Thanks for your response, I setup the configuration with 2 proxies based on the example of the freeswitch wiki.<br><br>I looked at freeswitch.log and found the following line. <br><br>Dialplan: sofia/internal/<a href="mailto:1000@74.207.249.79">1000@74.207.249.79</a> Action set(effective_caller_id_number=12223334444)<br>
Dialplan: sofia/internal/<a href="mailto:1000@74.207.249.79">1000@74.207.249.79</a> Action bridge(sofia/gateway/voicepulse/5035440933)<br>2009-11-13 01:16:23.653519 [DEBUG] switch_core_state_machine.c:114 (sofia/internal/<a href="mailto:1000@74.207.249.79">1000@74.207.249.79</a>) State Change CS_ROUTING -> CS_EXECUTE<br>
2009-11-13 01:16:23.653519 [DEBUG] switch_core_session.c:932 Send signal sofia/internal/<a href="mailto:1000@74.207.249.79">1000@74.207.249.79</a> [BREAK]<br>2009-11-13 01:16:23.653519 [DEBUG] switch_core_state_machine.c:484 (sofia/internal/<a href="mailto:1000@74.207.249.79">1000@74.207.249.79</a>) State ROUTING going to sleep<br>
2009-11-13 01:16:23.653519 [DEBUG] switch_core_state_machine.c:398 (sofia/internal/<a href="mailto:1000@74.207.249.79">1000@74.207.249.79</a>) Running State Change CS_EXECUTE<br>2009-11-13 01:16:23.653519 [DEBUG] switch_core_state_machine.c:491 (sofia/internal/<a href="mailto:1000@74.207.249.79">1000@74.207.249.79</a>) State EXECUTE<br>
2009-11-13 01:16:23.653519 [DEBUG] mod_sofia.c:173 sofia/internal/<a href="mailto:1000@74.207.249.79">1000@74.207.249.79</a> SOFIA EXECUTE<br>2009-11-13 01:16:23.653519 [DEBUG] switch_core_state_machine.c:151 sofia/internal/<a href="mailto:1000@74.207.249.79">1000@74.207.249.79</a> Standard EXECUTE<br>
EXECUTE sofia/internal/<a href="mailto:1000@74.207.249.79">1000@74.207.249.79</a> hash(insert/74.207.249.79-spymap/1000/115be3f6-d01c-11de-8360-976b377ef920)<br>EXECUTE sofia/internal/<a href="mailto:1000@74.207.249.79">1000@74.207.249.79</a> hash(insert/74.207.249.79-last_dial/1000/5035440933)<br>
<br><br>If this makes sense to someone ,could you please gently guide me in the right direction.<br><br>Thanks<br>Paul<br><br><br><div class="gmail_quote">On Mon, Nov 9, 2009 at 9:37 PM, Paul Thirumalai <span dir="ltr"><<a href="mailto:paul.thirumalai@gmail.com">paul.thirumalai@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">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" target="_blank">sjc-primary.voicepulse.com</a>"/><br>
<param name="password" value="my-password"/><br> <param name="proxy" value="<a href="http://sjc-primary.voicepulse.com" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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><font color="#888888">Paul<br>
</font></blockquote></div><br>