[SR-Users] usrloc rpc command ul add
Евгений Голей
goley_ev_sp at mail.ru
Wed Jan 10 14:53:39 CET 2018
Thanks for the answer!
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.
2018-01-16T04:43:34.0456 "ERROR: <core> [parser/parse_rr.c:82]: do_parse_rr_body(): parse_rr(): Error while parsing name-addr (.)"
2018-01-16T04:43:34.0468 "ERROR: <core> [parser/parse_rr.c:465]: get_path_dst_uri(): failed to parse Path body"
2018-01-16T04:43:34.0473 "ERROR: registrar [lookup.c:264]: lookup_helper(): failed to get dst_uri for Path"
If a value of 0 is used, a message is output
error: 500 - Not enough parameters or wrong format
Apparently you need to upgrade to new versions.
>Среда, 10 января 2018, 15:38 +03:00 от Daniel-Constantin Mierla <miconda at gmail.com>:
>
>Hello,
>
>On 10.01.18 12:55, Евгений Голей wrote:
>>Hello!
>>
>>Tell me how, when using the
>> "kamcmd ul.add location username at domain sip:contact_username at contact_ip:contact_port 0 1.0 ??? 0 0 0"
>> command, specify parameters that are not used, for example
>> path ?
>
>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.
>
>Cheers,
>Daniel
>
>--
>Daniel-Constantin Mierla
>www.twitter.com/miconda -- www.linkedin.com/in/miconda
>Kamailio Advanced Training - March 5-7, 2018, Berlin - www.asipto.com
>Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com
--
С уважением,
Евгений Голей
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180110/57ce2cbb/attachment.html>
More information about the sr-users
mailing list