[asterisk-users] RTP stream when * and Xlite are both behind Nat devices.

2011-09-21 Thread Richard Webb
Hi,

I have an Asterisk box behind a NAT address and also a Xlite 4 soft phone
behind a different NAT network.

Asterisk -> Nat -> Internet -> Nat -> Softphone.

I can register my softphone to the asterisk box ok via SIP but the RTP
stream from the asterisk box is addressed to the private non-routeable
address of the softphone when I turn on rtp debuging.

How can I configure the rtp stream to be sent to the public facing address
of the softphone?

Cheers,

Richard.
--
_
-- 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

[asterisk-users] Native bridging to SIP endpoints on the same NAT'd network

2011-09-23 Thread Richard Webb
Hi,

I have the following setup:

Asterisk <-> Nat <-> Internet <-> Nat <-> 2 x SIP endpoints

With directmedia=no I can make a call between the two SIP endpoints; the RTP
stream being passed through the Asterisk box.

Obviously, this is sub-optimal. I attempted to enable bridging of the call
between the 2 endpoints directly, given that they are on the same
non-routeable private net.

With directmedia=nonat, I see Asterisk report the bridging of the calls but
both sides of the call are routed to the originating endpoint so
effectively, the call becomes an echo-loop. There is no audio on the second
end-point although the call remains up.

I assume this is some sort of firewall/nat/routing issue. Could someone
explain what is possibly going on and perhaps offer a solution?

Cheers,

Richard.
--
_
-- 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