Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] mod_curl + mod_nibblebill


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
ahmedmunir007 at gmail...
Guest





PostPosted: Tue Oct 20, 2009 7:44 am    Post subject: [Freeswitch-users] mod_curl + mod_nibblebill Reply with quote

Hi,

Consider below mob_nibblebill configuration,


<configuration name="nibblebill.conf" description="Nibble Billing">
  <settings>

    <param name="db_username" value="root"/>
    <param name="db_password" value="password"/>
    <param name="db_dsn" value="MySQL-freeswitch"/>

    <param name="db_table" value="accounts"/>

    <param name="db_column_cash" value="cash"/>

    <param name="db_column_account" value="id"/>

    <param name="global_heartbeat" value="60"/>

    <param name="lowbal_amt" value="5"/>
    <param name="lowbal_action" value="play ding"/>

     <param name="nobal_amt" value="0"/>
    <param name="nobal_action" value="hangup"/>

     <param name="percall_max_amt" value="100"/>
    <param name="percall_action" value="hangup"/>

  </settings>
</configuration>


When i put this configuration in /usr/local/freeswitch/conf/autoload_configs, everything works perfect as expected.

But when i call this configuration using mod_xml_curl, freeswitch does not loads mod_nibblebill configuration from it. I even debuged mod_xml_curl using console command,

xml_curl debug_on

and reload mod_nibblebill, I get exact same configuration from xml_curl but mod_nibblebill does not repect it and try to use default parameter values as mentioned below,


2009-10-20 16:58:23.396710 [ERR] switch_odbc.c:188 STATE: IM002 CODE 0 ERROR: [unixODBC][Driver Manager]Data source name not found, and no default driver specified

2009-10-20 16:58:23.396738 [CRIT] mod_nibblebill.c:221 Cannot connect to ODBC driver/database bandwidth.com (user: bandwidth.com / pass dev)!
2009-10-20 16:58:23.396800 [CONSOLE] switch_loadable_module.c:889 Successfully Loaded [mod_nibblebill]

I am also loading various other configs from xml_curl without any problem, its only mod_nibblebill that is not honoring configuration provided by xml_curl.

Please advise if i am doing anything wrong.


--
Regards,

Ahmed Munir
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services