<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<p>Hello,</p>
<p>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.</p>
<p>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.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="moz-cite-prefix">On 09.03.21 00:05, Jon Bonilla (Manwe)
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:20210309000511.4a944389@multivac.sipdoc.net">
<pre class="moz-quote-pre" wrap="">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
<a class="moz-txt-link-freetext" href="https://pekepbx.com">https://pekepbx.com</a>
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Funding: <a class="moz-txt-link-freetext" href="https://www.paypal.me/dcmierla">https://www.paypal.me/dcmierla</a></pre>
</body>
</html>