[SR-Users] TSILO on Kamailio 5.2.0
Federico Cabiddu
federico.cabiddu at gmail.com
Mon Jan 28 20:54:43 CET 2019
Hi,
actually there is a mistake both in the presentation and in the module
documentation.
The second parameter of ts_append must be a valid sip uri to be parsed
internally, so in your case you should put $tu.
I will push a fix for the documentation, thank you.
Best regards,
Federico
On Mon, Jan 28, 2019 at 6:51 PM Володимир Іванець <volodyaivanets at gmail.com>
wrote:
> Hello!
>
> I am trying to repeat awesome configuration provided by Federico Cabiddu
> https://www.youtube.com/watch?v=4XIrR9bwUkM but only got it to work
> partially. So I'm wondering if someone else has same problem as me on
> latest Kamailio?
>
> I have two clients configured on 100-test account. Only one is registered.
> When *ts_store()* is executed on INVITE I get:
>
> *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*
> *Jan 28 19:17:46 test /usr/sbin/kamailio[11204]: DEBUG: tsilo
> [ts_hash.c:264]: insert_ts_urecord(): urecord entry 0x7f2bfcf7dd78*
> *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*
> *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*
>
> *# kamcmd ts.dump*:
>
> *{*
> * Size: 2048*
> * R-URIs: {*
> * R-URI: 100-thirdlane*
> * Hash: 451001090*
> * Transactions: {*
> * Transaction: {*
> * Tindex: 29157*
> * Tlabel: 1612520187*
> * }*
> * }*
> * }*
> * Stats: {*
> * RURIs: 1*
> * Max-Slots: 1*
> * Transactions: 1*
> * }*
> *}*
>
> When second UAC registers, *ts_append("location", "$tU")* in route
> *PUSHJOIN* is executed. It throws following error:
>
> *Jan 28 19:18:10 test /usr/sbin/kamailio[11210]: ERROR: tsilo
> [tsilo.c:199]: ts_check_uri(): bad uri [100-test]*
>
> At same time running *kamcmd ts.lookup 100-test* command returns expected
> result:
>
> *{*
> * Transaction: {*
> * Tindex: 29157*
> * Tlabel: 1612520187*
> * }*
> *}*
>
> Thanks a lot!
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190128/ff21cbcb/attachment.html>
More information about the sr-users
mailing list