Actually I already tried reloadxml with "xml_curl debug_on" and I don't see any file generated, as it was with other types of bindings.
-----Messaggio originale----- Da: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users- bounces@lists.freeswitch.org] Per conto di Michael Jerris Inviato: martedì 27 agosto 2013 19:10 A: FreeSWITCH Users Help Oggetto: Re: [Freeswitch-users] xml_curl bindings=phrases issue
Phrases area not loaded on demand, they are all loaded in the initial config load. It requires a reloadxml to re-load them.
On Aug 27, 2013, at 12:50 PM, Davide Rossi <davide@internetone.it> wrote:
Hi everybody, I'm a newbie using freeswitch (1.2.7) and having an issue with xml_curl phrases: reading logs I don't see any request to fetch data and using "xml_curl debug_on" no file is generated. Bindings to "configuration" and "dialplan" worked like a charm... Do I have to configure something special for "phrases" bindings? I have static IVR menus calling a dynamic phrase macro in http://localhost/getphrases.php. Is it a misconfiguration or maybe a bug like http://jira.freeswitch.org/browse/FS- 5563? Can't find help on wiki, any hint is really appreciated.
---xml_curl.conf.xml--- <configuration name="xml_curl.conf" description="cURL XML Gateway"> <bindings> <binding name="phrases"> <param name="gateway-url" bindings="phrases" value="http://localhost/getphrases.php"/> </binding> </bindings> </configuration>
---console log [7]--- [DEBUG] switch_ivr_menu.c:469 Executing IVR menu xxx [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [xx] [ERR] switch_ivr_play_say.c:145 Can't find macro xxx_ivr_main_menu. [WARNING] switch_ivr_play_say.c:348 Macro [xxx_ivr_main_menu]: '' did not match any patterns [DEBUG] switch_ivr_menu.c:363 waiting for 4/4 digits t/o 2000 [DEBUG] switch_ivr_menu.c:410 digits ''
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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