<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
before using t_load_contacts()/t_next_contacts(), you have to use
lookup("location");<br>
<br>
Do you have that one, too?<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 10/17/13 11:40 PM, Coy Cardwell
wrote:<br>
</div>
<blockquote
cite="mid:CAC93O5BwG1bOiUDURqg2Wk0Ah0k5dxQqpaGdqL=zU9OMDSUKpg@mail.gmail.com"
type="cite">
<div dir="ltr">Hello again.
<div><br>
</div>
<div>Compiling from source, using the proxy-to-central registrar
configurations outlined here <a moz-do-not-send="true"
href="http://www.kamailio.org/docs/modules/4.0.x/modules/outbound.html">http://www.kamailio.org/docs/modules/4.0.x/modules/outbound.html</a> and
adding in the additional "append_hf("Supported: path,
outbound\r\n");" on the proxy, registration works.</div>
<div><br>
</div>
<div>However, when a call is made, the debug traces show
problems when entering this area of the configuration outlined
in the Outbound Module:</div>
<div><br>
</div>
<div>
<pre class="" style="background-color:rgb(254,254,238);color:rgb(0,0,0);border:1px solid rgb(153,204,204);padding-left:15pt"> if (!t_load_contacts()) {
send_reply("500", "Server Internal Error");
exit;
}
if (!t_next_contacts()) {
send_reply("500", "Server Internal Error");
exit;
}
</pre>
</div>
<div>as shown here:</div>
<div>
<div>1(26960) ERROR: *** cfgtrace:
c=[//etc/kamailio/kamailio.cfg] l=700 a=16 n=if</div>
<div> 1(26960) ERROR: *** cfgtrace:
c=[//etc/kamailio/kamailio.cfg] l=695 a=24 n=t_load_contacts</div>
<div> 1(26960) DEBUG: tm [t_serial.c:166]: t_load_contacts():
nr_branches is 0</div>
<div> 1(26960) DEBUG: tm [t_serial.c:169]: t_load_contacts():
nothing to do - only one contact!</div>
<div> 1(26960) ERROR: *** cfgtrace:
c=[//etc/kamailio/kamailio.cfg] l=705 a=16 n=if</div>
<div> 1(26960) ERROR: *** cfgtrace:
c=[//etc/kamailio/kamailio.cfg] l=700 a=24 n=t_next_contacts</div>
<div> 1(26960) DEBUG: tm [t_serial.c:376]: t_next_contacts():
no contacts in contacts_avp - we are done!</div>
<div> 1(26960) ERROR: *** cfgtrace:
c=[//etc/kamailio/kamailio.cfg] l=701 a=26 n=send_reply</div>
</div>
<div><br>
</div>
<div>The result from t_load_contacts seems to imply one contact
exists, which would be correct as there should be one, but
then t_next_contacts sees no cotacts and the sever returns an
error, breaking the call.</div>
<div><br>
</div>
<div>Any ideas?</div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Trainings - Berlin, Nov 25-28; Miami, Nov 18-20, 2013
- more details about Kamailio trainings at <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a> -
</pre>
</body>
</html>