Send Jabber alert for outgoing call

Hello all!

I have followed the directions here “http://nerdvittles.com/?p=1434” to setup incoming alerts, and it works like a charm!

I would like to however do the same for outgoing as well.
Would anyone be able to point me in the right direction on doing this?

Thanks much!

macro-dialout-one-predial-hook
This is called before dialing out so putting something in macro-dialout-one-predial-hook-custom should do the trick

This context is better:
macro-dialout-trunk-predial-hook

At the risk of sounding like an idiot… where do I put all this?!

In the file /etc/asterisk/extensions_custom.conf

[macro-dialout-trunk-predial-hook]
exten => s,1,noop(This line will show up in the Asterisk log and console on every outbound call)