[SR-Users] Proxy-Registrar call issues
Daniel-Constantin Mierla
miconda at gmail.com
Mon Oct 21 21:17:39 CEST 2013
Hello,
before using t_load_contacts()/t_next_contacts(), you have to use
lookup("location");
Do you have that one, too?
Cheers,
Daniel
On 10/17/13 11:40 PM, Coy Cardwell wrote:
> Hello again.
>
> Compiling from source, using the proxy-to-central registrar
> configurations outlined here
> http://www.kamailio.org/docs/modules/4.0.x/modules/outbound.html and
> adding in the additional "append_hf("Supported: path, outbound\r\n");"
> on the proxy, registration works.
>
> However, when a call is made, the debug traces show problems when
> entering this area of the configuration outlined in the Outbound Module:
>
> if (!t_load_contacts()) {
> send_reply("500", "Server Internal Error");
> exit;
> }
>
> if (!t_next_contacts()) {
> send_reply("500", "Server Internal Error");
> exit;
> }
> as shown here:
> 1(26960) ERROR: *** cfgtrace: c=[//etc/kamailio/kamailio.cfg] l=700
> a=16 n=if
> 1(26960) ERROR: *** cfgtrace: c=[//etc/kamailio/kamailio.cfg] l=695
> a=24 n=t_load_contacts
> 1(26960) DEBUG: tm [t_serial.c:166]: t_load_contacts(): nr_branches is 0
> 1(26960) DEBUG: tm [t_serial.c:169]: t_load_contacts(): nothing to do
> - only one contact!
> 1(26960) ERROR: *** cfgtrace: c=[//etc/kamailio/kamailio.cfg] l=705
> a=16 n=if
> 1(26960) ERROR: *** cfgtrace: c=[//etc/kamailio/kamailio.cfg] l=700
> a=24 n=t_next_contacts
> 1(26960) DEBUG: tm [t_serial.c:376]: t_next_contacts(): no contacts
> in contacts_avp - we are done!
> 1(26960) ERROR: *** cfgtrace: c=[//etc/kamailio/kamailio.cfg] l=701
> a=26 n=send_reply
>
> 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.
>
> Any ideas?
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Trainings - Berlin, Nov 25-28; Miami, Nov 18-20, 2013
- more details about Kamailio trainings at http://www.asipto.com -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20131021/a274fb67/attachment.html>
More information about the sr-users
mailing list