Thanks George.
I have followed your advice and tried for a few days, and I still didn't able to get it working. While I have already as local Genesys support team to create another org in US region for our company to perform testing, I still want to understand more before "giving up".
I investigated the the protocol capture and didn't find any entry from Twilio. I then tried modifying various WAN settings on my router but traffic still didn't appear in the log. I finally by-passed the router, connected the Virtual Edge directly to the WAN line from my ISP, but I still didn't get traffic in Virtual Edge's protocol capture log.
I have tested that other I was able to get traffic to the host running Virtual Edge, e.g.
- my public IP is xx.yy.zz.aa
- I tried to enable IIS in Window Server running Virtual Edge
- I can access the home page using xx.yy.zz.aa in browser on another computer
FYI, in Twilio I put "sip:xx.yy.zz.aa" as my URL (I have also tried to add various suffix to try using different port #, and force source IP from Twilio US to ease troubleshooting, but in all cases I had no luck). On Twilio side, it reported "request timeout" and when I examined Wireshark log on Twilio, there are just a few INVITE but not response.
It looks like those SIP traffic can't get through to the Edge, but I can't understand why since there is already no firewall, and I also allow all IPs in SIP access control. I have tried to change port number to values other than 5060, as well as trying TCP/TLS, all with no luck.
------------------------------
Wong Ricky
Individual Only Contact Account
------------------------------
Original Message:
Sent: 05-06-2020 09:11
From: George Ganahl
Subject: Virtual Edge didn't answer inbound call
I recommend you turn on Protocol Capture on th eexternal trunk, reproduce the problem, then download the protocol capture log from the edge and look at it in Wireshark to see if the SIP messages from Twilio are getting to the Edge and see if the Edge is responding (especially look for the sequence of INVITE from Twilio => 100 Trying from Edge => 200 OK from Edge => ACK from Twilio (There may be other 100-series messages, but those are the main ones that have to be there to establish the call).
------------------------------
George Ganahl GCP (Genesys Cloud), ICCE
Principal Technology Consultant
Genesys
------------------------------