Hi, Searching this list archives, I couldn't find a definitive answer to my question : how to send SMS to Gigaset phones ? My goal is to send Alert SMS such as "This phone system will be stopped in 5mn for maintenance" to every terminal (SIP phones and Gigaset DECT phones). (So at the moment, I'm not looking for way to send SMS from handsets). I could successfully send 1 short text message to 1 SIP hardphones (using sipsak) (I've not tried to send the same message to several phones and to see I could erase old messages form phone's screen) but failed with Gigasets. Which tool shall I use ? smsq ? sipsak ? It this matters, I'm using 1.4.35. Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100913/756e0a29/attachment.htm
Gordon Henderson
2010-Sep-13 13:29 UTC
[asterisk-users] How to send SMS to Gigaset phones ?
On Mon, 13 Sep 2010, Olivier wrote:> Hi, > > Searching this list archives, I couldn't find a definitive answer to my > question : > how to send SMS to Gigaset phones ? > > My goal is to send Alert SMS such as "This phone system will be stopped in > 5mn for maintenance" to every terminal (SIP phones and Gigaset DECT phones). > (So at the moment, I'm not looking for way to send SMS from handsets). > > I could successfully send 1 short text message to 1 SIP hardphones (using > sipsak) (I've not tried to send the same message to several phones and to > see I could erase old messages form phone's screen) but failed with > Gigasets. > > Which tool shall I use ? smsq ? sipsak ? > It this matters, I'm using 1.4.35.I think you're stuffed unless you use the analogue side of the Siemens gigaset base stations - I'm fairly sure they can only take SMS messages that way. I'd suggest that you really ought to be sending SIP messages using the SendText() command, however don't seem to respond to that anyway, and other phones seem to have different ideas about what to do with them too (to the extent that I abandoned it after some experiments - good idea if you can stick to one phone type, bad if you've got many) Gordon
Anselm Martin Hoffmeister
2010-Sep-13 17:35 UTC
[asterisk-users] How to send SMS to Gigaset phones ?
Hi Olivier, I remember having had a similar discussion a few years ago. I will paste my postings from around May 2007 further down. First, I did not try sending SMS over VOIP to the phone, just over Voip to an ATA and then over analogue line (or ISDN) to the phone. So I have no idea wether the new Gigaset VoIP phones will to 1200 baud mumbo SMS phone service over a Sip voice channel or if Gigaset invented something better by now. You will have to try yourself. As for Gigaset phones connected via (at least one cable of ;-> ) landline, you can send SMS messages to those with smsq. In theory that should also work on other "landline SMS" capable phones. Am Montag, den 13.09.2010, 11:04 +0200 schrieb Olivier:> Hi, > > Searching this list archives, I couldn't find a definitive answer to > my question : > how to send SMS to Gigaset phones ? > > My goal is to send Alert SMS such as "This phone system will be > stopped in 5mn for maintenance" to every terminal (SIP phones and > Gigaset DECT phones). > (So at the moment, I'm not looking for way to send SMS from handsets).== Message 1 (from myself, 2007-May-22)>The SMSq stuff is for landline-type SMS, like those that never became >really popular here in Europe ;-) I do not know of any SIP hardphone >that supports them, but regular analog and ISDN handsets behind a >SIP-to-analog/ISDN gateway work for me. > >The point of this SMS transfer method is calling the destination handset >with a certain callerid set (which differs between countries - whatever >number the telco prefers to choose - this can also be configured in the >phone). The phone will not ring but instead immediately answer the call >and receive the short message at 1200bps whatever modem standard they >chose to use. > >For sending SMS, the handset will call a similarly telco-provided number >(premium-rate numbers here in Germany - maybe that is the reason for the >lack of popularity of this service) and do that 1200bps talk. > >If you still think you can make use of it, make sure to call "smsq" with >the user id that asterisk is running as. That _might_ already do the >trick. If you do not get it running, ask again - I might have a working >setup somewhere around ;-) > >Nevertheless, for me, landline SMS is a PITA. The only great thing is >you can upload Ringtones to Siemens gigaset phones.== Message 2 (from myself, 2007-May-22) Just to get you started, try this: Find out which user asterisk runs as. Get a shell for that user. Run (all in one line) smsq --mt --oa=321 --mttx-callerid=01930101 --mttx-channel=SIP/abcde "message text goes here" where "321" will displayed as sender id on the handset, and "01930101" will have to replaced by the mobile center known to your phone, plus "1" at the end - the German T-Com seems to use 0193010, and this setting works for me. Further, SIP/abcde must be the channel that a SMS-capable handset is available on: If you have some ATA with a DECT handset connected, or similar, use the channel name exactly as you would in the Dial() command. First thing to find out is if this works. Be sure to have asterisk in extra-verbose running a console to see what happens. If the mobile handset rings (instead of getting the SMS) either the 01930101 number has not been set correctly or it probably is not compatible with Asterisk SMS. Once you get this far, you would need the other way round. When your mobile phone tries to _send_ a text message, it will go to 01930100 (sms center number plus "0"). You will have to care for that in your extensions.conf, like this exten => 01930100,1,Wait(2) exten => 01930100,2,Answer() exten => 01930100,3,Wait(2) exten => 01930100,4,SMS(01930100,as) exten => 01930100,5,Wait(2) exten => 01930100,6,Hangup() In my experience those Wait(2) improve reliability over internet connections, they probably are superfluous if you have reliable low-latency LAN. For me, they made the difference between 10/100 and 95/100 successfuly sent messages. You will have to write your own scriptwork to play with the files that will be created from those commands. Their structure is simple, you will find out. Sending EMS (for ringtones and bitmaps) is a bit more complex, you will need the UDH flag for that. I think I documented that once on this ML but am not sure. However, it is possible with some Siemens Gigaset devices, and pictures or monophonic ringtones. == Message 3 (2006-Nov-12) can be found at http://www.mail-archive.com/asterisk-dev at lists.digium.com/msg24205.html with an example of how to send an EMS (message with picture attached). This worked with both monochrome pictures and single-track MIDI ringtones on my Gigaset S1 back then. Never got around to sending multi-track ringtones though. = Best regards Anselm