<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<font style="" face="Courier New">Hi Răzvan,</font><font style="" face="Courier New"><br></font><font style="" face="Courier New"><br></font><font style="" face="Courier New">As I said in my previous email I got the revision 8639 on 1.7.1 and that issue is fixed. However, I ran into a scenario where one of my scripts stopped working (audio issues).</font><font style="" face="Courier New"><br></font><font style="" face="Courier New"><br></font><font style="" face="Courier New">In this scenario, I have a multihomed opensips with rtpproxy server bridging between opensips and and asterisk server.</font><font style="" face="Courier New"><br></font><font style="" face="Courier New"><br><br></font><font style="" face="Courier New"> uac--------------------- opensips/rtpproxy asterisk </font><font style="" face="Courier New"><br>
</font><font style="" face="Courier New"> 65.30.40.50</font><font style="" face="Courier New"><br>
</font><font style="" face="Courier New"> 192.168.100.76--------192.168.100.101</font><font style="" face="Courier New"><br>
</font><br><font style="" face="Courier New"><br><br></font><font style="" face="Courier New">Very briefly, my cfg looks like:</font><font style="" face="Courier New"><br></font><font style="" face="Courier New"><br></font><font style="" face="Courier New">route: </font><font style="" face="Courier New"><br></font><font style="" face="Courier New">if (dst_ip == 65.30.40.50) </font><font style="" face="Courier New"># </font><font style="" face="Courier New">(SRC: 1.2.3.4) call coming in from public uac</font><br><font style="" face="Courier New"> rtpproxy_offer("IE");</font><font style="" face="Courier New"><br></font><font style="" face="Courier New"><br></font><font style="" face="Courier New"><br></font><font style="" face="Courier New">onreply: </font><font style="" face="Courier New"><br></font><font style="" face="Courier New">if (dst_ip == 192.168.100.76)</font><font style="" face="Courier New"> # </font><font style="" face="Courier New">(SRC: 192.168.100.101) asterisk replying</font><br><font style="" face="Courier New"> rtpproxy_answer("IE"); </font><font style="" face="Courier New"><br></font><font style="" face="Courier New"><br></font>This runs fine with the rtpproxy.c that came with 1.7.1, but not with the revised rtpproxy.c<br><br>rtpproxy_answer places <font style="" face="Courier New">192.168.100.76 instead of </font><font style="" face="Courier New">65.30.40.50</font><font style="" face="Courier New"> in SDP (c) when replying to 1.2.3.4<br><br>I'm new to all this, so probably I'm doing something wrong, but jut wanted to let you know just in case. (I converted to the old rtpproxy.c, and it's working now.)<br><br>Regards,<br>Matt<br></font><br><br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">Date: Sun, 22 Jan 2012 20:01:34 +0200<br>From: razvancrainea@opensips.org<br>To: users@lists.opensips.org<br>Subject: Re: [OpenSIPS-Users] can't force rtpproxy use a new IP in SDP<br><br>
<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">
Hi, Matt!<br>
<br>
The fix was only reported by Ovidiu and I was the one that fixed it
in OpenSIPS's revision 8616 on trunk and 8639 on 1.7.1. This doesn't
have anything to do with Kamailio. Can you please check if you have
these changes? Because otherwise I don't think it will work.<br>
<br>
Regards,<br>
Răzvan<br>
<br>
On 01/22/2012 07:49 PM, Matt Hamilton wrote:
<blockquote cite="mid:BAY170-W66353C4120FC7831B9AF6EB3850@phx.gbl">
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
</style>
<div dir="ltr">
Hi Răzvan,<br>
<br>
I'm using Opensips 1.7.1. I have seen Ovidiu's changes, but I
think they are on the Kamailio side. if I'm not mistaken,
sources are a little different, so I didn't want to mess with it
(for now).<br>
<br>
I don't think there are any changes in Opensips (not in the
trunk, either). <br>
<br>
> Both scenarios you presented can be implemented using the
rtpproxy module.<br>
<br>
Can I still use rtpproxy (without the fix) to get the first
scenario going? Second one is all set.<br>
<br>
Thanks a lot,<br>
Matt<br>
<br>
<br>
<div>
<hr id="ecxstopSpelling">Date: Sun, 22 Jan 2012 19:25:04 +0200<br>
From: <a class="ecxmoz-txt-link-abbreviated" href="mailto:razvancrainea@opensips.org">razvancrainea@opensips.org</a><br>
To: <a class="ecxmoz-txt-link-abbreviated" href="mailto:users@lists.opensips.org">users@lists.opensips.org</a><br>
Subject: Re: [OpenSIPS-Users] can't force rtpproxy use a new
IP in SDP<br>
<br>
Hi, Matt!<br>
<br>
What version of OpenSIPS are you using? There was a bug
reported by Ovidiu and fixed in revision 8639.<br>
Both scenarios you presented can be implemented using the
rtpproxy module.<br>
<br>
Regards,<br>
Răzvan <br>
<br>
On 01/22/2012 07:15 PM, Matt Hamilton wrote:
<blockquote cite="mid:BAY170-W8749DCD9353F6A5BAE0F33B3850@phx.gbl">
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
</style>
<div dir="ltr"> <font style="" face="Courier New">Hi,</font><font style="" face="Courier New"><br>
</font><font style="" face="Courier New"><br>
</font><font style="" face="Courier New">I can't seem to
force a new IP to change the connection in SDP; e.g.,</font><font style="" face="Courier New"><br>
</font><font style="" face="Courier New"><br>
</font><font style="" face="Courier New">rtpproxy_offer("c",
"1.2.3.4"); </font><font style="" face="Courier New"><br>
</font><font style="" face="Courier New"><br>
</font><font style="" face="Courier New">IP address I
enter is always ignored. Any thoughts how I can resolve
this?</font><font style="" face="Courier New"><br>
<br>
<br>
Here is my setup:<br>
</font><font style="" face="Courier New"><br>
</font><font style="" face="Courier New">private NAT
public NAT private </font><font style="" face="Courier New"><br>
</font><font style="" face="Courier New">phones
----|------ internet ------------|---
opensips/rtpproxy-----asterisk cluster</font><br>
<br>
<br>
I would like to force rtpproxy use the NATted public ip
instead of the private ip of the opensips server when
sending messages to UACs. advertised_address doesn't help
btw.<br>
<br>
<br>
I was able to get the following going using the bridge
mode. Can bridge mode be somehow used for the above?<br>
<br>
<br>
<font style="" face="Courier New">private NAT
public NAT private
</font><font style="" face="Courier New"><br>
</font><font style="" face="Courier New">phones
----|------ internet ------
opensips/rtpproxy------|---asterisk cluster</font><br>
<br>
<br>
<br>
Thanks,<br>
Matt<br>
<br>
<br>
<br>
</div>
<br>
<fieldset class="ecxmimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a class="ecxmoz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="ecxmoz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
_______________________________________________
Users mailing list
<a class="ecxmoz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="ecxmoz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></div>
</div>
<br>
<fieldset class="ecxmimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a class="ecxmoz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="ecxmoz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users</div>                                            </div></body>
</html>