I’m trying to run asterisk on a virtual machine.
I’ve installed softphones that belong to the users in my computer. I don’t understand how the connections between the users and the vm are done, cause when I disconnect internet, i can do the calls between the users perfectly. But when internet is running, the sound in the calls is off.
I’ve supposed that as I’m using a vm, the users are behind a nat, cause if I don’t define the externip/localnet/nat=yes parameters in the users, I’ve got the next error:
[Dec 10 13:43:49] WARNING: chan_sip.c:9112 __sip_xmit: sip_xmit of 0x7d3af00 (len 528) to 22.214.171.124:5060 returned -2: Network is unreachable
[Dec 10 13:43:49] ERROR: chan_sip.c:9548 __sip_reliable_xmit: Serious Network Trouble; __sip_xmit returns error for pkt data
So, my problem is the table of routes but I don’t know how to solve it. If someone could be so kind to help me I would be so grateful.