El Tue, 9 Mar 2021 09:32:00 +0100 Daniel-Constantin Mierla <[email protected]> escribió:
> Hello,
>
> the error message from kamctl, not from kamailio. You need to set
> SIP_DOMAIN inside kamctlrc file or do: kamctl ul show username@domain,
> where domain can be localhost or anything else. The kamctl is built that
> way, is not really aware that the kamailio is multi-domain enabled or
> not. Actually, kamailio still needs sip addresses with user@domain, just
> ignores the domain for queries.
If I use user@anydomain I always get
{
"jsonrpc": "2.0",
"error": {
"code": 500,
"message": "Domain not found"
},
"id": 3826
}
>
> You can make kamctl to be more flexible here, it is a shell script, if
> you provide a patch, can be merged. On the other hand, it might be
> better to just go for kamcli, it is planned that at some point is going
> to replace kamctl.
>
Will check. Will also try kamcli
--
PekePBX, the multitenant PBX solution
https://pekepbx.com
pgpSWgvXKSEPX.pgp
Description: Firma digital OpenPGP
_______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
