[sr-dev] sercmd dlg.list bug

Daniel-Constantin Mierla miconda at gmail.com
Mon Apr 29 10:41:59 CEST 2013


I noticed the mail, but had no time to look over it. Perhaps it will 
happen soon if nothing else is discovered meanwhile.

Cheers,
Daniel

On 4/28/13 11:27 AM, Alex Balashov wrote:
> 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
>>
>
>

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, San Francisco, USA - June 24016, 2013
   * http://asipto.com/u/katu *




More information about the sr-dev mailing list