[Freeswitch-users] xml_curl bindings=phrases issue

Michael Jerris mike at jerris.com
Tue Aug 27 21:10:21 MSD 2013


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 at 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 ''




Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list