<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Just a thought, but # arrives encoded as %23 in events.&nbsp; Is it
appearing as such in the IVR<br>
menu string - it'd explain why the regex match fails.<br>
<br>
--Dave<br>
<blockquote
 cite="mid:d97a6c7d0808280817q47055e41pc3f5c35c754222f7@mail.gmail.com"
 type="cite">
  <pre wrap="">Hi Brian,

Here is the XML I am using in ivr.conf.xml

    &lt;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"&gt;
          &lt;entry action="menu-exec-app" digits="/^(\d{5})#$/"
param="transfer $1 XML default"/&gt;
          &lt;entry action="menu-exec-app" digits="9999" param="transfer
9999 XML default"/&gt;
          &lt;entry action="menu-top" digits="9"/&gt;          &lt;!-- Repeat
this menu --&gt;
    &lt;/menu&gt;

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 *

          &lt;entry action="menu-exec-app" digits="/^(\d{5})\*$/"
param="transfer $1 XML default"/&gt;

Looking for your reply..

Thanks,
Sheeju

On Thu, Aug 28, 2008 at 7:18 PM, Brian West <a class="moz-txt-link-rfc2396E" href="mailto:brian@freeswitch.org">&lt;brian@freeswitch.org&gt;</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">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:

    </pre>
    <blockquote type="cite">
      <pre wrap="">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?

         &lt;entry action="menu-exec-app" digits="/^(\d{5})#$/"
param="transfer $1 XML default"/&gt;

Does Freeswitch IVR doesn't support # in digits?

Thanks,
Sheeju
      </pre>
    </blockquote>
    <pre wrap="">Brian West
<a class="moz-txt-link-freetext" href="sip:brian@freeswitch.org">sip:brian@freeswitch.org</a>




_______________________________________________
Freeswitch-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>

    </pre>
  </blockquote>
  <pre wrap=""><!---->
_______________________________________________
Freeswitch-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>


  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
David Knell, Director, 3C Limited
T: 020 8114 8901  F: 020 3002 7257  M: 001 415 630 3031
<a class="moz-txt-link-freetext" href="http://www.3c.co.uk">http://www.3c.co.uk</a> </pre>
</body>
</html>