Hi Sammy,<div><br></div><div>It's a good start, Atleast being split it is handy, Ideally I'd to be able to spit DumpChan output direct to JabberSend or func_ODBC but I fear this will require someone who know's C to alter the module. I think i'm going to have to just use JabberSend for each variable I use and the channel details which is going to blow out the size of the dialplan a bit but I cant see another way around it</div>
<div><br></div><div><br></div><div>Cheers<br><br><div class="gmail_quote">On 14 November 2011 18:07, Sammy Govind <span dir="ltr"><<a href="mailto:govoiper@gmail.com">govoiper@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello,<div>Reading about the application DumpChan() shows this:</div><div><br></div><div><div>[Synopsis]</div><div>Dump Info About The Calling Channel.</div><div><br></div><div>[Description]</div><div>Displays information on channel and listing of all channel variables. If</div>
<div><level> is specified, output is only displayed when the verbose level is</div><div>currently set to that number or greater.</div><div><br></div><div>[Syntax]</div><div>DumpChan([level])</div><div><br></div><div>
So in theory its just another Verbose output on CLI, you can separate Verbose logging to another file in logger.conf. Your verbose level is 1001 so whenever you set "core set verbose 1001" this DumpChan() application will start dumping output in CLI and then fro there be logged in the Verbose logging file.</div>
<div><br></div><div>I don't think this is exactly what you require.</div><div><br></div><div>--</div><div>Regards,</div><div>Sammy</div><div><br></div><div class="gmail_quote"><div><div></div><div class="h5">On Mon, Nov 14, 2011 at 3:19 AM, Tristram Cheer <span dir="ltr"><<a href="mailto:tristram@tristramcheer.com" target="_blank">tristram@tristramcheer.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">Hi All,<div><br></div><div>Hopefully this is considered on-topic for this list.</div>
<div><br></div><div>I'm using DumpChan(1001) in a Macro called debug in order to debug issues within the dialplan, I would like to dump this output to a file specifically for DumpChan output but I'm having issues with figuring out how to do this under logger.conf. Ideally I would like to put DumpChan into SQL using func_ODBC but it seems that you can't do this so runner up is a file.</div>
<div><br></div><div>Anyone have any pointers on how to do this? I would like to log DumpChan output and only DumpChan output to a separate file.</div><div><br></div><div><br></div><div>Cheers!</div>
<br></div></div>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div>