[Freeswitch-users] IVR menu ending with #

David Knell dave at 3c.co.uk
Thu Aug 28 08:52:32 PDT 2008


Just a thought, but # arrives encoded as %23 in events.  Is it appearing 
as such in the IVR
menu string - it'd explain why the regex match fails.

--Dave
> Hi Brian,
>
> Here is the XML I am using in ivr.conf.xml
>
>     <menu name="conf_ivr"
>           greet-long="phrase:conf_ivr_main_menu"
>           invalid-sound="ivr/ivr-that_was_an_invalid_entry.wav"
>           exit-sound="voicemail/vm-goodbye.wav"
>           timeout ="10000"
>           inter-digit-timeout="2000"
>           max-failures="3"
>           digit-len="6">
>           <entry action="menu-exec-app" digits="/^(\d{5})#$/"
> param="transfer $1 XML default"/>
>           <entry action="menu-exec-app" digits="9999" param="transfer
> 9999 XML default"/>
>           <entry action="menu-top" digits="9"/>          <!-- Repeat
> this menu -->
>     </menu>
>
> I have set the digit-len properly but some how it is not working for #
> but I tried for * it worked fine
>
> This is the entry for *
>
>           <entry action="menu-exec-app" digits="/^(\d{5})\*$/"
> param="transfer $1 XML default"/>
>
> Looking for your reply..
>
> Thanks,
> Sheeju
>
> On Thu, Aug 28, 2008 at 7:18 PM, Brian West <brian at freeswitch.org> wrote:
>   
>> Show me the whole XML for this.  I suspect maybe you don't have the
>> digit-len set correctly.
>>
>> /b
>>
>> On Aug 28, 2008, at 7:21 AM, Sheeju Alex wrote:
>>
>>     
>>> Hi All,
>>>
>>>    I have created a IVR menu where in the digits is ended with #,
>>> could anyone point me why a menu with ending digits (e.g. 12345#)
>>> doesn't work?
>>>
>>>          <entry action="menu-exec-app" digits="/^(\d{5})#$/"
>>> param="transfer $1 XML default"/>
>>>
>>> Does Freeswitch IVR doesn't support # in digits?
>>>
>>> Thanks,
>>> Sheeju
>>>       
>> Brian West
>> sip:brian at freeswitch.org
>>
>>
>>
>>
>> _______________________________________________
>> 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
>>
>>     
>
> _______________________________________________
> 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
>
>
>   


-- 
David Knell, Director, 3C Limited
T: 020 8114 8901  F: 020 3002 7257  M: 001 415 630 3031
http://www.3c.co.uk 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080828/4e8040e5/attachment-0002.html 


More information about the FreeSWITCH-users mailing list