Re: [asterisk-users] RTP IP re-write

2012-10-16 Thread Joshua Colp

Thomas Kenyon wrote:

I am having a problem trying to get a particular softphone working on my
setup.

The machine it runs on has more than one interface. When the softphone
registers, it registers fine, and asterisk is given the correct IP for
registration.

Whenever RTP is set-up however, the client gives the wrong IP to connect
to and I get the inevitable problem with one-way media.

Is there any way of forcing that SIP account to have the rtp always sent
to a particular IP. (I know that this still may not work, because the
device is probably listening on the wrong interface as well, but it's
worth a try).


It's not possible to do this as you describe but if you set nat=yes 
the RTP module will lock on to the source of the incoming media after a 
certain number of packets. This does require that the softphone send 
packets to Asterisk and that they make it, of course.


Cheers,

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at:  www.digium.com   www.asterisk.org

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


Re: [asterisk-users] RTP IP re-write

2012-10-16 Thread Thomas Kenyon

Joshua Colp wrote:

Thomas Kenyon wrote:

I am having a problem trying to get a particular softphone working on my
setup.

The machine it runs on has more than one interface. When the softphone
registers, it registers fine, and asterisk is given the correct IP for
registration.

Whenever RTP is set-up however, the client gives the wrong IP to connect
to and I get the inevitable problem with one-way media.

Is there any way of forcing that SIP account to have the rtp always sent
to a particular IP. (I know that this still may not work, because the
device is probably listening on the wrong interface as well, but it's
worth a try).


It's not possible to do this as you describe but if you set nat=yes 
the RTP module will lock on to the source of the incoming media after a 
certain number of packets. This does require that the softphone send 
packets to Asterisk and that they make it, of course.


Cheers,


Thanks, works perfectly :-)

I should have known that.

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