[asterisk-dev] [Code Review] adding CLI function sip show dialogs
Olle E. Johansson
oej at edvina.net
Wed Oct 6 03:04:15 CDT 2010
6 okt 2010 kl. 08.35 skrev Stefan Schmidt:
> Am 05.10.10 22:29, schrieb Russell Bryant:
>> ----- Original Message -----
>>> 5 okt 2010 kl. 17.21 skrev sst at sil.at:
>>>> Using sip show objects to check sip dialogs is not very usefull and
>>>> blocks the peer container unnecessary.
>>>> i have written this function sip show dialogs which checks the three
>>>> container where dialogs could be included and just print them out.
>>> This is really just for developers and testing, right? COuld it be
>>> hidden in normal installations?
> hello Olle,
> Yes this is for developers and debuging but i think sip show objects is
> nearly the same, so maybe this cli function should also be hidden by
Maybe, but let's not change the existing stuff...
>> This could be easily accomplished using the AST_DEV_MODE define (I think that's what it is) which is enabled when the configure script has been run with --enable-dev-mode.
>> Russell Bryant
> Thanks Russel, i will have a look at this.
I would suggest that we use "sip show pvts" so that we can have similar development commands in other channels. It's a developer name, so it fits and it opens up for "iax2 show pvts", "mgcp show pvts" for debugging those buggy channels ;-)
More information about the asterisk-dev