I tried escaping #, but it didn't work. According to normal regex matching escaping # is not required I guess. So now I have tried both and is not working. I am using X-Lite, could you please let me know how to check the whether it is arriving as %23 or something else. Here is some debug message -------------------------------- 2008-08-28 09:08:28 [DEBUG] switch_ivr_menu.c:296 play_and_collect() waiting for 5/6 digits t/o 2000 2008-08-28 09:08:30 [DEBUG] switch_ivr_menu.c:341 play_and_collect() digits '77777' 2008-08-28 09:08:30 [DEBUG] switch_ivr_menu.c:410 switch_ivr_menu_execute() action regex [77777] [/^(\d{5})\#$/] [0] 2008-08-28 09:08:30 [DEBUG] switch_ivr_menu.c:495 switch_ivr_menu_execute() IVR menu 'conf_ivr' caught invalid input '77777' -------------------------------- Thanks, SA On Thu, Aug 28, 2008 at 9:32 PM, Brian West <brian@freeswitch.org> wrote:
That depends on the phone. Yesterday the Snom 7.3.7 firmware was sending the # at %23 and it shouldn't but not when you're live on the phone dialing digits on a call thats up.. its RTP out of band.. it should show up at #
/b
On Aug 28, 2008, at 10:52 AM, David Knell wrote:
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
Brian West sip:brian@freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org