Can you split the IF with t_load_contacts () || t_next_contacts () in two to see which one fails?
Cheers, Daniel
On 13 Oct 2016 16:51, "Infinicalls Infinicalls" infinicalls@gmail.com wrote:
Hi,
Oct 13 07:41:15 infinicalls /usr/local/sbin/kamailio[32948]: ERROR:
<script>: t_(load|next)_contacts() failed
this is an error message printed from kamailio.cfg -- do you have such xlog() there?
Yes, I have. Its here..
route[LOCATION] { if (!lookup("location")) { $var(rc) = $rc; t_newtran(); switch ($var(rc)) { case -1: case -3: send_reply("404", "Not Found"); exit; case -2: send_reply("405", "Method Not Allowed"); exit; } }
if (!t_load_contacts() || !t_next_contacts()) { xlog("L_ERR", "t_(load|next)_contacts() failed\n"); sl_reply_error(); exit; }
Oct 13 07:41:15 infinicalls /usr/local/sbin/kamailio[32948]: ERROR: sl [sl_funcs.c:363]: sl_reply_error(): ERROR: sl_reply_error used: I'm terribly sorry, server error occurred (1/SL)
This is from c code and due to other operation that fails. Run with debug=3 to see what is printed before and causes this.
After running with debug=3 also, I couldn't figure out what is really wrong. I have pasted it online here http://paste.fedoraproject.org/449550/
Is there anything incorrect with the logs?
That issue doesn't seem to be related. It is better to run latest stable version to be sure you don't hit a bug that was already fixed.
I just updated everything. Now, I am running the latest stable release. But still the error persists.
regards Ganesh Kumar