Ah, ok.  That makes sense.  Thanks!

In that same line of thought, is there a clean way to iterate over an unknown 
list of keys and grab their values?  I did see the iteration functions 
(sht_iterator_*), however it was very clear that the slot should not be updated 
while it's locked.  In this case, it will most certainly be getting updated 
constantly and cannot risk getting locked even for a short period.

I didn't really see a clean way to just get a list of all keys in a specific 
table.

Brooks Bridges | Sr. Voice Services Engineer
O1 Communications
5190 Golden Foothill Pkwy
El Dorado Hills, CA 95762
office: 916.235.2097 | main: 888.444.1111, Option 2
email: bbrid...@o1.com<mailto:bbrid...@o1.com> | web: 
www.o1.com<http://www.o1.com/>

From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of 
Daniel-Constantin Mierla
Sent: Tuesday, April 19, 2016 2:28 AM
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] $shtval(htable=>key)

Hello,

I corrected the docs in master (devel) branch and will backport soon. It was 
supposed to be $shtitval(...), a variable that can be used with htable 
iterators. Also, the wiki page for devel pv cookbook was updated.

Cheers,
Daniel
On 18/04/16 23:02, Brooks Bridges wrote:
What is this?  It's referenced here: 
http://kamailio.org/docs/modules/stable/modules/htable.html#idp1912904 but I 
cannot find it anywhere else.

The only 2 places I find any reference to it at all in the entire codebase is 
here:
modules/htable/doc/htable_admin.xml:                            
<emphasis>$shtval(htable=>key)</emphasis>
modules/htable/README:     * $shtval(htable=>key)

Brooks Bridges | Sr. Voice Services Engineer
O1 Communications
5190 Golden Foothill Pkwy
El Dorado Hills, CA 95762
office: 916.235.2097 | main: 888.444.1111, Option 2
email: bbrid...@o1.com<mailto:bbrid...@o1.com> | web: 
www.o1.com<http://www.o1.com/>





_______________________________________________

SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list

sr-users@lists.sip-router.org<mailto:sr-users@lists.sip-router.org>

http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



--

Daniel-Constantin Mierla

http://www.asipto.com

http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

Kamailio World Conference, Berlin, May 18-20, 2016 - 
http://www.kamailioworld.com
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to