Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SMS support? #48

Open
mesb1 opened this issue Apr 25, 2024 · 3 comments
Open

SMS support? #48

mesb1 opened this issue Apr 25, 2024 · 3 comments

Comments

@mesb1
Copy link

mesb1 commented Apr 25, 2024

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?

@tomek-o
Copy link
Owner

tomek-o commented Apr 25, 2024

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.

@mesb1
Copy link
Author

mesb1 commented Apr 27, 2024

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?

@tomek-o
Copy link
Owner

tomek-o commented Apr 27, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants