<HTML><BODY>Thanks for the answer!<br>I tried it on version 5.1.0, the kamailio works as it should. But I have version 4.2.8, the command input is successful, but when using the lookup () function, kamailio produces an error. <br>2018-01-16T04:43:34.0456 "ERROR: <core> [parser/parse_rr.c:82]: do_parse_rr_body(): parse_rr(): Error while parsing name-addr (.)"<br>2018-01-16T04:43:34.0468 "ERROR: <core> [parser/parse_rr.c:465]: get_path_dst_uri(): failed to parse Path body"<br>2018-01-16T04:43:34.0473 "ERROR: registrar [lookup.c:264]: lookup_helper(): failed to get dst_uri for Path"<br><br><span id="result_box" lang="en"><span>If a value of 0 is used, a message is output<br></span><br><span>error: 500 - Not enough parameters or wrong format</span></span><br><br>Apparently you need to upgrade to new versions.<br><br><br><blockquote style="border-left:1px solid #0857A6; margin:10px; padding:0 0 0 10px;">
Среда, 10 января 2018, 15:38 +03:00 от Daniel-Constantin Mierla <miconda@gmail.com>:<br>
<br>
<div id="">
<div class="js-helper js-readmsg-msg">
<style type="text/css"></style>
<div>
<base target="_self" href="https://e.mail.ru/">
<div id="style_15155879300000000389_BODY"><div class="class_1515600740">
<div class="moz-cite-prefix_mailru_css_attribute_postfix">Hello,<br>
<br>
On 10.01.18 12:55, Евгений Голей wrote:<br>
</div>
<blockquote type="cite" cite="mid:1515585325.196035250@f170.i.mail.ru">
Hello!<br>
<br>
<span id="result_box_mailru_css_attribute_postfix" lang="en"><span>Tell me how, when using the
"kamcmd ul.add location username@domain
<a class="moz-txt-link-freetext_mailru_css_attribute_postfix" target="_blank" rel=" noopener noreferrer">sip:contact_username@contact_ip:contact_port</a> 0 1.0 ??? 0 0 0"
command, specify parameters that are not used, for example
path ?</span></span><br>
</blockquote>
<br>
the command should accept . (dot) for the parameters that should not
be set. Just for Path parameter, I think it works also if you put
there 0. I am talking about latest versions of kamailio.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<pre class="moz-signature_mailru_css_attribute_postfix" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated_mailru_css_attribute_postfix" href="http://www.twitter.com/miconda" target="_blank" rel=" noopener noreferrer">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated_mailru_css_attribute_postfix" href="http://www.linkedin.com/in/miconda" target="_blank" rel=" noopener noreferrer">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - March 5-7, 2018, Berlin - <a class="moz-txt-link-abbreviated_mailru_css_attribute_postfix" href="http://www.asipto.com" target="_blank" rel=" noopener noreferrer">www.asipto.com</a>
Kamailio World Conference - May 14-16, 2018 - <a class="moz-txt-link-abbreviated_mailru_css_attribute_postfix" href="http://www.kamailioworld.com" target="_blank" rel=" noopener noreferrer">www.kamailioworld.com</a><br data-mce-bogus="1"></pre>
</div></div>
<base target="_self" href="https://e.mail.ru/">
</div>
</div>
</div>
</blockquote>
<br>
<br>-- <br>С уважением,<br>Евгений Голей<br></BODY></HTML>