Problems with Freeswitch setup - Outbound
I am very new to Freeswitch so please accept my appologies if these questions seem to be trivial I am trying to setup FreeSwitch to work with Microsoft Speech Serevr 2007. I have been successful in getting Freeswitch to pass an incomming PSTN call to Speech Server. But I cannot get Freeswitch to dial out a call or transfer a call that is sent from Speech Server I have a file setup in C:\FreeSWITCH\conf\sip_profiles\external\ called voipms.xml which contains the following..(I have an account with voip.ms) <include> <gateway name="voipms"> </gateway> </include> And I have a file setup in C:\FreeSWITCH\conf\dialplan\public\ called Outbound.xml which contains the following <extension name="Outbound"> <condition field="destination_number" expression="^(1{0,1}\d{10})$"> <action application="set" data="effective_caller_id_number=12223334444"/> <action application="bridge" data="sofia/gateway/voipms/$1"/> </condition> </extension> When my Speech Server application tries to get FreeSwitch to transfer to another number, the console shows the following 2009-12-11 17:54:31.863512 [NOTICE] switch_ivr.c:1349 Transfer sofia/external/+1 9059183027@199.173.95.16:5060 to XML[%23904161234@public] 2009-12-11 17:54:31.879138 [NOTICE] switch_ivr_bridge.c:503 Hangup sofia/interna l/2482578002@127.0.0.1:5060 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2009-12-11 17:54:31.879138 [INFO] mod_dialplan_xml.c:315 Processing +14165551212 ->%23904161234 in context public 2009-12-11 17:54:31.879138 [NOTICE] switch_core_session.c:1086 Session 2 (sofia/ internal/2482578002@127.0.0.1:5060) Ended 2009-12-11 17:54:31.879138 [NOTICE] switch_core_session.c:1088 Close Channel sof ia/internal/2482578002@127.0.0.1:5060 [CS_DESTROY] 2009-12-11 17:54:31.879138 [NOTICE] switch_core_state_machine.c:179 Hangup sofia /external/+19059183027@199.173.95.16:5060 [CS_EXECUTE] [NORMAL_CLEARING] 2009-12-11 17:54:31.879138 [NOTICE] switch_core_session.c:1086 Session 1 (sofia/ external/+19059183027@199.173.95.16:5060) Ended 2009-12-11 17:54:31.879138 [NOTICE] switch_core_session.c:1088 Close Channel sof ia/external/+19059183027@199.173.95.16:5060 [CS_DESTROY] I really dont understand the line above that I have in Bold & Italic The number being transfered to was 4161234567...so I would have thought the line should read.. Processing +14165551212->4161234567 in context public Can anyone tell me what the "%2390" means and also any problems with my XML files that could be preventing the transfers from taking place Thanks Brian -- View this message in context: http://old.nabble.com/Problems-with-Freeswitch-setup---Outbound-tp26752894p2... Sent from the Freeswitch-users mailing list archive at Nabble.com.
On Fri, Dec 11, 2009 at 3:11 PM, bcxml <bcxml@hotmail.com> wrote:
I am very new to Freeswitch so please accept my appologies if these questions seem to be trivial
I am trying to setup FreeSwitch to work with Microsoft Speech Serevr 2007. I have been successful in getting Freeswitch to pass an incomming PSTN call to Speech Server. But I cannot get Freeswitch to dial out a call or transfer a call that is sent from Speech Server
I have a file setup in C:\FreeSWITCH\conf\sip_profiles\external\ called voipms.xml which contains the following..(I have an account with voip.ms)
<include> <gateway name="voipms">
</gateway> </include>
And I have a file setup in C:\FreeSWITCH\conf\dialplan\public\ called Outbound.xml which contains the following
<extension name="Outbound"> <condition field="destination_number" expression="^(1{0,1}\d{10})$"> <action application="set" data="effective_caller_id_number=12223334444"/> <action application="bridge" data="sofia/gateway/voipms/$1"/> </condition> </extension>
When my Speech Server application tries to get FreeSwitch to transfer to another number, the console shows the following
2009-12-11 17:54:31.863512 [NOTICE] switch_ivr.c:1349 Transfer sofia/external/+1 9059183027@199.173.95.16:5060 to XML[%23904161234@public] 2009-12-11 17:54:31.879138 [NOTICE] switch_ivr_bridge.c:503 Hangup sofia/interna l/2482578002@127.0.0.1:5060 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2009-12-11 17:54:31.879138 [INFO] mod_dialplan_xml.c:315 Processing +14165551212 ->%23904161234 in context public
This line is basically saying that you have a call coming from 4165551212 and it's looking for a destination number of %23904161234. The key here is that it is coming in the public context so you'll need to handle the routing in conf/dialplan/public.xml What should this call be doing once it comes in to FS? -MC
%23 is # so the question is should we URL decode that before routing? I thought we did... what version are you using now? /b On Dec 11, 2009, at 5:34 PM, Michael Collins wrote:
This line is basically saying that you have a call coming from 4165551212 and it's looking for a destination number of %23904161234. The key here is that it is coming in the public context so you'll need to handle the routing in conf/dialplan/ public.xml
What should this call be doing once it comes in to FS?
-MC
The version is FreeSWITCH Version 1.0.4 (14460) Brian Brian West-3 wrote:
%23 is # so the question is should we URL decode that before routing? I thought we did... what version are you using now?
/b
On Dec 11, 2009, at 5:34 PM, Michael Collins wrote:
This line is basically saying that you have a call coming from 4165551212 and it's looking for a destination number of %23904161234. The key here is that it is coming in the public context so you'll need to handle the routing in conf/dialplan/ public.xml
What should this call be doing once it comes in to FS?
-MC
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- View this message in context: http://old.nabble.com/Problems-with-Freeswitch-setup---Outbound-tp26752894p2... Sent from the Freeswitch-users mailing list archive at Nabble.com.
participants (4)
-
bcxml
-
Brian West
-
Michael Collins
-
Michael S Collins