Hello,

Just to get load_balancer to start, all you need is load the dialog.so before it.
If you need more advanced dialog features ( DB persistence, etc ) check [1]

[1] http://www.opensips.org/html/docs/modules/devel/dialog.html

Regards,

Vlad Paiu
OpenSIPS Developer


On 09/21/2011 01:22 PM, Faisal Rehman wrote:
*Hi Vlad,*

So I have to just add the line loadmodule "dialog.so" or do I have to make other changes as well like any modpram relevant to dialog.so??


With Best Regards,

*Faisal Rehman*
------------------------------------------------------------------------
*From:* Vlad Paiu <[email protected]>
*To:* [email protected]
*Sent:* Wednesday, September 21, 2011 3:14 PM
*Subject:* Re: [OpenSIPS-Users] OpenSIPS Load Balancer Module Initialization Error

Hello,

The load_balancer module is complaining about not being able to bind to the dialog module API.
Make sure to load the dialog module before the load_balancer module.

Regards,
Vlad Paiu
OpenSIPS Developer

On 09/21/2011 01:11 PM, Faisal Rehman wrote:
*Hi Everyone,*

I am trying to start OpenSIPS as Load Balancer but sometimes after configuration changes, OpenSIPS starts with the help of OpenSIPS initialization command but it does not run as a process at the background.

I have tailed the /var/log/messages and got the following error:

/usr/local/sbin/opensips[6616]: ERROR:load_balancer:mod_init: Can't load dialog hooks /usr/local/sbin/opensips[6616]: ERROR:core:init_mod: failed to initialize module load_balancer /usr/local/sbin/opensips[6616]: ERROR:core:main: error while initializing modules
 opensips: INFO:core:daemonize: pre-daemon process exiting with -1


I have seen the previous threads relevant to this error but nothing worked fine, so anyone can help and assist me please because I really need its solution.

/Thank you very much in Advance!!/

With Best Regards,

*Faisal Rehman*


_______________________________________________
Users mailing list
[email protected]  <mailto:[email protected]>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected] <mailto:[email protected]>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to