Mr Gabriel
2008-Dec-05 10:52 UTC
[asterisk-users] Check variables on a live system - Is it possible?
Is it possible to check certain varibles on the live system, for example, what the current setting for pridialplan is? I know what is set in the config files, but the behaviour does not reflect this. Can this be checked? Kind Regards: Gabriel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081205/f88f40c4/attachment.htm
Tzafrir Cohen
2008-Dec-07 19:08 UTC
[asterisk-users] Check variables on a live system - Is it possible?
On Fri, Dec 05, 2008 at 10:52:46AM +0000, Mr Gabriel wrote:> Is it possible to check certain varibles on the live system, for > example, what the current setting for pridialplan is? I know what is > set in the config files, but the behaviour does not reflect this. > Can this be checked?Generally: no. Something you can check is what were the configuration files that asterisk has read (as those values are remembered). The specific setting you mention is basically per-channel (though is really per-span, IIRC). You could patch 'dahdi show channel' to show its value. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir