[Freeswitch-users] Problems with Freeswitch setup - Outbound

Michael Collins msc at freeswitch.org
Fri Dec 11 15:34:14 PST 2009


On Fri, Dec 11, 2009 at 3:11 PM, bcxml <bcxml at 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 at 199.173.95.16:5060 to XML[%23904161234 at public]
> 2009-12-11 17:54:31.879138 [NOTICE] switch_ivr_bridge.c:503 Hangup
> sofia/interna
> l/2482578002 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091211/c85d280d/attachment-0002.html 


More information about the FreeSWITCH-users mailing list