[SR-Users] Can't show single location via kamctl
Daniel-Constantin Mierla
miconda at gmail.com
Tue Mar 9 09:32:00 CET 2021
Hello,
the error message from kamctl, not from kamailio. You need to set
SIP_DOMAIN inside kamctlrc file or do: kamctl ul show username at 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 at domain, just
ignores the domain for queries.
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.
Cheers,
Daniel
On 09.03.21 00:05, Jon Bonilla (Manwe) wrote:
> Hi all
>
> Using version 5.4.x here.
>
>
> I save the registrations with use_domain 0 but I do use the domain module to do
> some checks.
>
> If I execute "kamctl ul" show I can see the registrations but if I execute
> "kamctl ul show username" I get
>
> "ERROR: domain unknown: use usernames with domain or set default domain in
> SIP_DOMAIN"
>
>
> I understand I should use domain in case I was using it in the usrloc module
> but I'm not.
>
> How can I tell kamctl not to ask for domain?
>
>
> cheers,
>
> Jonm
>
>
> --
> PekePBX, the multitenant PBX solution
> https://pekepbx.com
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210309/9dfe16be/attachment.htm>
More information about the sr-users
mailing list