[OpenSIPS-Users] Issue in opensips 2.1.4

Ramachandran, Agalya (Contractor) Agalya_Ramachandran at comcast.com
Wed Aug 10 21:57:42 CEST 2016


Hi,

Yes, after loading db_mysql it worked.

Regards,
Agalya

From: Bogdan-Andrei Iancu [mailto:bogdan at opensips.org]
Sent: Wednesday, August 10, 2016 2:24 PM
To: Ramachandran, Agalya (Contractor) <Agalya_Ramachandran at comcast.com>; OpenSIPS users mailling list <users at lists.opensips.org>
Subject: Re: [OpenSIPS-Users] Issue in opensips 2.1.4

Hi,

I see you have the db_url parameter (in siptrace) pointing to the db_mysql module, so this is a must to load.

Regards,


Bogdan-Andrei Iancu

OpenSIPS Founder and Developer

http://www.opensips-solutions.com
On 10.08.2016 16:21, Ramachandran, Agalya (Contractor) wrote:
Hi Bogdan,

I didn't load db_msql module in opensips 1.11. But it worked for me.
The same config file when am trying to use in 2.1.4 it says me the error.

Now I have tried including the db_msql module and its good now.
I thought it will work the same way in 1.11 and 2.1.4.

Regards,
Agalya

From: Bogdan-Andrei Iancu [mailto:bogdan at opensips.org]
Sent: Wednesday, August 10, 2016 9:18 AM
To: OpenSIPS users mailling list <users at lists.opensips.org><mailto:users at lists.opensips.org>; Ramachandran, Agalya (Contractor) <Agalya_Ramachandran at comcast.com><mailto:Agalya_Ramachandran at comcast.com>
Subject: Re: [OpenSIPS-Users] Issue in opensips 2.1.4

Hi Agalya,

Have you loaded the db_mysql module before the siptrace module ?

Regards,



Bogdan-Andrei Iancu

OpenSIPS Founder and Developer

http://www.opensips-solutions.com
On 09.08.2016 22:36, Ramachandran, Agalya (Contractor) wrote:
Hi team,

I am trying to use opensips 2.1.4 .
I have made some changes in opensips.cfg file for sip trace module, and opensips does not start after that change.
The same change for sip trace module is working good in opensips 1.11.3.

Error am getting is:

Aug  9 19:30:21: WARNING:core:solve_module_dependencies: module siptrace depends on an sqldb module, but none was loaded!
Aug  9 19:30:21 :ERROR:core:main: failed to solve module dependencies

Below is the newly added stuff for sip trace module:
loadmodule "siptrace.so"

modparam("siptrace", "db_url","mysql://opensips:opensipsrw@localhost/opensips")
modparam("siptrace", "duplicate_uri", "sip:100.10.10.1:9060")
modparam("siptrace", "duplicate_with_hep", 1)
modparam("siptrace", "trace_to_database", 0)
modparam("siptrace", "trace_on", 1)
modparam("siptrace", "hep_version", 2)
modparam("siptrace", "traced_user_avp", "$avp(traced_user)")

Please let me know if am missing something.

Regards,
Agalya





_______________________________________________

Users mailing list

Users at lists.opensips.org<mailto:Users at lists.opensips.org>

http://lists.opensips.org/cgi-bin/mailman/listinfo/users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160810/ceb3b829/attachment.htm>


More information about the Users mailing list