<div dir="ltr">Hello
Federico,<div><br></div><div>It's working now. Thank you very much!</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">пн, 28 січ. 2019 о 21:56 Federico Cabiddu <<a href="mailto:federico.cabiddu@gmail.com">federico.cabiddu@gmail.com</a>> пише:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div>actually there is a mistake both in the presentation and in the module documentation.</div><div>The second parameter of ts_append must be a valid sip uri to be parsed internally, so in your case you should put $tu.</div><div>I will push a fix for the documentation, thank you.</div><div><br></div><div>Best regards,</div><div><br></div><div>Federico </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail-m_-1942434920676533998gmail_attr">On Mon, Jan 28, 2019 at 6:51 PM Володимир Іванець <<a href="mailto:volodyaivanets@gmail.com" target="_blank">volodyaivanets@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hello!<div><br></div><div>I am trying to repeat awesome configuration provided by Federico Cabiddu <a href="https://www.youtube.com/watch?v=4XIrR9bwUkM" target="_blank">https://www.youtube.com/watch?v=4XIrR9bwUkM</a> but only got it to work partially. So I'm wondering if someone else has same problem as me on latest Kamailio?</div><div><br></div><div>I have two clients configured on 100-test account. Only one is registered. When <b>ts_store()</b> is executed on INVITE I get:</div></div></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div dir="ltr"><div dir="ltr"><div><div><i>Jan 28 19:17:46 test /usr/sbin/kamailio[11204]: DEBUG: tsilo [ts_store.c:80]: ts_store(): storing transaction 29157:1612520187 for r-uri: 100-test</i></div><div><i>Jan 28 19:17:46 test /usr/sbin/kamailio[11204]: DEBUG: tsilo [ts_hash.c:264]: insert_ts_urecord(): urecord entry 0x7f2bfcf7dd78</i></div><div><i>Jan 28 19:17:46 test /usr/sbin/kamailio[11204]: DEBUG: tsilo [ts_handlers.c:56]: ts_set_tm_callbacks(): registered TMCB for transaction 29157:1612520187</i></div><div><i>Jan 28 19:17:46 test /usr/sbin/kamailio[11204]: DEBUG: tsilo [ts_store.c:103]: ts_store(): transaction 29157:1612520187 (ruri: 100-test) inserted</i></div></div><div><i><br></i></div></div></div></blockquote><b># kamcmd ts.dump</b>:<br></div></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div dir="ltr"><div><div><i>{</i></div><div><i> Size: 2048</i></div><div><i> R-URIs: {</i></div><div><i> R-URI: 100-thirdlane</i></div><div><i> Hash: 451001090</i></div><div><i> Transactions: {</i></div><div><i> Transaction: {</i></div><div><i> Tindex: 29157</i></div><div><i> Tlabel: 1612520187</i></div><div><i> }</i></div><div><i> }</i></div><div><i> }</i></div><div><i> Stats: {</i></div><div><i> RURIs: 1</i></div><div><i> Max-Slots: 1</i></div><div><i> Transactions: 1</i></div><div><i> }</i></div><div><i>}</i></div></div><div><br></div></div></blockquote>When second UAC registers, <b>ts_append("location", "$tU")</b> in route <b>PUSHJOIN</b> is executed. It throws following error:</div></div></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div dir="ltr"><div dir="ltr"><div><i>Jan 28 19:18:10 test /usr/sbin/kamailio[11210]: ERROR: tsilo [tsilo.c:199]: ts_check_uri(): bad uri [100-test]</i><br></div><div><i><br></i></div></div></div></blockquote>At same time running <b>kamcmd ts.lookup 100-test</b> command returns expected result:</div></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div dir="ltr"><div><div><i>{</i></div><div><i> Transaction: {</i></div><div><i> Tindex: 29157</i></div><div><i> Tlabel: 1612520187</i></div><div><i> }</i></div><div><i>}</i></div></div><div><i><br></i></div></div></blockquote>Thanks a lot!</div></div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>