<div dir="ltr">Hi Kamailios,<div><br></div><div>Any upadte about this subject ? </div><div><br></div><div>Bests Regards, </div><div><br>Igor</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le lun. 4 mars 2019 à 17:05, Igor Potjevlesch <<a href="mailto:igor.potjevlesch@gmail.com">igor.potjevlesch@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi kamailios, <div><br></div><div>I meet a problem with the " kamctl alias add" command in the 5.2 version, I saw that the module used to add an alias had changed, and now the command result with an error :<br></div><div><br></div><div><div>[kamailio]# kamctl alias add XXXX@XXXX sip:XXXXX@XXXX </div><div>{</div><div>  "jsonrpc":  "2.0",</div><div>  "error":  {</div><div>    "code": 500,</div><div>    "message":  "Not enough parameters or wrong format"</div><div>  },</div><div>  "id": XXXXX</div><div>}</div></div><div><br></div><div>I read the function who return this message " static void ul_rpc_add(rpc_t* rpc, void* ctx)" in the ul_rpc.c in the usr_loc module. </div><div>I tried to pass the command with two more parameters :<br><br><div># kamctl alias add <a href="mailto:0175951068@trunk7.bornsip.fr" target="_blank">0175951068@trunk7.bornsip.fr</a> <a href="mailto:sip%3A0175951068@trunk7.bornsip.fr" target="_blank">sip:0175951068@trunk7.bornsip.fr</a> NULL NULL</div><div>{</div><div>  "jsonrpc":  "2.0",</div><div>  "result": {</div><div>  },</div><div>  "id": 29200</div><div>}</div><div><br></div><div>And this time it works correctly, but I saw thaht the test prameters was in the field "path" , do you know why we have to indicate a path ? <br></div><div>Are we obliged to indicate this two more parameters ? </div></div><div>What is the utility of this field ? </div><div>Thank you in advance,</div><div><br></div><div>Igor</div><div><br></div></div></div></div></div>
</blockquote></div>