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