User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active

A little how-to about sip text messages in Asterisk, SIMPLE protocol. Including how-to for freepbx.

Asterisk supports short messaging using SIMPLE protocol - RFC3428. Asterisk supports its from 10 version.

Open sip.conf in [general] section, for freepbx open sip_general_custom.conf and add:

accept_outofcall_message = yes
outofcall_message_context = sip-msg
auth_message_requests = no

Open dialplan, for freepbx open extensions_custom.conf and add:

;short numbers, XXXX - for 4digit internal numbering plan
exten => _XXXX,1,MessageSend(sip:${EXTEN},"${CALLERID(name)}"${MESSAGE(from)})
;forward from mobile number to sip number
exten => _+79258792314,1,MessageSend(sip:1234,"${CALLERID(name)}"${MESSAGE(from)})

Reload configuration, for freepbx fwconsole reload and check it!



#1 giá xe tải isuzu 2019-05-14 23:16
Its great as your other content :D, thank you for posting.

Add comment

Security code