Hi
We have over 400 active dialogs and I wanted to list all of them but it doesn't list any : -
root@kamailio:~# kamcmd dlg.list ERROR: reply too big
The command works fine when we have few dialogs. Is there any way to list all the active dialogs?
Many Thanks
Regards Muhammad Zaka
Take a look at the source code, there should be a limit, maybe you can modify it... beware of performance consequences (don't know if there are any) On Thu, Jul 6, 2017 at 1:45 PM Muhammad Zaka muhammad.zaka@cloudcall.com wrote:
Hi
We have over 400 active dialogs and I wanted to list all of them but it doesn’t list any : -
root@kamailio:~# kamcmd dlg.list
ERROR: reply too big
The command works fine when we have few dialogs. Is there any way to list all the active dialogs?
Many Thanks
Regards
Muhammad Zaka
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hello,
you have to adjust the parameters for the buffers in the ctl module.
If you are on 5.0.x with jsonrpcs module, you can use kamctl for the same purpose, and there should be no such limits, iirc.
kamctl rpc dlg.list
Also, via jsonrpcs module, you have a more standards json-based output, that can be parsed easier by many tools out there.
Cheers, Daniel
On 06.07.17 13:44, Muhammad Zaka wrote:
Hi
We have over 400 active dialogs and I wanted to list all of them but it doesn’t list any : -
root@kamailio:~# kamcmd dlg.list
ERROR: reply too big
The command works fine when we have few dialogs. Is there any way to list all the active dialogs?
Many Thanks
Regards
Muhammad Zaka
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hi Daniel
We are using 4.3 and the following command does the job for us: - root@kamailio:~# kamctl dialog show
Many Thanks
Regards Muhammad Zaka
From: Daniel-Constantin Mierla [mailto:miconda@gmail.com] Sent: 06 July 2017 13:37 To: Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org; Muhammad Zaka muhammad.zaka@cloudcall.com Subject: Re: [SR-Users] Dialog List cannot be listed using kamcmd
Hello,
you have to adjust the parameters for the buffers in the ctl module.
If you are on 5.0.x with jsonrpcs module, you can use kamctl for the same purpose, and there should be no such limits, iirc.
kamctl rpc dlg.list
Also, via jsonrpcs module, you have a more standards json-based output, that can be parsed easier by many tools out there.
Cheers, Daniel
On 06.07.17 13:44, Muhammad Zaka wrote: Hi
We have over 400 active dialogs and I wanted to list all of them but it doesn't list any : -
root@kamailio:~# kamcmd dlg.list ERROR: reply too big
The command works fine when we have few dialogs. Is there any way to list all the active dialogs?
Many Thanks
Regards Muhammad Zaka
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.orgmailto:sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
www.twitter.com/micondahttp://www.twitter.com/miconda -- www.linkedin.com/in/micondahttp://www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.comhttp://www.asipto.com
Kamailio World Conference - www.kamailioworld.comhttp://www.kamailioworld.com
Hello,
On 06.07.17 16:02, Muhammad Zaka wrote:
Hi Daniel
We are using 4.3 and the following command does the job for us: -
root@kamailio:~# kamctl dialog show
ok, same command should work also for v5.0, but will print the result in json format.
Cheers, Daniel
Many Thanks
Regards
Muhammad Zaka
*From:*Daniel-Constantin Mierla [mailto:miconda@gmail.com] *Sent:* 06 July 2017 13:37 *To:* Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org; Muhammad Zaka muhammad.zaka@cloudcall.com *Subject:* Re: [SR-Users] Dialog List cannot be listed using kamcmd
Hello,
you have to adjust the parameters for the buffers in the ctl module.
If you are on 5.0.x with jsonrpcs module, you can use kamctl for the same purpose, and there should be no such limits, iirc.
kamctl rpc dlg.list
Also, via jsonrpcs module, you have a more standards json-based output, that can be parsed easier by many tools out there.
Cheers, Daniel
On 06.07.17 13:44, Muhammad Zaka wrote:
Hi We have over 400 active dialogs and I wanted to list all of them but it doesn’t list any : - root@kamailio:~# kamcmd dlg.list ERROR: reply too big The command works fine when we have few dialogs. Is there any way to list all the active dialogs? Many Thanks Regards Muhammad Zaka _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org <mailto:sr-users@lists.kamailio.org> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla www.twitter.com/miconda http://www.twitter.com/miconda -- www.linkedin.com/in/miconda http://www.linkedin.com/in/miconda Kamailio Advanced Training - www.asipto.com http://www.asipto.com Kamailio World Conference - www.kamailioworld.com http://www.kamailioworld.com