Answer the question
In order to leave comments, you need to log in
Why is there no sound in Asterisk?
There is a server on the Debian GNU/Linux Wheezy operating system .
It has Asterisk and xl2tpd installed .
The sip client connects to Asterisk via an l2tp connection.
Asterisk is inaccessible to interfaces that go to the external network.
In an l2tp connection , the server has the address 192.168.68.1 and the client has 192.168.68.10 .
Connecting to Asterisk sip client linphone . Beforehand, of course, having connected to the server via l2tp .
When calling any number (external, not connected to this server), the subscriber hears me perfectly, but I can't hear him at all.
tcpdump from the client during the call gives the following:
3:19:40.090729 IP 192.168.68.10.7078 > 192.168.68.1.15668: UDP, length 172
13:19:40.110629 IP 192.168.68.10.7078 > 192.168.68.1.15668: UDP, length 172
13:19:40.150170 IP 192.168.68.10.7078 > 192.168.68.1.15668: UDP, length 172
13:19:40.163438 IP 192.168.68.10.7078 > 192.168.68.1.15668: UDP, length 172
13:19:40.170718 IP 192.168.68.10.7078 > 192.168.68.1.15668: UDP, length 172
13:19:40.190383 IP 192.168.68.10.7078 > 192.168.68.1.15668: UDP, length 172
13:19:40.231184 IP 192.168.68.10.7078 > 192.168.68.1.15668: UDP, length 172
13:19:40.240969 IP 192.168.68.10.7078 > 192.168.68.1.15668: UDP, length 172
13:19:40.260849 IP 192.168.68.10.7078 > 192.168.68.1.15668: UDP, length 172
13:19:40.270566 IP 192.168.68.10.7078 > 192.168.68.1.15668: UDP, length 172
13:19:40.301064 IP 192.168.68.10.7078 > 192.168.68.1.15668: UDP, length 172
13:19:40.320882 IP 192.168.68.10.7078 > 192.168.68.1.15668: UDP, length 172
....
3:23:29.932392 IP 192.168.68.10.7078 > 192.168.68.1.15336: UDP, length 172
13:23:29.942299 IP 192.168.68.10.7078 > 192.168.68.1.15336: UDP, length 172
13:23:29.944305 IP 192.168.68.1.15336 > 192.168.68.10.7078: UDP, length 172
13:23:29.962740 IP 192.168.68.10.7078 > 192.168.68.1.15336: UDP, length 172
13:23:29.964799 IP 192.168.68.1.15336 > 192.168.68.10.7078: UDP, length 172
13:23:29.971826 IP 192.168.68.10.7078 > 192.168.68.1.15336: UDP, length 172
13:23:29.984661 IP 192.168.68.1.15336 > 192.168.68.10.7078: UDP, length 172
13:23:30.001635 IP 192.168.68.10.7078 > 192.168.68.1.15336: UDP, length 172
13:23:30.005045 IP 192.168.68.1.15336 > 192.168.68.10.7078: UDP, length 172
13:23:30.024650 IP 192.168.68.1.15336 > 192.168.68.10.7078: UDP, length 172
13:23:30.031927 IP 192.168.68.10.7078 > 192.168.68.1.15336: UDP, length 172
....
Answer the question
In order to leave comments, you need to log in
the client announces a different IP in SDP
will be visible in sip debug
if there are several interfaces, not all clients are able to correctly determine which IP to substitute
enable nat=yes on the
peer can be easier
Well, the problem is just in NAT, and what you are doing is its solution.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question