VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
kevinlong206 at gmail.com Guest
|
Posted: Mon Nov 23, 2015 4:01 pm Post subject: [asterisk-users] How exactly does asterisk know what IP to s |
|
|
Hello,
I have a somewhat confusing use case. We use a mobile voip app and our users connect to our PBX via a public IP of our firewall which port forwards to asterisk (TLS and SRTP ports). Works fine.
Sometimes however, our users are also connected to our VPN (LT2P/Ipsec) which is served by the same firewall that our PBX sits behind at the datacenter.
In this case, most often the calls go through but there is no audio.
I believe that asterisk “thinks” in this case that the IP of the clients, to send RTP traffic to ,t is the firewall’s IP, rather than the IP that the VPN server assigned the client device.
Does asterisk send RTP traffic to the IP which is in the IP headers of the SIP REGISTER , or can a client “specify” it’s truly reachable IP ?
I hope this makes sense.
Regards,
Kevin Long
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
duncan at e-simple.co.nz Guest
|
Posted: Mon Nov 23, 2015 4:21 pm Post subject: [asterisk-users] How exactly does asterisk know what IP to s |
|
|
HI Kevin
Is your VPN set as a localnet? The externip only tends to cope with the
firewall address. If you put the VPNs in the localnet lists then it
won't use NAT to find them.
In answer to your question, the SIP session description in the call
setup has the IP for media for both parties, which is where Asterisk /
client will send RTP to respectively . You can look at this using
tcpdump. c= is what you are looking for.
Some formal examples
https://tools.ietf.org/html/rfc4317
Cheers Duncan
On 24 Nov 2015, at 10:01, Kevin Long wrote:
Quote: | Hello,
I have a somewhat confusing use case. We use a mobile voip app and
our users connect to our PBX via a public IP of our firewall which
port forwards to asterisk (TLS and SRTP ports). Works fine.
Sometimes however, our users are also connected to our VPN
(LT2P/Ipsec) which is served by the same firewall that our PBX sits
behind at the datacenter.
In this case, most often the calls go through but there is no audio.
I believe that asterisk “thinks” in this case that the IP of the
clients, to send RTP traffic to ,t is the firewall’s IP, rather
than the IP that the VPN server assigned the client device.
Does asterisk send RTP traffic to the IP which is in the IP headers of
the SIP REGISTER , or can a client “specify” it’s truly
reachable IP ?
I hope this makes sense.
Regards,
Kevin Long
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|