Hello Federico, It's working now. Thank you very much!
пн, 28 січ. 2019 о 21:56 Federico Cabiddu <federico.cabi...@gmail.com> пише: > 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 Володимир Іванець < > volodyaivan...@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@lists.kamailio.org >> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >> > _______________________________________________ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users