how to kamcmd htable.get name starting with + sign

Benoît Panizzon via sr-users <[email protected]>
Newsgroups gmane.comp.voip.ser
Organization ImproWare AG
Message-ID <[email protected]>
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!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.