Для Jabber.
1. Нужен модуль res_jabber
2. Создаем конфиг:
[general]
debug=no ;;Turn on debugging by default.
autoprune=yes ;;Auto remove users from buddy list.
autoregister=yes ;;Auto register users from buddy list.
[asteriskjabber]
type=client ;;Client or Component connection
serverhost=192.168.0.100 ;;Route to server for example, talk.google.com
username=petya@info.ru ;;Username with optional roster.
secret=1 ;;Password
port=5222 ;;Port to use defaults to 5222
usetls=no ;;Use tls or not
usesasl=yes ;;Use sasl or not
statusmessage=«I am available» ;;Have custom status message for Asterisk.
timeout=100 ;;Timeout on the message stack.
3. В extensions.conf:
exten => — extension-- ,1,JabberSend(asteriskjabber|vasya@info.ru|test message)