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

Hristo Benev foxb at abv.bg
Wed Jul 2 09:16:03 PDT 2008


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




More information about the FreeSWITCH-users mailing list