Sure, but I'll need some guidance on obtaining it; I'm just checking with the syslog messages with debugging level in 3. Can you show me how to do it?<br><br>Thanks,<br>Uriel<br><br><div class="gmail_quote">On Thu, Feb 19, 2009 at 6:38 PM, Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d"><br>
<br>
On 02/19/2009 10:01 PM, Uriel Rozenbaum wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
An update, I removed the rpid=$re from db_extra parameter and now calls are flowing fine. Can that be the whole issue?<br>
</blockquote></div>
There were some similar issues in the past, but they should have been fixed long time ago. I see you got a core dump, can you send the backtrace, it will help to troubleshoot.<br>
<br>
Thanks,<br>
Daniel<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">
<br>
On Thu, Feb 19, 2009 at 3:09 PM, Uriel Rozenbaum <<a href="mailto:uriel.rozenbaum@gmail.com" target="_blank">uriel.rozenbaum@gmail.com</a> <mailto:<a href="mailto:uriel.rozenbaum@gmail.com" target="_blank">uriel.rozenbaum@gmail.com</a>>> wrote:<br>
<br>
Hey guys,<br>
<br>
I'm using kamailio-1.4.3-notls with ACC module on mysql.<br>
<br>
I'm trying to benchmark it installed on a virtual server (Xen on<br>
CentOS) and I have everything going OK for my basic configuration<br>
but when I turn on ACC (by flagging transactions) I get the<br>
following lines on the log:<br>
<br>
Feb 19 08:48:57 ops3 /usr/local/sbin/kamailio[4895]:<br>
INFO:core:handle_sigs: child process 4899 exited by a signal 11<br>
Feb 19 08:48:58 ops3 /usr/local/sbin/kamailio[4895]:<br>
INFO:core:handle_sigs: core was generated<br>
Feb 19 08:48:58 ops3 /usr/local/sbin/kamailio[4895]:<br>
INFO:core:handle_sigs: terminating due to SIGCHLD<br>
Feb 19 08:48:58 ops3 /usr/local/sbin/kamailio[4902]:<br>
INFO:core:sig_usr: signal 15 received<br>
Feb 19 08:48:58 ops3 /usr/local/sbin/kamailio[4903]:<br>
INFO:core:sig_usr: signal 15 received<br>
Feb 19 08:48:58 ops3 /usr/local/sbin/kamailio[4901]:<br>
INFO:core:sig_usr: signal 15 received<br>
Feb 19 08:48:58 ops3 /usr/local/sbin/kamailio[4897]:<br>
INFO:core:sig_usr: signal 15 received<br>
Feb 19 08:48:58 ops3 /usr/local/sbin/kamailio[4904]:<br>
INFO:core:sig_usr: signal 15 received<br>
Feb 19 08:48:58 ops3 /usr/local/sbin/kamailio[4898]:<br>
INFO:core:sig_usr: signal 15 received<br>
<br>
This issue only happens when i account messages using the<br>
following lines:<br>
if (is_method("INVITE|BYE|CANCEL"))<br>
{<br>
setflag(1);<br>
setflag(2);<br>
}<br>
<br>
and the configuration for the modules are ass follows:<br>
# ----- acc params -----<br>
/* what sepcial events should be accounted ? */<br>
modparam("acc", "early_media", 1)<br>
modparam("acc", "report_ack", 1)<br>
modparam("acc", "report_cancels", 1)<br>
/* by default ww do not adjust the direct of the sequential requests.<br>
if you enable this parameter, be sure the enable "append_fromtag"<br>
in "rr" module */<br>
modparam("acc", "detect_direction", 0)<br>
/* account triggers (flags) */<br>
modparam("acc", "failed_transaction_flag", 3)<br>
modparam("acc", "log_flag", 1)<br>
modparam("acc", "log_missed_flag", 2)<br>
/* uncomment the following lines to enable DB accounting also */<br>
modparam("acc", "db_flag", 1)<br>
modparam("acc", "db_missed_flag", 2)<br>
# Descomentar para guardar parametros adicionales<br>
# modparam("acc", "log_extra",<br>
"src_user=$fU;src_domain=$fd;dst_user=$rU;dst_domain=$rd")<br>
modparam("acc", "db_table_acc", "acc")<br>
modparam("acc", "db_table_missed_calls", "missed_calls")<br>
modparam("acc", "db_url",<br>
"mysql://kamailio:kamailiorw@localhost/kamailio")<br>
modparam("acc", "acc_method_column", "method")<br>
modparam("acc", "acc_from_tag_column", "from_tag")<br>
modparam("acc", "acc_to_tag_column", "to_tag")<br>
modparam("acc", "acc_callid_column", "callid")<br>
modparam("acc", "acc_sip_code_column", "sip_code")<br>
modparam("acc", "acc_sip_reason_column", "sip_reason")<br>
modparam("acc", "acc_time_column", "time")<br>
modparam("acc", "db_extra",<br>
"cseq=$cs;privacy=$dip;reason=$dir;from_uri=$fu;from_username=$fU;from_displayname=$fn;from_domain=$fd;req_username=$rU;req_domain=$rd;rpid=$re;source_ip_addr=$si;source_port=$sp;to_uri=$tu;to_username=$tU;to_displayname=$tn;to_domain=$td;original_uri=$ou;original_uri_username=$oU;original_uri_domain=$od;unix_timestamp=$Ts")<br>
<br>
Do you think there is something I'm missing on the configuration?<br>
I tried to modify parameters on mysql but get the same errors all<br>
the time?<br>
<br>
Thanks in advance!<br>
Uriel<br>
<br>
<br></div></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Kamailio (OpenSER) - Users mailing list<br>
<a href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a><br>
<a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br>
<a href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote>
<br>
-- <br>
Daniel-Constantin Mierla<br>
<a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a><br>
<br>
</blockquote></div><br>