Hi Jason Thanks for your response, I setup the configuration with 2 proxies based on the example of the freeswitch wiki.
I looked at freeswitch.log and found the following line. Dialplan: sofia/internal/[email protected] Action set(effective_caller_id_number=12223334444) Dialplan: sofia/internal/[email protected] Action bridge(sofia/gateway/voicepulse/5035440933) 2009-11-13 01:16:23.653519 [DEBUG] switch_core_state_machine.c:114 (sofia/internal/[email protected]) State Change CS_ROUTING -> CS_EXECUTE 2009-11-13 01:16:23.653519 [DEBUG] switch_core_session.c:932 Send signal sofia/internal/[email protected] [BREAK] 2009-11-13 01:16:23.653519 [DEBUG] switch_core_state_machine.c:484 (sofia/internal/[email protected]) State ROUTING going to sleep 2009-11-13 01:16:23.653519 [DEBUG] switch_core_state_machine.c:398 (sofia/internal/[email protected]) Running State Change CS_EXECUTE 2009-11-13 01:16:23.653519 [DEBUG] switch_core_state_machine.c:491 (sofia/internal/[email protected]) State EXECUTE 2009-11-13 01:16:23.653519 [DEBUG] mod_sofia.c:173 sofia/internal/ [email protected] SOFIA EXECUTE 2009-11-13 01:16:23.653519 [DEBUG] switch_core_state_machine.c:151 sofia/internal/[email protected] Standard EXECUTE EXECUTE sofia/internal/[email protected](insert/74.207.249.79-spymap/1000/115be3f6-d01c-11de-8360-976b377ef920) EXECUTE sofia/internal/[email protected](insert/74.207.249.79-last_dial/1000/5035440933) If this makes sense to someone ,could you please gently guide me in the right direction. Thanks Paul On Mon, Nov 9, 2009 at 9:37 PM, Paul Thirumalai <[email protected]>wrote: > Hello All > I am trying to configure freeswitch so that it sends outgoing calls to the > PSTN through voicepulse > My configuration is as follows. > I created a file $PREFIX/conf/sip_profiles/external/voicepulse.xml > > <include> > <!-- West Coast gateways --> > <gateway name="voicepulse"> > <param name="username" value="my-user"/> > <param name="realm" value="sjc-primary.voicepulse.com"/> > <param name="password" value="my-password"/> > <param name="proxy" value="sjc-primary.voicepulse.com"/> > <param name="expire-seconds" value="600"/> > <param name="register" value="true"/> > </gateway> > <gateway name="voicepulse-backup"> > <param name="username" value="my-user"/> > <param name="realm" value="sjc-backup.voicepulse.com"/> > <param name="password" value="my-password"/> > <param name="extension" value="1000"/> > <param name="proxy" value="sjc-backup.voicepulse.com"/> > <param name="expire-seconds" value="600"/> > <param name="register" value="true"/> > </gateway> > </include> > > I also have a dial plan defined as follows > > <extension name="Long Distance - voicepulse"> > <condition field="destination_number" expression="^(\d{10})$"> > <action application="set" > data="effective_caller_id_number=12223334444"/> > <!-- If your provider does not provide ringback (180 or 183) you may > simulate > ringback by uncommenting the following line. --> > <!-- action application="ringback" /--> > <action application="bridge" data="sofia/gateway/voicepulse/$1"/> > </condition> > </extension> > > > When I dial an external number using extension 1000 I get the following > message on the CLI > > ] > freeswi...@ubuntu> 2009-11-10 00:35:44.365614 [NOTICE] > switch_channel.c:602 New Channel > sofia/internal/[email protected][e4301180-cdba-11de-a864-8927fe94a9f0] > 2009-11-10 00:35:44.366623 [INFO] mod_dialplan_xml.c:315 Processing > Paul->5555555555 in context default > 2009-11-10 00:35:44.368645 [NOTICE] switch_channel.c:602 New Channel > sofia/external/5555555555 [e43092f4-cdba-11de-a864-8927fe94a9f0] > 2009-11-10 00:35:47.59221 [NOTICE] sofia_glue.c:2698 Pre-Answer > sofia/external/5555555555! > 2009-11-10 00:35:47.59221 [INFO] switch_ivr_originate.c:2017 Sending early > media > 2009-11-10 00:35:47.60524 [INFO] mod_sofia.c:1506 Ring SDP: > v=0 > o=FreeSWITCH 1257800805 1257800806 IN IP4 74.207.249.79 > s=FreeSWITCH > c=IN IP4 74.207.249.79 > t=0 0 > m=audio 30542 RTP/AVP 0 101 > a=rtpmap:0 pcmu/8000 > a=rtpmap:101 telephone-event/8000 > a=fmtp:101 0-16 > a=silenceSupp:off - - - - > a=ptime:20 > a=sendrecv > > 2009-11-10 00:35:47.60524 [NOTICE] mod_sofia.c:1509 Pre-Answer > sofia/internal/[email protected]! > 2009-11-10 00:35:51.449542 [NOTICE] sofia.c:3849 Hangup > sofia/external/5555555555 [CS_EXCHANGE_MEDIA] [NORMAL_TEMPORARY_FAILURE] > 2009-11-10 00:35:51.452539 [NOTICE] switch_ivr_bridge.c:419 Hangup > sofia/internal/[email protected] [CS_EXECUTE] [NORMAL_TEMPORARY_FAILURE] > 2009-11-10 00:35:51.454125 [NOTICE] switch_core_session.c:1086 Session 1 > (sofia/internal/[email protected]) Ended > 2009-11-10 00:35:51.454125 [NOTICE] switch_core_session.c:1088 Close > Channel sofia/internal/[email protected] [CS_DESTROY] > 2009-11-10 00:35:51.454125 [NOTICE] switch_core_session.c:1086 Session 2 > (sofia/external/5555555555) Ended > 2009-11-10 00:35:51.454125 [NOTICE] switch_core_session.c:1088 Close > Channel sofia/external/5555555555 [CS_DESTROY] > > > 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. > > Thanks > Paul >
_______________________________________________ FreeSWITCH-users mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
