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