<div dir="ltr"><div>Lots of little bits in one email to save polluting the list too much today, time for me to try and give a little back, too!</div><div><br></div><div>Someone posted about sngrep a couple of days ago. What a great tool!</div><div>Is there a list of useful stuff like this that isn't hopelessly out of date?</div><div><br></div><div>Talking about hopelessly out of date, my first top tip would be to grab the Personal Blocklist extension by Google and block voip-info.org... suddenly, it's 2016 with Asterisk 14 again and not 2004 with stuff about 1.4!</div><div><br></div><div>Second tip: I was looking for info on HASH, which has virtually no documentation or examples even in the practical asterisk book,  and I came across a list post from a few years back that was incredibly patronising, along the lines of "well, if you don't know what a hash is already, clearly you're an idiot". As this was the answer to the question "how do I use the hash function", I wondered who the idiot might be!</div><div><br></div><div>So, I decided to make a few experiments and working examples for myself - please feel free to fork, edit, contribute or criticise and needed.</div><div>It's NOT supposed to be a mini-wiki, just a single page aide-memoire for me to jog memories when needed.</div><div><a href="https://github.com/lardconcepts/asterisk-pbx-tips-and-snips/blob/master/hash-push-pop-cut-sort-loop-and-shift.txt">https://github.com/lardconcepts/asterisk-pbx-tips-and-snips/blob/master/hash-push-pop-cut-sort-loop-and-shift.txt</a> <br></div><div><br></div><div><br></div><div>***AND NOW MY QUESTIONS****</div><div><br>Is it possible to print newlines in verbose, like using \n? Tried it, doesn't work. </div><div><br>Is there a better way to test a context than "dial", with its associated "unable to re-open DSP device /dev/dsp: No such file or directory"?<br><br>Is it possible to just ignore message from one module, in this case, the mp3 player throws nonsense warnings, even at no verbosity or debug level:</div><div>Oct 16 07:50:00] WARNING[28544][C-00000008]: mp3/interface.c:218 decodeMP3: Junk at the beginning of frame 49443303</div><div>I don't want or need to see that message - it just means my mp3 has an id3 tag!</div><div><br></div><div>Finally: Does this look right? Asterisk 14.0.1</div><div><br></div><div><div>$ asterisk -rvvvvvvvvdddddddd</div><div>Core debug was 3 and is now 8.</div><div><br></div><div>$ asterisk -rvd</div><div>Core debug is still 8.</div></div><div><br>Shouldn't core debug be 1 now?</div><div><br></div></div>