Hello,

I'm trying to use a htable to reroute some numbers but when i'm trying to use kamcmd to add a entry where the element name is a number instead of a string i get a 500 error


kamcmd htable.seti force_number 1234 1
error: 500 - Not enough parameters (htable name, key name and value)

Also with quotes i get the 500 error:
kamcmd htable.seti force_number "1234" 1
error: 500 - Not enough parameters (htable name, key name and value)

But this works:
kamcmd htable.seti force_number a1234 1


Is there a way to escape this so i can use a number as element name?

Regards,

Jan Hazenberg

_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to