[asterisk-users] Different IP addresss for SIP and RTP

2011-05-12 Thread mayamatakeshi
Hello,
is it possible to set an IP address for RTP different than the one used for
SIP?
I want to use asterisk behind a sip proxy (opensips), but I was thinking if
I could avoid having to run rtpproxy on the sip proxy server and let
asterisk itself take care of it. So that:
  Asterisk SIP address : local ip address
  Asterisk RTP address : global ip address

regards,
takeshi
--
_
-- 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] Different IP addresss for SIP and RTP

2011-05-12 Thread Danny Nicholas
  _  

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of mayamatakeshi
Sent: Thursday, May 12, 2011 12:58 AM
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] Different IP addresss for SIP and RTP

 

Hello,
is it possible to set an IP address for RTP different than the one used for
SIP?
I want to use asterisk behind a sip proxy (opensips), but I was thinking if
I could avoid having to run rtpproxy on the sip proxy server and let
asterisk itself take care of it. So that:
  Asterisk SIP address : local ip address
  Asterisk RTP address : global ip address

regards,
takeshi

[Danny Nicholas] 

You handicap potential responder by not stating your Asterisk release - that
being said, try putting bindaddr=global.ip.addr in rtp.conf and see if that
works for you.

--
_
-- 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] Different IP addresss for SIP and RTP

2011-05-12 Thread mayamatakeshi
On Thu, May 12, 2011 at 10:07 PM, Danny Nicholas da...@debsinc.com wrote:

--

 *From:* asterisk-users-boun...@lists.digium.com [mailto:
 asterisk-users-boun...@lists.digium.com] *On Behalf Of *mayamatakeshi
 *Sent:* Thursday, May 12, 2011 12:58 AM
 *To:* asterisk-users@lists.digium.com
 *Subject:* [asterisk-users] Different IP addresss for SIP and RTP



 Hello,
 is it possible to set an IP address for RTP different than the one used for
 SIP?
 I want to use asterisk behind a sip proxy (opensips), but I was thinking if
 I could avoid having to run rtpproxy on the sip proxy server and let
 asterisk itself take care of it. So that:
   Asterisk SIP address : local ip address
   Asterisk RTP address : global ip address

 regards,
 takeshi

 *[Danny Nicholas] *

 *You handicap potential responder by not stating your Asterisk release –
 that being said, try putting bindaddr=global.ip.addr in rtp.conf and see if
 that works for you.*


Hello,

I have installed Asterisk 1.8.
I've tried using parameter bindaddr but it didn't work.
Looking at the code that reads rtp.conf I could not locate any place
indicating that this address could be set:

http://svn.asterisk.org/svn/asterisk/branches/1.8/res/res_rtp_asterisk.c
http://svn.asterisk.org/svn/asterisk/trunk/res/res_rtp_asterisk.c

So I think this is not currently possible.
Thanks anyway.

regards,
takeshi
--
_
-- 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