Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 3rd Sep 2014, 06:26 AM   #1
Warrior Member
 
Join Date: 2014
Posts: 6
Thanks: 0
Thanked 1 Time in 1 Post
Default
OpenVBX not sending sms during call flow...
Share on: 
fb share twitter share gplus share more share

I am trying to setup a call flow using OPenVBX and during the flow an sms message needs to be sent to the caller if the option # is pressed (ie. Press 1 to receive an sms message with the info).

I have the flow set up, but the sms message part has never worked. I've tested it with different phones, different phone numbers from Twilio, tried different flows, and all to no avail.

I wondered if anyone here on the great WF can give me some advice on what might be wrong. It looks like it should be really simple to set up, but it's like I'm missing something, and I don't know what.

When I log into Twilio and click on Dev Tools I am getting a 12200 - Schema validation warning every time I have tried to have the message send. When I look this up it doesn't make sense to me. Perhaps someone knows the solution to this.

Your help would be much appreciated. Thanks!
Bluewiremktg is offline  
Unread 3rd Sep 2014, 07:46 AM   #2
Warrior Member
 
Join Date: 2014
Posts: 6
Thanks: 0
Thanked 1 Time in 1 Post
Default
Re: OpenVBX not sending sms during call flow...
Share on: 
fb share twitter share gplus share more share

I think I found a clue (perhaps).

When I view the twiML page from the call flow where the sms applet is located it shows this:
<Response>
<Message>Store Location: 123 Easy St.</Message>
</Response>

But when I view the docs on Twilio it shows to create an sms message like this:
<Response>
<Sms>Store Location: 123 Easy St.</Sms>
</Response>

In the first example is shows <Message></Message>
But in the 2nd example it shows <Sms></Sms>
Is this the issue? How do I update the twiml with the correct way of creating the message?

Thanks for your time...
Bluewiremktg is offline  
Unread 3rd Sep 2014, 08:54 AM   #3
Warrior Member
 
Join Date: 2014
Posts: 6
Thanks: 0
Thanked 1 Time in 1 Post
Default
Re: OpenVBX not sending sms during call flow...
Share on: 
fb share twitter share gplus share more share

GUYS, I GOT IT!!!

I just barely figured this out. Turns out it was the difference between <message> and <sms>.

I changed the twiml.php file located here: ./plugins/sms/applets/sms

FROM THIS:

$response->message($sms);


...TO THIS:

$response->sms($sms);

IT WORKS NOW!

I hope this helps anyone else looking to use the sms feature in a call flow...

Bluewiremktg is offline  
Closed Thread


Bookmarks

Tags
call, flow, openvbx, sending, sms


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 01:07 PM.