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(a)gmail.com>om>:
Hello,
On 10.01.18 12:55, Евгений Голей wrote:
Hello!
Tell me how, when using the
"kamcmd ul.add location username@domain
sip:contact_username@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
--
С уважением,
Евгений Голей