[SR-Users] Can't show single location via kamctl

Jon Bonilla (Manwe) manwe at sipdoc.net
Tue Mar 9 11:52:10 CET 2021


El Tue, 9 Mar 2021 09:32:00 +0100
Daniel-Constantin Mierla <miconda at gmail.com> 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 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.


If I use user at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: Firma digital OpenPGP
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210309/1bf165eb/attachment.sig>


More information about the sr-users mailing list