did you bind your lua script to directory lookups in addition to the dialplan? On Tue, Jul 14, 2009 at 7:02 AM, Eli Hayun <elihayun@gmail.com> wrote:
Hi I am not using fixed xml files for the extension registration. I have LUA script to return an XML string to FS. Everything goes fine until I am trying to get the voice messages. When am entering my id, FS (or voicemail module) try to get the xml for that id, but it cant find it. My lua script did NOT recieved any xml request at that point. What should I do to solve the problem.
Thanks Eli Hayun
Yes I did bind it: my lua.conf.xml is like this <configuration name="lua.conf" description="LUA Configuration"> <settings> <param name="xml-handler-script" value="GenXml.lua"/> <param name="xml-handler-bindings" value="directory"/> </settings> </configuration> When an extension tried to register, I have no problem. But when I want to use VoiceMail to retrieve my messeges, I got a problem. Here is the partial log: 2009-07-15 07:44:49.373089 [INFO] mod_dialplan_xml.c:252 Processing Phone2->*98 in context default 2009-07-15 07:44:49.386466 [NOTICE] mod_dptools.c:649 Channel [sofia/internal/80671@132.64.3.86] has been answered 2009-07-15 07:44:51.933664 [WARNING] mod_voicemail.c:2072 Can't find user [80671@132.64.3.86] 2009-07-15 07:44:52.533435 [NOTICE] switch_core_state_machine.c:179 Hangup sofia/internal/80671@132.64.3.86 [CS_EXECUTE] [NORMAL_CLEARING] 2009-07-15 07:44:52.545698 [NOTICE] switch_core_session.c:1085 Session 3 (sofia/internal/80671@132.64.3.86) Ended 2009-07-15 07:44:52.545698 [NOTICE] switch_core_session.c:1087 Close Channel sofia/internal/80671@132.64.3.86 [CS_DESTROY]