I have two asterisk servers running, with identical asterisk configuration (/etc/asterisk/). One of them works perfectly fine with both Zoiper client(Android) and sipml5 (webRTC). However, the second server has problems with sipml5 even though it has the same asterisk configuration as the first one. Here are the differences:
Server1 (works fine):
- Runs on a network that does not have network restrictions other than the device’s own firewall.
- Runs on a separate device (CentOS 6.5 on shuttle PC)
Server2 (doesn’t work with sipml5):
- Runs on a network with additional firewall in addition to server’s own firewall.
- Runs on a VM (CentOS 6.5)
Here are some things that I observed at Server2:
- Works fine with Zoiper to Zoiper calls.
- When “hello-world” is called from sipml5, there is no sound, even though the log shows that the call is received, “hello-world” is played and then hung up.
- When a Zoiper client is called from sipml5:
- Zoiper rings
- When answered I can hear an audio played by the server
- Detect when dtmf is pressed
- No sound when call is established
- If sipml5 puts on hold, hold music is heard at the Zoiper client.
- When sipml5 is called from Zoiper:
- sipml5 rings
- When answered I can NOT hear an audio played by the server (the log shows it is played)
- No sound when call is established
All of these scenarios work at Server1 without any issues. And I believe this is a network issue at Server2. Server 2 has only public IP (so not behind NAT?).
I called “hello-world” on both servers from sipml5, and here is the link to the log files:
drive.google.com/folderview?id= … sp=sharing
I have no idea how to proceed… I am desperate for a help. Thanks!