[SR-Users] TSILO on Kamailio 5.2.0

Володимир Іванець volodyaivanets at gmail.com
Mon Jan 28 18:50:05 CET 2019


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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190128/433acb69/attachment.html>


More information about the sr-users mailing list