[Freeswitch-users] How to Configure SIP DID to IVR

Michael Jerris mike at jerris.com
Wed Jul 2 09:24:22 PDT 2008


"^<DID number>" seems like an invalid regex.  is that literally what  
you have there or you have some number?

Mike

On Jul 2, 2008, at 12:16 PM, Hristo Benev wrote:

> Hi,
>
> I'm new to FS and trying to configure DID only configuration.
>
> Here is the setup:
> PSTN <->Cisco AS(realIP/maybe multiple ones in production) <->  
> FS(realIP)
>
> Cisco box is configured to send SIP to IP (real IP nor 192.168.x.x  
> type) and I do not have much control over it. No authentication is  
> needed.
>
> I'm using FS 1.0.0
>
> What I need to configure to send incoming PSTN calls to demo IVR
> What I've changed?
> Created cisco.xml file in /conf/directory/default
> ----------------
> <include>
>  <gateway name="Cisco1">
>    <param name="extension" value="<DID number>"/>
>    <param name="realm" value="<CiscoIP>"/>
>    <param name="proxy" value="<CiscoIP>"/>
>  </gateway>
> </include>
> ------------------
> Added to /conf/dialplan/default.xml
> -----------------------------
> <!-- test -->
>        <extension name="cisco">
>      <condition field="destination_number" expression="^<DID number>">
>        <action application="answer"/>
>        <action application="sleep" data="2000"/>
>        <action application="ivr" data="demo_ivr"/>
>      </condition>
>    </extension>
> ------------------------------
> When I call DID it just rings.
> If I connect to FS with SoftPhone on extension and I dial DID.
>
> I was able to get this configuration working with Asterisk(but had  
> some sound quality issues and wanted to try something else) so there  
> is no HW problem.
>
> Where is my misconfiguration(hopefully just this)?
>
> Thanks
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org





More information about the FreeSWITCH-users mailing list