If you have an "ancient" version of Asterisk you want to stick with, you can do this with asterisk -rx "sip set debug on" and asterisk -rx "agi set debug on" in your safe_asterisk script.
From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of David Cunningham Sent: Wednesday, November 09, 2011 3:28 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Permanent sip and agi debug on? Kevin, Thank you very much! On 10 November 2011 00:15, Kevin P. Fleming <kpflem...@digium.com> wrote: On 11/09/2011 04:22 AM, David Cunningham wrote: Hi all, I can't find the answer to this via google - is there some way to permanently enable "sip set debug on" and "agi set debug on" in Asterisk? I want this to be automatically enabled even after restarts. In recent versions of Asterisk, you can put CLI commands into cli.conf and they will be run automatically when Asterisk starts. There are even examples of doing this for 'sip set debug' in cli.conf.sample :-) -- Kevin P. Fleming Digium, Inc. | Director of Software Technologies Jabber: kflem...@digium.com | SIP: kpflem...@digium.com | Skype: kpfleming 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at www.digium.com & www.asterisk.org -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- David Cunningham, Voisonics http://voisonics.com/ US toll-free: +1 888 842 2720 UK: +44 (0) 20 3298 1642 Australia: +61 (0) 2 8063 9019
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users