tomek-o/tSIP

SMS support?

Opened this issue · 3 comments

Not really an issue but a question about plans:

I was thinking about some message sending to/from tsip clients mostly for notification purposes.

As far as i can see there is some options about sms in a voip world:

ETSI 201 912 land line sms - works for asterisk app smsq and gigaset (basically no idea if any other ip phones\gateways support it)

SIP MESSAGE (RFC 3428), also known as SIMPLE

So do you have any idea to implements some sms support?

SIP MESSAGE should (assuming plain text body) work with Tools/Messages, from contacts list or call history popup menu.
It has kind of a chat interface and was tested e.g. with sip2sip.info free service for SIP to SIP messaging.
It was mostly for test purposes though and one important feature that is missing at the moment is message saving/history.

Oh, that's sounds promising.
I will definitely take a closer look.

Is it possible to setup additional button as we can do for some functions to open it?
Is it possible to have some reactions when message arrive for user like an incoming call?

Is it possible to setup additional button as we can do for some functions to open it?

There is a SendTextMessage(uriOrNumber, text, sendImmediately) Lua function, opening window, setting text to send and optionally sending immediately (otherwise text can be edited - working as a template - and sent manually).

Is it possible to have some reactions when message arrive for user like an incoming call?

You mean script event? Yeah, it could be done, with SetHandled() function determining if incoming message should be handled further in a normal way, that is opening regular messaging window / playing sound. One or two evenings, negligible risk of breaking something in the meanwhile, but it would be worth to know if it would be useful. AFAIR for sip2sip.info there was one serious issue: if the other party was not registered at the moment, service replied with some kind of 2xx reply but the message was just dropped, not queued for future delivery. Originally I wanted to use SIP SIMPLE for the local messaging system, but the whole project fizzled out.