Text Messages
From Snom Asterisk Portal
Asterisk 1.4 > Asterisk 1.4/Text Messages
Contents |
Feature description
For some applications its required to send text messages to a phone. This can be done in asterisk in the dialplan.
Configure Asterisk
There exist two common ways to use text messages:
Send message to calling phone
Add to your extensions.conf:
[your-context]
Exten => 9001,1,Answer()
Exten => 9001,n,SendText("Hello snom phone")
Exten => 9001,n,HangUp()
If you dial 9001, a text message will be send to your phone.
Send message to remote phone
Add to your extensions.conf:
[your-context]
Exten => 9001,1,Answer()
Exten => 9001,n,SIPAddHeader(Call-Info: <sip:pbx.your-company.com>\;answer-after=0)
Exten => 9001,n,Dial(SIP/5001,,M(text)L(1000))
Exten => 9001,n,HangUp
[macro-text]
Exten => s,1,SendText("Hello snom phone")
If you call 9001, a text message will be send to extension 5001. This makes use of the auto-answer feature of snom phone. A short call will be established to send the message. As an alternativ you can use sipsak, which is not the part of this wiki.
Configure snom phones
snom 3xx
After receiving a text message the Message LED will start blinking. When pressing the Retrieve button the message is diplayed on the screen.
snom m3
The snom m3 does not support receiving text messages.
