<div dir="ltr">Hello,<div><br></div><div>I'm trying to add a user with password containing % character:</div><div><br></div><div>~# opensips-cli -i opensips-1 -f /etc/opensips-cli.cfg -x user password <a href="mailto:1234@sip.domain.com">1234@sip.domain.com</a> '%1234'<br><br></div><div>ERROR: cannot execute query: UPDATE subscriber SET ha1 = '1460228c41f725017708f4f684b7edb1', password = '%1234', ha1b = '580f8f81d95fcec5e7044f9aba97868a' WHERE username = '1234' AND domain = '
<a href="http://sip.domain.com">sip.domain.com</a>'<br>ERROR: (_mysql_exceptions.ProgrammingError) not enough arguments for format string<br>[SQL: UPDATE subscriber SET ha1 = '1460228c41f725017708f4f684b7edb1',
password = '%1234', ha1b = '580f8f81d95fcec5e7044f9aba97868a' WHERE username = '1234' AND domain = ' <a href="http://sip.domain.com">sip.domain.com</a>']<br>(Background on this error at: <a href="http://sqlalche.me/e/f405">http://sqlalche.me/e/f405</a>)<br></div><div><br></div><div>Please advice</div><div><br></div><div>Thanks</div><div>Andrei</div></div>