try kamcmd htable.get assignedtn 's:+41315996608'

On Fri, Dec 19, 2025 at 5:19 PM Benoît Panizzon via sr-users <
[email protected]> wrote:

> Hi all
>
> We store stuff like cfw information for a local number in a htable.
>
> Numbers are in e164 format.
>
> With the cli kamcmd tool I don't seem to be able to access such names.
>
> I verified with htable.dump that the entry is present:
>
> # kamcmd htable.dump assignedtn | grep 6608
>                         name: +41315996608
> [...]
>
> But no matter what I try, don't get the values:
>
> kamcmd> htable.get assignedtn +41315996608
> error: 500 - Not enough parameters (htable name and key name)
> kamcmd> htable.get assignedtn \+41315996608
> error: 500 - Key name doesn't exist in htable.
> kamcmd> htable.get assignedtn '+41315996608'
> error: 500 - Key name doesn't exist in htable.
> kamcmd> htable.get assignedtn "+41315996608"
> error: 500 - Key name doesn't exist in htable.
> kamcmd> htable.get assignedtn "\+41315996608"
> error: 500 - Key name doesn't exist in htable.
> kamcmd> htable.get assignedtn "\\+41315996608"
> error: 500 - Key name doesn't exist in htable.
> kamcmd> htable.get assignedtn %2B41315996608
> error: 500 - Key name doesn't exist in htable.
>
> How do I have to escape the + sign?
>
> --
> Mit freundlichen Grüssen
>
> -Benoît Panizzon- @ HomeOffice und normal erreichbar
> --
> I m p r o W a r e   A G    -    Leiter Commerce Kunden
> ______________________________________________________
>
> Zurlindenstrasse 29             Tel  +41 61 826 93 00
> CH-4133 Pratteln                Fax  +41 61 826 93 01
> Schweiz                         Web  http://www.imp.ch
> ______________________________________________________
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions --
> [email protected]
> To unsubscribe send an email to [email protected]
> Important: keep the mailing list in the recipients, do not reply only to
> the sender!
>
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- 
[email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to