Hello,
Is there any way to make partial search from all htable entries with for example: %partofkeyname%? I tried to put that on search box but I get no results. If I use the exact full name of the key in the search i get the result.
The search is here: Sip admin services - > server services -> htable list -> search
I would like that the search function could return all of the keys that match the searched pattern but I have not succeed in making that kind of search.
Cheers,
Olli
Hello,
Actually I think I’ve found it now. I had to use “*” sign as an “match any” sign and also in Key value field like this:
Search Htable:
Key name: *partofkey*
Key type: 0
Value type: 0
Key value: *
Now its working. The search returns all of the htable entries which match the “partofkey” pattern.
--Olli
Lähettäjä: sr-users [mailto:sr-users-bounces@lists.kamailio.org] Puolesta Olli Attila Lähetetty: 21. toukokuutata 2017 9:51 Vastaanottaja: Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org Aihe: [SR-Users] Siremis searching from htable
Hello,
Is there any way to make partial search from all htable entries with for example: %partofkeyname%? I tried to put that on search box but I get no results. If I use the exact full name of the key in the search i get the result.
The search is here: Sip admin services - > server services -> htable list -> search
I would like that the search function could return all of the keys that match the searched pattern but I have not succeed in making that kind of search.
Cheers,
Olli
Hello,
just another idea, although not sure if it works, but worth trying also with '%' -- that's used by MySQL in LIKE matches.
Cheers, Daniel
On Sun, May 21, 2017 at 9:53 AM, Olli Attila olli.attila@oatel.net wrote:
Hello,
Actually I think I’ve found it now. I had to use “*” sign as an “match any” sign and also in Key value field like this:
Search Htable:
Key name: **partofkey**
Key type: 0
Value type: 0
Key value: *
Now its working. The search returns all of the htable entries which match the “partofkey” pattern.
--Olli
*Lähettäjä:* sr-users [mailto:sr-users-bounces@lists.kamailio.org] *Puolesta *Olli Attila *Lähetetty:* 21. toukokuutata 2017 9:51 *Vastaanottaja:* Kamailio (SER) - Users Mailing List < sr-users@lists.kamailio.org> *Aihe:* [SR-Users] Siremis searching from htable
Hello,
Is there any way to make partial search from all htable entries with for example: %partofkeyname%? I tried to put that on search box but I get no results. If I use the exact full name of the key in the search i get the result.
The search is here: Sip admin services - > server services -> htable list -> search
I would like that the search function could return all of the keys that match the searched pattern but I have not succeed in making that kind of search.
Cheers,
Olli
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users