OpenVBX not calling - twilio

I have OpenVBX and just bought a new Twilio number. OpenVBX has been installed with the sid and token of the Active Twilio account. I can send text messages but not receive them. And I can't make any calls or receive them. I tried adding the number to a flow under Admin >> Number >> Numbers used on other Domains: hide. But get an error message.
VoiceFallbackUrl is not valid: http://localhost/openVBX/twilio-OpenVBX-5c97301-V2/fallback/voice.php
Spec:
Wamp Server on local computer.
PHP Version 5.5.29
cURL support enabled
cURL Information 7.42.1

Ricky from Twilio here.
In order for Twilio to access your website it needs to be available on a publicly accessible URL. We're pretty big fans of ngrok as a means of tunneling our localhost to a publicly accessible URL for this purpose. If you spin up ngrok and access OpenVBX through that ngrok URL it should resolve the "VoiceFallbackUrl is not valid" error you're receiving.
Let me know if that helps!

Related

Twilo unable to call the status call back url for SMS

We have exposed a url to Twilio to send the sms delivery status and it was working fine when we hosted our service in our own data center.
But we moved our services to aws ; Twilio is unable to call our service and it showing the below error
https://www.twilio.com/docs/api/errors/11200
please help
make sure your Elastic IP Address is reachable using TCP/443 (you enabled this on your EC2 instance, correct) and your application supports both GET and POST methods. Check the Debugger (small bug icon in upper right corner of console) for any relevant error messages, otherwise the error 11200 URL you provided has a lot of extra steps to check.
You should be able to reach your application via your web browser, for testing.
Which IP addresses will Twilio's requests come from?

Rocket.Chat can not receive SMS texts from Twilio. (Twilio's Debugger: HTTP retrieval failure)

(This has been solved please read at the bottom for what fixed the issue.)
I am having trouble receiving Twilio's SMS texts from Rocket.Chat's LiveChat
In the admin panel on rocket.chat I put in the correct Twilio's "ACCOUNT SID" and "AUTH TOKEN"
I also put the correct webhook details on Twilio's 'A message comes in':
https://blahblah.ngrok.io:3000/api/v1/livechat/sms-incoming/twilio
I followed the details from:
https://github.com/RocketChat/Rocket.Chat.RaspberryPi#start-of-content
and
RocketChat: How to send SMS Messages to Livechat channel from mobile
I have Rocket.Chat server running on a Raspberry Pi 3+ B model with Raspbian Buster OS.
Im using ngrok to tunnel and able to access my rocket.chat server on the web when using the ngrok http url.
Twilio's Debugger shows "HTTP retrieval failure Error 11200"
I also have tested this on Ubuntu Server on raspberry, same exact problem as above.
I also have tested this on Ubuntu on MacBook Air, same exact problem as above.
Please view the pictures below:
image 1
image 2
image 3
image 4
image 5
image 6
EDIT:
This has been solved thanks to Alan's comment: "Don't put the port 3000 on the Ngrok URL (. You tell Ngrok what port to send to your app via the configuration and you just send to the Ngrok URL using HTTPS or HTTP."
On Twilio's 'Message comes in' webhook URL, I removed port ":3000" from "https://e60c0c8a.ngrok.io:3000/api/v1/livechat/sms-incoming/twilio" and it solved the problem.
The proper webhook URL syntax that solved the issue is: "https://your_rocketchat_url/api/v1/livechat/sms-incoming/twilio"
This has been solved thanks to Alan's comment: "Don't put the port 3000 on the Ngrok URL (. You tell Ngrok what port to send to your app via the configuration and you just send to the Ngrok URL using HTTPS or HTTP."
On Twilio's 'Message comes in' webhook URL, I removed port ":3000" from "https://e60c0c8a.ngrok.io:3000/api/v1/livechat/sms-incoming/twilio" and it solved the problem.
The proper webhook URL syntax that solved the issue is: "https://your_rocketchat_url/api/v1/livechat/sms-incoming/twilio"

Cannot reach SIP server

I'm developing a VoIP IOS app using SIP protocol. I have my own SIP parser library and I use GCDAsyncUDPSocket to send data to the server.
The problem is that I can't reach the server on double NAT with my app. I do PING and the server responds immediately PONG, but when I send a SIP package, I can't even reach the server.
I try to reach the server with other clients like Zoiper or Media5 and works perfectly. So I think i'm doing something wrong.
Make sure to:
include your private IP:port in the contact and via headers (not a wrong public address)
add the rport attribute to Via
make sure that the REGISTER message is well formed (is a valid SIP message)
If still doesn't work, check the server logs. If still doesn't work or you don't have access to the server logs, let me see your REGISTER message.

Sending Email from .NET using windows live smtp

I have configured smtp settings in web.config and I was able to successfully send email when working on my local machine. But when I uploaded the code on the server, its giving me following exception
Mailbox unavailable. The server response was: 5.7.3 Requested action aborted
Meanwhile, I also received an email from Microsoft telling me that an attempt to login to my account from a new location was blocked. I clearly understand the problem that server is in a different part of the world than where I usually login to a Windows Live account. That's why it is blocking the account to login. But I want it to login and send email using my credentials on from remote server. There must be some settings in Windows Live account but I failed to find one.
Contacting Hotmail Support Center first to find out if its really possible what you are intending to do might be helpful. I think if hotmail web administration has put a security check, it must be for a purpose of stopping such remote login activities.

I can send an email from my Rails app, but not an SMS text through an email gateway

I have application that needs to send emails and sms text messages. It sends emails just fine, but when I try to send text messages using email gateways (for verizon, xxxyyyzzzz#vtext.com) I get nothing. I have texted the phone using though the email gateway using my gmail account, so I know it works. I would just think that from my app's point of view I am just sending out another email. Any idea why this doesn't work? Or what I can do to troubleshoot it?
I should also note that I am doing this from a Rails app on my local computer...not that it should matter.
Maybe Verizon has software that can identify emails sent from software rather than humans, and rejects yours?
Try making your software add all the same headers (eg. X-Mailer) that a normal email client would add.
Verizon could be doing a reverse DNS query as a simple spam check. Your ISP's info could show up during this look up instead of the return address info that your email message contains, and thus could be getting blocked.
To troubleshot this make sure that the return e-mail address that you are using is coming from an ISP e-mail account.
Here is how to debug it on Linux. Run your Rails application server with strace:
strace -s99999 -e connect,read,write,close -o strace.log script/server
Then examine strace.log and see exactly which SMTP server the Rails application connects to, and what it reads and writes.
Then do the same with your favorite mail client (recommended: mutt, because Thunderbird is slow in strace).
Try to send exactly the same bytes from Rails what your mail client sends.
I have used SMS_Fu in the past to send out text messages. It has worked wonderfully.
I have written a client app for Ruby for sending SMS, please see http://freebiesms.blogspot.com/2009/07/send-free-sms-from-ruby.html to download
complete source code.
Regards
Dan

Resources