History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: XCF-2677
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Damian Krzeminski
Reporter: Andy Spitzer
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
sipXconfig

Add configuration for new sipxivr componant

Created: 2008-07-01 15:59   Updated: 2008-10-31 13:33
Component/s: autoattendant
Affects Version/s: 4.0
Fix Version/s: 3.11.7

Original Estimate: 1 day Remaining Estimate: 1 day Time Spent: Unknown
File Attachments: 1. Text File 0001-add-freeswitch-media-server-to-generate-proper-dial.patch (49 kb)
2. Text File 0002-XCF-2677-sofia.conf.xml-changes.patch (10 kb)
3. Text File autoattendants.xml.txt (3 kb)
4. Text File sipxivr.dialplan.txt (1 kb)
5. Text File sipxivr.properties.txt (1 kb)
6. Text File validusers.xml.txt (1 kb)

Issue Links:
Dependancy
This issue depends on:
XCF-2782 Add support for Freeswitch to new ser... Major Resolved
 
Related
 
This issue related to:
XECS-1463 Create a new FreeSWITCH based IVR tha... Major Resolved


 Description  « Hide
A new component sipxivr is about to be added that will initially replace the VoiceXML AutoAttendant with a Java based version that uses FreeSwitch as the underlying IVR engine. Later VoiceXML VoiceMail will be replaced as well.

There is some small configuration needed for sipxivr, independant of AA and VM. While sipxivr's version of AA currently works with all the existing AA conglomeration of configuration files and IMDB entries, most of those are in formats that can be consolidated into a single AA configuration.

Details of the new configuation files are attached.

--Woof!

 All   Comments   Work Log   Change History      Sort Order:
Andy Spitzer - 2008-07-02 11:06
Generic sipxivr.properties file description.

Andy Spitzer - 2008-07-02 11:35
autoattendants.xml configuration file description.

Configures the prompts, dialpad actions and schedules for the Auto
Attendants.

(Exact schema to be determined later)

--Woof!

Andy Spitzer - 2008-07-02 11:48
Dial plan changes to support sipxivr

--Woof!

Andy Spitzer - 2008-07-02 12:14
sipxivr configuration file validusers.xml Describes all users of the AA or VM, and all numeric extensions that are allowed to be dialed from the AA.

--Woof!

Andy Spitzer - 2008-07-02 16:55
autoattendants.xml configuration file description.

Configures the prompts, dialpad actions and schedules for the Auto
Attendants.

Formal schema to be determined later.

Damian Krzeminski - 2008-07-11 15:28
Preliminary patch series

Andy Spitzer - 2008-07-18 14:55
Checked in patches as of revision 13108.

Thanks Damian!

--Woof!

Andy Spitzer - 2008-07-18 15:10
Changes needed from Damian's config patch:

sipxivr.properties:
log.file is incorrectly prefexed with etc, not log
Need to add add ivr.voicemailUrl with the sip URL of the VoiceMail server (usually sip:101@...)

autoattendants.xml
All <dtmf> timeout values need to be in mS (x1000 the current value).
<dtmf> values for initialTimeout, extraDigitTimeout are missing.
<transferPrompt>{filename}</transferPrompt> needs full path not just name.
<transferUrl>{url}</transferUrl> needs to be a full URL, not just "extension"


Additional configuration that needs to be done before sipXivr will work:

In the FreeSWITCH configuration file "default_context.xml.in", the following needs to be added

    <extension name="IVR">
      <condition field="destination_number" expression="^IVR$">
        <action application="socket" data="127.0.0.1:8084 async"/>
      </condition>
    </extension>

Where 127.0.0.1 is the host running the sipXivr process, and :8084 is the same number as sipxivr.properties:freeswitch.eventSocketPort

That tells FreeSWITCH to send a TCP connection to that host:port on calls to IVR@...

In the FreeSWITCH configuration file "sofia.conf.xml.in", the following needs to be added
(After <profile>)
        <gateway name="${SIPXCHANGE_DOMAIN_NAME}">
            <param name="realm" value="{REALM GOES HERE}"/>
            <param name="username" value="~~id~media"/> -->
            <param name="password" value="{PASSCODE GOES HERE}"/> -->
        </gateway>

Where the value of "realm" is the sipXproxy realm, and the value of "password" is the correct authentication password that matches the username. This lets FreeSWITCH authenticate with the proxy as that user for blind transfer.

--Woof!

Damian Krzeminski - 2008-07-25 14:48
Some things are already fixed by: http://sipxecs.sipfoundry.org/ViewVC/sipXecs?view=rev&rev=13149

sipxivr.properties:
   log.file moved from etc/ to log/

autoattendant.xml:
   Added
   <dtmf>
      <initialDigitTimeout> Based on overallDigitTimeout
      <extraDigitTimeout> Based on interDigitTimeout
   </dtmf>


Damian Krzeminski - 2008-10-23 07:46
http://sipxecs.sipfoundry.org/ViewVC/sipXecs?view=rev&rev=13785

XCF-2677 add ConferenceBridgeContext.getBrigeByServer

needed to generate configuration for a specific freeswich instance

------------------------------------------------------------------------
http://sipxecs.sipfoundry.org/ViewVC/sipXecs?view=rev&rev=13786

XCF-2677 generate configuration files for freeswitch

Add code to generate default_context.xml and sofia.conf.xml in a standard was: similar to the way
sipx processes files are generated.
Declare additional resources for freeswitch process.

------------------------------------------------------------------------
http://sipxecs.sipfoundry.org/ViewVC/sipXecs?view=rev&rev=13787

XCF-2677 replace conference admission generation

Replicate entire freeswitch service configuration instead of just a conference admission part.



I opened XCF-2974 to track fixing transferPrompt paths
We also need to migrate various timeouts from sipXvxml to sipXivr - I'll start discussion on the list.

Damian Krzeminski - 2008-10-24 12:39
missed dialplan changes

Damian Krzeminski - 2008-10-28 12:08
add freeswitch media server to generate proper dial plan rules
    
Change MediaServer interface to accomodate for the 3rd type of Media server (Exchange, sipXvxml, sipXivr)
    
To allow parallel testing of sipXive and sipXvxml we generate sipXivr compatible rules for all AutoAttendant rules that have the 'sipXivr' phrase in the description.
The location and port is hardcoded to localhost:8084 for now.

Damian Krzeminski - 2008-10-28 12:44
set the 'name' parameter in a generated dial rule

Damian Krzeminski - 2008-10-30 17:16
XCF-2677 sofia.conf.xml changes
    
<gateway> is in the wrong position, it should be inside <profile>/<gateways>.
There should be
       <param name="register" value="false"/>
inside <gateway>.
    
Add:
<configuration>/<profiles>/<profile>/<settings>
   <param name="accept-blind-auth" value="true"/>
    
It stops FS from trying to authenticate.

Damian Krzeminski - 2008-10-31 13:33
http://sipxecs.sipfoundry.org/ViewVC/sipXecs?view=rev&rev=13869

XCF-2677 sofia.conf.xml changes

<gateway> is in the wrong position, it should be inside <profile>/<gateways>.
There should be
   <param name="register" value="false"/>
inside <gateway>.

Add:
<configuration>/<profiles>/<profile>/<settings>
  <param name="accept-blind-auth" value="true"/>

It stops FS from trying to authenticate.

http://sipxecs.sipfoundry.org/ViewVC/sipXecs?view=rev&rev=13876

XCF-2677 assume that freeswitch is running on the same server

To allow for testing sipXivr hardcoded location of freeswitch to MY_FULL_HOSTNAME:15060