Barfjelly / google-voice-sipsorcery-dialplans

Automatically exported from code.google.com/p/google-voice-sipsorcery-dialplans
0 stars 1 forks source link

Add support of initiating Text messages thru SIMPLE and sys.GoogleVoiceSMS #101

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
So, SIP Sorcery has added a ruby command to send an SMS through Google Voice. 
Could this be used to send SIMPLE messages to phones as SMS messages?

Original issue reported on code.google.com by hmmwhats...@gmail.com on 5 Sep 2010 at 12:11

GoogleCodeExporter commented 8 years ago
I'm using this sys.GoogleVoiceSMS to send notifications of missed calls. Are 
you talking about something similar or you want to send predefined texts to a 
phone?

Original comment by mte...@gmail.com on 5 Sep 2010 at 5:32

GoogleCodeExporter commented 8 years ago
No, I meant something like this:

IF user sends SIMPLE message && TO header == "<number>@sipsorcery.com" OR 
"<number>"
THEN
   IF number == 10 digits
   THEN
      sys.GoogleVoiceSMS(number, SIMPLE message contents)
   ELSE
      Send SIMPLE message to <number>@sipsorcery.com

(In a logic tree similar to that.)

-OR-

IF user sends SIMPLE message && TO header == "sms@sipsorcery.com" OR "sms"
THEN
   SIMPLE message contents begin with "<10digitnumber>:"
   THEN
      sys.GoogleVoiceSMS (number, message contents after 11th char)
   ELSE
      Reply "ERROR: Please enter a valid phone number, with the area code. Shortcodes are not accepted."

Original comment by hmmwhats...@gmail.com on 6 Sep 2010 at 1:06

GoogleCodeExporter commented 8 years ago
I still can't understand how you're going to pass message text to the dialplan. 
Sipsorcery doesn't support messaging, it only accepts SIP calls.

I have a feeling that you're looking into wrong direction. Check out Tropo.com, 
you can communicate to your Tropo application via IM (such as GTalk or MSN). 
It's possible to send a text message to mobile phone from your Tropo app and 
(best of all) you can dictate the message, Tropo will trascribe it into text 
and then you can send it as SMS.

Original comment by mte...@gmail.com on 6 Sep 2010 at 7:21

GoogleCodeExporter commented 8 years ago
I was planning on passing message text to SIP Sorcery through the SIMPLE 
(http://en.wikipedia.org/wiki/SIMPLE) protocol. It supports presence and IM, 
and is based on SIP. It's what sends those little messages to SIP contacts in 
Bria.

Original comment by hmmwhats...@gmail.com on 6 Sep 2010 at 4:49

GoogleCodeExporter commented 8 years ago
As far as I know, Sipsorcery doesn't support SIMPLE protocol. Tropo supports 
XMPP (Jabber, GTalk) as well as several other IMs.

If it's crucial that text messages originate from your GV number (rather than 
Tropo number), it's possible to use transfer() to Sipsorcery; message text can 
be passed in a custom header.

Original comment by mte...@gmail.com on 6 Sep 2010 at 5:03

GoogleCodeExporter commented 8 years ago
Well, I was talking to Aaron about it on the comments page for the blog post 
revealing the command, and he said that it was theoretically possible. Perhaps 
ask him about it? (The "sms@sipsorcery.com" idea was actually his)

Original comment by hmmwhats...@gmail.com on 6 Sep 2010 at 6:49

GoogleCodeExporter commented 8 years ago
He's pretty busy with some other project. Hope it's on his todo list but 
apparently not the first priority. When (and if) the feature is implemented 
I'll add it to my dialplan(s). In the meantime, I think that Tropo is the 
easiest and most logical way.

Original comment by mte...@gmail.com on 6 Sep 2010 at 7:52

GoogleCodeExporter commented 8 years ago

Original comment by easter...@gmail.com on 9 Feb 2011 at 10:49

GoogleCodeExporter commented 8 years ago
Any update on this? Are you still requesting the feature or have you checked 
out Tropo?

Original comment by easter...@gmail.com on 1 Mar 2012 at 10:41

GoogleCodeExporter commented 8 years ago
Well, I've since moved on to just use the GV App on my (new) phone when I'm 
using it and through email/the GV page when I'm at my computer, so not really. 
Besides, I ended up using GVMax to forward my texts through XMPP/GTalk, so I 
haven't had any use for it.

Original comment by hmmwhats...@gmail.com on 2 Mar 2012 at 4:07

GoogleCodeExporter commented 8 years ago
Thank you for getting back to me, I appreciate it. Closing as WONTFIX since the 
feature you requested can't easily be added. Mike had no way to move the text 
messages through SIP Sorcery.

Thanks again for using the ticketing system. 

Original comment by easter...@gmail.com on 2 Mar 2012 at 11:46