[Asterisk-Users] One-way audio with VPN
Francesco Peeters
Francesco at FamPeeters.com
Tue Sep 27 10:53:17 MST 2005
On Tue, September 27, 2005 20:22, Alex Lake said:
> I've got a one-way audio problem, but I've looked through a few
> documents on the subject and I'm not sure that it's the same issue.
>
> User A calls a local Asterisk user B via a public SIP gateway
> (voiptalk.org) using (sip:110 at siptest.dmclub.net)
>
> B is connected to the Asterisk server via VPN
>
> B is registered (and has successful bi-directional conversations with
> other users on the VPN)
>
> Asterisk correctly forwards the call via SIP and B's phone rings and is
> answered, but B can't hear A
>
> So there appears to be an audio-path blockage from A via Asterisk to B.
>
> Now if A leaves a voicemail message on the asterisk box, that's fine
> (the sound file contains a recording of A's voice!)
>
> Therefore, it looks like the problem is to do with the forwarding of RTP
> packets by Asterisk from A (Internet origin) to B (VPN).
>
> Any ideas?
>
If you're not doing NAT on the SOURCE IP of the A before transferring
across the VPN, it is very likely that B is replying DIRECTLY to A rather
than through the VPN. This will cause B to answer with a different Source
IP than A has initiated the call to, causing the packets to be dropped.
You can easily check this by doing a packet trace on the LAN segment of B...
Good luck!
--
Francesco Peeters
----
GPG Key = AA69 E7C6 1D8A F148 160C D5C4 9943 6E38 D5E3 7704
If your program doesn't recognize my signature, please visit
http://www.CAcert.org/index.php?id=3 to retrieve the Root CA certificate.
More information about the asterisk-users
mailing list