It turns out that Freeswitch only requests ivr.conf when there's an ivr application entry in the dialplan.  This is actually very powerful, as it passes along the name of the menu being requested in the variables, so you can do fully dynamic menus if you want.

However, all I needed was a simple set of mnesia tables for pbx_ivr_menu and pbx_ivr_menu_entry with a few trivial loops to turn them into XML, so I got that all coded today and handed off to one of our GUI developers to do the screens for the tables.

Mark Sobkow wrote:
Mark Sobkow wrote:
  
I'm having a little trouble with Erlang and IVRs.  Specifically, the IVR 
configuration file is auto-loaded before the initialization code has a 
chance to tell Freeswitch to get it's configs from Erlang.  As a result, 
it's not querying Erlang for the configuration file.

Also, because there is no mod_ivr, I can't just do a "reload mod_ivr" 
after the Erlang communications has been initialized.

Any idea how to get Freeswitch to load it's IVR configs from Erlang?

  
    
Mucking about this morning, I tried doing a "reloadxml", but that only 
seems to reload the timezones.conf from Erlang.

  


-- 
Mark Sobkow
Senior Developer
MarkeTel Multi-Line Dialing Systems LTD.
428 Victoria Ave
Regina, SK S4N-0P6
Toll-Free: 800-289-8616-X533
Local: 306-359-6893-X533
Fax: 306-359-6879
Email: m.sobkow@marketelsystems.com
Web: http://www.marketelsystems.com