It's the same difference. The --ip was in version &lt; 1.3.0 and since you're using 1.3.0 all the options are in the .ini file.<br>
<br>
So you're good.<br>
<br>
Regards,<br>
Paul<br><br><div><span class="gmail_quote">On 4/19/05, <b class="gmail_sendername">Cameron Beattie</b> &lt;<a href="mailto:kjcsb@orcon.net.nz">kjcsb@orcon.net.nz</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">







<div><font face="Arial" size="2">Thanks very much.</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">I have altered the mediaproxy setup and that now 
works&nbsp;(what a relief). However what I did was not quite what you 
suggested.</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">When I updated the mediaproxy init.d script and 
tried to start mediaproxy I got the message &quot;no such option: --ip&quot; which I was a 
little surprised about. I am running mediaproxy 1.3.0. So I did a bit more 
reading and updated the mediaproxy.ini script instead adding the line proxyIP = 
XXX.XXX.XXX.XXX. Anyway I don't know if that's a change in the latest version of 
mediaproxy or if I did something stupid.</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">Nevertheless I should have RTFM'd from the start! 
Once again many many thanks for you help.</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">Regards</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">Cameron</font></div>
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"><div><span class="e" id="q_1035da8f889384c8_1">
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">----- Original Message ----- </div>
  <div style="background: rgb(228, 228, 228) none repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<b>From:</b> 
  <a title="javarockx@gmail.com" href="mailto:javarockx@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Java Rockx</a> 
  </div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b> <a title="ext_news@appsfarm.com" href="mailto:ext_news@appsfarm.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Cameron Beattie</a> </div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Cc:</b> <a title="serusers@lists.iptel.org" href="mailto:serusers@lists.iptel.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
serusers@lists.iptel.org</a> </div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b> Wednesday, April 20, 2005 12:38 
  PM</div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b> Re: [Serusers] SER &amp; 
  Mediaproxy: XLite - Audio OK, Sipura - No audio</div>
  <div><br></div>Cameron,<br><br>The problem is that the c= field in the SDP 
  payload is always pointing to <a href="http://127.0.0.1" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">127.0.0.1</a> (aka, 
  your loopback interface). This is not going to work since neither Sipura or 
  X-lite client can connect to your loopback interface.<br><br>More 
  specifically, the INVITE message that is sent from the Sipura to the SER proxy 
  is then rewritten and then relayed to the X-lite SIP UA. This relayed INVITE 
  has the incorrect c= field in the SDP.<br><br>Likewise, the 200OK that X-lite 
  replies with is then rewritten by SER and relayed to the Sipura UA. This 200OK 
  also has a c= of <a href="http://127.0.0.1" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">127.0.0.1</a><br><br>I suspect 
  that your call to use_media_proxy() is correct, but media proxy is running on 
  the wrong interface.<br><br>If you look at the <a href="http://onsip.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">onsip.org</a> documentation you will find a mediaproxy 
  init.d start script in the appendix. In this start script you will see the 
  following line:<br><br>PROXY_OPTIONS=&quot;--ip=<a href="http://71.16.1.15" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">71.16.1.15</a> --listen=<a href="http://127.0.0.1" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
127.0.0.1</a>&quot;<br><br>The --ip option must be an IP 
  that is available to all SIP clients (NATed an non-NATed). Therefore you 
  should specify a public ip address. This then is the ip that will be used in 
  the c= field in the SDP payload. The --listen parameter can be <a href="http://127.0.0.1" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">127.0.0.1</a> if you are running mediaproxy on your 
  SIP router. If not, then you will need to change this as well.<br><br>NOTE: If 
  you're mediaproxy is behind an ALG enabled router, such as a Cisco 3600, then 
  the router will rewrite the RFC1918 IPs with the public ones, so in this case 
  you would use the --ip option as an RFC1918 
  address.<br><br>Regards,<br>Paul<br>
  </span></div><p>
  </p><hr>

  <p></p>_______________________________________________<br>Serusers mailing 
  list<br><a href="mailto:serusers@lists.iptel.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">serusers@lists.iptel.org</a><br><a href="http://lists.iptel.org/mailman/listinfo/serusers" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.iptel.org/mailman/listinfo/serusers</a><br><p></p></blockquote>

</blockquote></div><br>