Hello, I am using kamailio 4.0.
I am experimenting with module app_perl. Actually, I am not using it, I am just loading it because it solves this problem when loading snmpstats: /usr/lib/libnetsnmpagent.so.10: undefined symbol: boot_DynaLoader
However, before using app_perl i was seeing this:
# kamctl fifo get_statistics dialog active_dialogs dialog:active_dialogs = 1
But with app_perl loaded, I see this:
# kamctl fifo get_statistics dialog active_dialogs app_perl:active_dialogs = 1
So, is app_perl intercepting stats requests that should be handled by module dialog? Is this expected? And, is there any performance penalty on having this handled by perl?
Regards, Takeshi
Hello,
probably this is because app_perl needs to make all symbols available, to be seen by the interpreter.
Can you try to load dialog module before app_perl, or the other way around? I will look for a fix anyhow, just wanted to see if the order matters.
Cheers, Daniel
On 11/6/13 10:42 AM, mayamatakeshi wrote:
Hello, I am using kamailio 4.0.
I am experimenting with module app_perl. Actually, I am not using it, I am just loading it because it solves this problem when loading snmpstats: /usr/lib/libnetsnmpagent.so.10: undefined symbol: boot_DynaLoader
However, before using app_perl i was seeing this:
# kamctl fifo get_statistics dialog active_dialogs dialog:active_dialogs = 1
But with app_perl loaded, I see this:
# kamctl fifo get_statistics dialog active_dialogs app_perl:active_dialogs = 1
So, is app_perl intercepting stats requests that should be handled by module dialog? Is this expected? And, is there any performance penalty on having this handled by perl?
Regards, Takeshi
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Daniel, thanks.
Loading dialog (and usrloc which I just realized was also affected) before app_perl solved the issue. Regards, Takeshi
On Wed, Nov 6, 2013 at 8:33 PM, Daniel-Constantin Mierla miconda@gmail.comwrote:
Hello,
probably this is because app_perl needs to make all symbols available, to be seen by the interpreter.
Can you try to load dialog module before app_perl, or the other way around? I will look for a fix anyhow, just wanted to see if the order matters.
Cheers, Daniel
On 11/6/13 10:42 AM, mayamatakeshi wrote:
Hello, I am using kamailio 4.0.
I am experimenting with module app_perl. Actually, I am not using it, I am just loading it because it solves this problem when loading snmpstats: /usr/lib/libnetsnmpagent.so.10: undefined symbol: boot_DynaLoader
However, before using app_perl i was seeing this:
# kamctl fifo get_statistics dialog active_dialogs dialog:active_dialogs = 1
But with app_perl loaded, I see this:
# kamctl fifo get_statistics dialog active_dialogs app_perl:active_dialogs = 1
So, is app_perl intercepting stats requests that should be handled by module dialog? Is this expected? And, is there any performance penalty on having this handled by perl?
Regards, Takeshi
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Kamailio Advanced Trainings - Berlin, Nov 25-28
- more details about Kamailio trainings at http://www.asipto.com -
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users