New SMS dialplan function

A new dialplan function that initiates an SMS send request through Google Voice is now available.

sys.GoogleVoiceSMS(username, password, number, message)
  1. The Chosen One’s avatar

    Could this technically be used with SIMPLE to initate Google Voice SMS messages?

    Reply

    1. sipsorcery’s avatar

      In theory yes. However my question would be are there enough people using SIP clients with SIMPLE support to make implementing it useful? In all my time with SIP I’ve never sent a single SIMPLE message…

      Reply

    2. The Chosen One’s avatar

      (Forgot to post)

      As in, send a SIMPLE message to a phone number, and the dialplan automatically sends that message to GV as an SMS if the number is valid.

      Reply

      1. sipsorcery’s avatar

        Yes but what are you going to use to send a SIMPLE message to sipsorcery in the first place?

        Reply

      2. The Chosen One’s avatar

        Probably a client like X-Lite (if they ever fix 4.0 beta). Because ATM, the only ways to initate an SMS conversation with a person is to either [A] Go to the GV page and send it there, [B] Email the GV address (provided that you have recieved a text message from them beforehand, since GV generates a key string for that number), or [C] use a program like GVDialer to initate the conversation. Sending it directly form the client would be immensely easier.

        Reply

        1. sipsorcery’s avatar

          So how would it work from something like the Bria? Would you envisage setting up a kind of generic contact like sms@sipsorcery.com and then sending an instant message with something like “123456789: hi there”?

          Reply

        2. The Chosen One’s avatar

          Even simpler than that! (I suppose, I have no experience in SIP, VoIP, Ruby, SIMPLE, or anything related for that matter) A user could send a message to , and the servers, sensing that it came from your SS Account, runs it through your dialplan (or SIMPLEplan if you want to call it that), which would say to send it to the number listed as the recipient on the message.

          Reply

        3. The Chosen One’s avatar

          Hmm. Good Point. Perhaps it could be an either/or situation.

          Reply

        4. sipsorcery’s avatar

          As far as I can tell you can’t send IM’s from Bria to arbitrary users, in other words it’s not like an email client where the email address can be specified as part of the send process. With the Bria the only way I have found to send an IM is to set up a contact first and then right click it and choose “Send Instant Message”. Setting up a contact for every SMS you want to send would be very onerous hence my thinking that you’d set up a single generic contact like sms@sipsorcery.com and send an IM to it and somehow parse the destination number from the message.

          Reply

          1. The Chosen One’s avatar

            (Replyfail)
            Good point. It could be an either/or situation.

            Reply

Reply

Your email address will not be published. Required fields are marked *