<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello, Matt!<br>
<br>
This part was not changed in OpenSIPS. The flags you are passing
("IE") are simply forwarded to RTPProxy, and he is the one who
decides what IP to return to OpenSIPS. So I don't see why changing
the rtpproxy.c behaves differently.<br>
You could try to capture the traffic sent by OpenSIPS to RTPProxy
and see if anything is different in the first part of the command.<br>
<br>
Regards,<br>
<pre class="moz-signature" cols="72">--
Răzvan Crainea
OpenSIPS Developer</pre>
<br>
On 01/23/2012 03:16 AM, Matt Hamilton wrote:
<blockquote cite="mid:BAY170-W665A7B1B0CD4DF0B22E547B38A0@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
<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>
<hr id="stopSpelling">Date: Sun, 22 Jan 2012 20:01:34 +0200<br>
From: <a class="moz-txt-link-abbreviated" href="mailto:razvancrainea@opensips.org">razvancrainea@opensips.org</a><br>
To: <a class="moz-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>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<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 moz-do-not-send="true"
class="ecxmoz-txt-link-abbreviated"
href="mailto:razvancrainea@opensips.org">razvancrainea@opensips.org</a><br>
To: <a moz-do-not-send="true"
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 moz-do-not-send="true" class="ecxmoz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" 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 moz-do-not-send="true"
class="ecxmoz-txt-link-abbreviated"
href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true"
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 moz-do-not-send="true" class="ecxmoz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" 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="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</body>
</html>