[SR-Users] lookup(aliases) issues with 5.2

igor.potjevlesch at gmail.com igor.potjevlesch at gmail.com
Fri Aug 23 18:53:11 CEST 2019


Hello!

 

I have notice some issues with lookup(aliases) since I upgraded to 5.2 from
5.1:

First with kamctl: If this default command is executed:

 

ctl_cmd_run ul.add "$USRLOC_TABLE" "$OSERUSER@$OSERDOMAIN" "$2" \

"$UL_EXPIRES" "$DEFAULT_Q" "$UL_PATH" "$UL_FLAGS" "$BR_FLAGS" "$ALL_METHODS"

 

as $ALL_METHODS is not defined, there is a huge value in methods and then
lookup(aliases) fails with -2. 

 

I have to update kamctl script and put -1 ("-1") instead of the variable.
So, now, methods is a NULL value in DB and my alias is not ignored. But I
use to make my alias like this: sip:number at blabla_1.local

Which is no longer works: ERROR: registrar [common.c:62]: extract_aor():
failed to parse AoR [sip:number at blabla_1.local]

 

Any idea of the difference since 5.2 with this behaviour? Without the
underscore, the AoR seems to be valid but I need to support underscore as
before.

 

Regards,

 

Igor.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190823/2df420bc/attachment.html>


More information about the sr-users mailing list