[sr-dev] sercmd dlg.list bug
Alex Balashov
abalashov at evaristesys.com
Sun Apr 28 11:27:39 CEST 2013
I've racked my brain trying to figure out the difference between the
implementation of rpc_print_dlgs() (and internal_rpc_print_dlg()) vs.
mi_print_dlgs() (and internal_mi_print_dlg()), but I just can't.
Yet, for some reason, the MI function always shows the correct number of
tracked calls (let's say 30-40), while the RPC function shows 6 to 8 at
most. This has been confirmed on multiple deployments, and is
consistently the case, although the amount of dialogs shown by the RPC
function varies. However, it is always <= 8.
A little help please, if anyone has a moment?
On 04/26/2013 12:25 PM, Alex Balashov wrote:
> Hello,
>
> When I run this:
>
> kamctl fifo dlg_list | grep '^dialog' | wc -l
>
> I get 38 dialogs.
>
> When I run this:
>
> sercmd -s unixs:/tmp/kamailio_ctl dlg.list | egrep '^hash' | wc -l
>
> I get 8 dialogs, rain or shine.
>
> Has anyone heard of this bug? Running the latest 3.3 pull...
>
> Thanks,
>
> -- Alex
>
--
Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Decatur, GA 30030
United States
Tel: +1-678-954-0670
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/
More information about the sr-dev
mailing list