[SR-Users] htable not visible in another thread
Kjeld Flarup
kjeld.flarup at liberalismen.dk
Mon Mar 19 23:45:53 CET 2018
Im trying to do a t_suspend, but cant get htable to work
I save to $sht
$sht(vtp=>join::$rU) = "" + $T(id_index) + ":" + $T(id_label);
xlog( "L_ALERT", "Suspended transaction sht(vtp=>join::$rU) =
[$sht(vtp=>join::$rU)]\n" );
Mar 19 23:36:28 raspberrypi /usr/sbin/kamailio[2167]: ALERT:
<script>: Suspended transaction sht(vtp=>join::004540294149) =
[23690:1238111367]
But in my register thread nothing is read
xlog("L_ALERT","sht(vtp=>join::$tU) = $sht(vtp=>join::$tU)\n");
Mar 19 23:36:31 raspberrypi /usr/sbin/kamailio[2114]: ALERT:
<script>: sht(vtp=>join::004540294149) = <null>
# -------- htable params --------------
modparam("htable", "db_url", DBURL)
modparam("htable", "htable",
"vtp=>size=10;autoexpire=120;dbtable=htable;dbmode=1")
modparam("htable", "htable", "a=>size=6;")
I never see any data in htable in the database.
What am I doing wrong?
--
-------------------- Med Liberalistiske Hilsner ----------------------
Civilingeniør, Kjeld Flarup - Mit sind er mere åbent end min tegnebog
Sofienlundvej 6B, 7560 Hjerm, Tlf: 40 29 41 49
Den ikke akademiske hjemmeside for liberalismen - www.liberalismen.dk
More information about the sr-users
mailing list