<div dir="ltr">Hi Giovanni,<div>when I suggested to disable sip.instance, really I meant in the client, since I know that linphone has an option for this.</div><div>Anyway the problem is not due to your patch.</div><div>If your registrar is behind a proxy, you have to enable the support for the Path header in the registrar module (<a href="http://www.kamailio.org/docs/modules/devel/modules/registrar.html#registrar.p.use_path">http://www.kamailio.org/docs/modules/devel/modules/registrar.html#registrar.p.use_path</a>) otherwise Kamailio will try to send the INVITE to the contact address, regardless of tsilo. In fact I guess that with your current configuration even a "direct" INVITE is not working.</div><div>Hope this helps.</div><div><br></div><div>Regards,</div><div><br></div><div>Federico</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 6, 2016 at 4:21 PM, gmele <span dir="ltr"><<a href="mailto:giovanni.mele@nagra.com" target="_blank">giovanni.mele@nagra.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Federico,<br>
<br>
yes, we use the sip.instance as it is sent by our softphone. To validate it<br>
is the sip.instance that is causing the error, I patched the tm module to<br>
ignore the sip.instance in the contact info when it is written in the<br>
location table.<br>
<br>
In our system, we have a kamailio proxy and a kamailio registrar. It is the<br>
registrar that is doing the push notif and the tsilo store and append.<br>
<br>
So, after our dirty patch in the tm module, we found that the tm module is<br>
not sending the branched request to the SIP Proxy but tries to do it<br>
directly (ts_append calls tm::t_append_branches which calls t_send_branch),<br>
thus trying to open a TLS connection directly to the softphone... Of course,<br>
this is not working :-/<br>
<br>
Do you have an idea on how to relay the branched request to the proxy<br>
instead of trying to send it directly?<br>
<br>
To manage the push notifs, our idea was to do:<br>
1) send the INVITE to the callee<br>
2) store the transaction in tsilo<br>
3) do a push notif to the callee (in case the location info is wrong)<br>
4) wait the callee REGISTER and append the transaction in tsilo (which will<br>
forward the previously received INVITE to the callee)<br>
<br>
What do you think about this solution, taking in account we are using a SIP<br>
Proxy behind the SIP Registrar?<br>
<br>
Thx<br>
<br>
Giovanni<br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://sip-router.1086192.n5.nabble.com/tsilo-ts-append-problem-tp150184p150212.html" rel="noreferrer" target="_blank">http://sip-router.1086192.n5.nabble.com/tsilo-ts-append-problem-tp150184p150212.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the Users mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</div></div></blockquote></div><br></div>