[OpenSIPS-Users] mi address dump
Liviu Chircu
liviu at opensips.org
Mon Jul 15 11:35:20 EDT 2019
Hi Alexey,
Did you install OpenSIPS 3.0 from the initial release packages? I'm asking
because 2 months is an eternity in OpenSIPS development land, and this issue
might have been fixed in the meantime (it works for me as of now):
$ opensips-cli -x mi address_dump
SQLAlchemy version: 1.3.3
{
"Partitions": [
{
"name": "default",
"Destinations": []
}
]
}
I recommend you install 3.0 from the nightly packages [1] and keep them
up-to-date
afterwards, in order to benefit from all the testing/feeback loop that our
community is powering.
Best regards,
[1]: http://apt.opensips.org/packages.php?v=3.0
Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com
On 15.07.2019 12:50, Alexey Kazantsev via Users wrote:
> Hi list,
>
> the question regarding OpenSIPS-cli for 3.0 version.
> I hope somebody can help me here, even as the project is a stand-alone
> one.
>
> I can not execute 'address_dump' MI command - it needs
> a 'partition' option. I'm doing everything accroding to the
> documentation [1]
> but all in vain:
>
> (opensips-cli): mi address_dump
> ERROR: command 'address_dump' returned: -32000: Server error
>
> (opensips-cli): mi address_dump partition
> ERROR: command 'address_dump' returned: 404: No such partition
>
> (opensips-cli): mi address_dump partition=
> ERROR: command 'address_dump' returned: 404: No such partition
>
> (opensips-cli): mi address_dump partition='default'
> ERROR: command 'address_dump' returned: -32000: Server error
>
> (opensips-cli): mi address_dump partition="default"
> ERROR: command 'address_dump' returned: -32000: Server error
>
> I haven't configured a 'partition' option for permissions module in fact,
> as there's no such need.
>
> [1]
> https://opensips.org/html/docs/modules/devel/permissions.html#mi_address_dump
>
>
> -----------------------------------------------
> BR, Alexey
> http://alexeyka.zantsev.com/
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190715/081dcca7/attachment.html>
More information about the Users
mailing list