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.
Related
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?
I had been developed a telegram bot using Telegram.Bot.
I tried to rework with the bot, First I created bot using BotFather and got token.
I set webhook server api address in telegram api. But when I check webhookinfo it returns this error
https://api.telegram.org/botToken/getWebhookinfo
respone:
"last_error_date":1585419712,"last_error_message":"Connection timed out"
I checked it need TLS12 to have secure connection using
System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12;
But It's not getting updates in my server and show time out error.
I tried posting using postman and ngrok to run on my iisexpress and I'm getting data and can sending messages to bot in my localhost.
But In hosting it's not working, whats wrong with new Telegram.Bot library or telegram server?
update
I checked with postman my hosting url, post man also cant connect to that url. what can be wrong with my codes?
This is response when i'm call update receiving URL in my hosting:
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 10.10.34.35:443
I got problem, the certificate which we use should be valid one, not free.
For more information please study this link:
https://core.telegram.org/bots/webhooks
let me explain what I've already completed and what is needed to be done.
What's I've done
Rails server with PG database that returns some data to a user from DB via GET request.
What's needs to be completed
I need to connect the device to this server via TCP. The manufacturer of the device asks me to provide the server address and the port, so he can configure the device to send some messages to the port provided. This messages should be recorded to DB (this part is not important, just to let you know the flow I'm trying to achieve) and then a user can get those messages by GET request mentioned above.
The question
How to set up the Rails server to accept TCP messages from the device to a specified port? How to handle those messages? E.g. the simplest: how to print the message received?
Is it even possible with Rails? If you have a better option on how to achieve the flow mentioned above, please share it.
I'd appreciate some help with code or links.
Just start your rails server with command rails s -b 0.0.0.0
this will bind your public IP with your server so that you can connect with other devices to your rails server.
for example your IP is 192.168.64.40 so, after this command you can do like 192.168.64.40:3000 in to other device's browser so that they can connect to your rails server
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!
I am facing a network connection issue. My client has sent me following mail and I am having no idea what I should do in this condition
"One of our companies have asked if it would be possible for them to use their apps with the data going via a proxy. The hve disabled WAP on their BES so they are unable to use the application. I think in this instance the data needs to be routed through the BIS."
For using BIS , I have read that application needs to be approved by RIM and we need to append a secret String provided by the RIM to the connection URL.
For BES we append ;deviceside=false in case of simulator.
For TCP we append ;deviceside=true to the connection URL.
For Wifiwe append ;interface=wifi to the connection URL.
What should we append in the case of BIS?