<br><br><div class="gmail_quote">On Thu, May 12, 2011 at 10:07 PM, Danny Nicholas <span dir="ltr"><<a href="mailto:danny@debsinc.com">danny@debsinc.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<div style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0in 0in 0in 4pt;">
<div>
<div class="MsoNormal" style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">
<hr width="100%" align="center" size="2">
</span></font></div>
<p class="MsoNormal"><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;">
<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>
[mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>] <b><span style="font-weight: bold;">On Behalf Of </span></b>mayamatakeshi<br>
<b><span style="font-weight: bold;">Sent:</span></b> Thursday, May 12, 2011 12:58
AM<br>
<b><span style="font-weight: bold;">To:</span></b>
<a href="mailto:asterisk-users@lists.digium.com" target="_blank">asterisk-users@lists.digium.com</a><br>
<b><span style="font-weight: bold;">Subject:</span></b> [asterisk-users]
Different IP addresss for SIP and RTP</span></font></p>
</div><div><div></div><div class="h5">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Hello,<br>
is it possible to set an IP address for RTP different than the one used for
SIP?<br>
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:<br>
Asterisk SIP address : local ip address<br>
Asterisk RTP address : global ip address<br>
<br>
regards,<br>
takeshi</span></font></p>
</div></div><p class="MsoNormal"><b><i><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy; font-weight: bold; font-style: italic;">[Danny Nicholas] </span></font></i></b></p>
<p class="MsoNormal"><b><i><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy; font-weight: bold; font-style: italic;">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.</span></font></i></b><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"></span></font></p></div></div></div></blockquote><div>
<br>Hello,<br><br>I have installed Asterisk 1.8.<br>I've tried using parameter bindaddr but it didn't work.<br>Looking at the code that reads rtp.conf I could not locate any place indicating that this address could be set:<br>
<br><a href="http://svn.asterisk.org/svn/asterisk/branches/1.8/res/res_rtp_asterisk.c">http://svn.asterisk.org/svn/asterisk/branches/1.8/res/res_rtp_asterisk.c</a><br><a href="http://svn.asterisk.org/svn/asterisk/trunk/res/res_rtp_asterisk.c">http://svn.asterisk.org/svn/asterisk/trunk/res/res_rtp_asterisk.c</a><br>
<br>So I think this is not currently possible.<br>Thanks anyway.<br><br>regards,<br>takeshi<br><br></div></div><br>