Hi, Sebastian!
The problem is that engage_rtp_proxy function does not support media
bridging functionality. In order to implement the scenario described
successfully, you will have to configure rtpproxy manually, using
rtpproxy_offer/rtpproxy_answer.
Best regards,
Razvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com
On 07/25/2012 08:26 PM, Sebastian Sastre wrote:
Hello,
Im trying to configure RTP proxy for the following scenario.
I have opensips in the border server between my public ipaddress
and my internal. So that ETH0 has public IP and eth1 has private.
I set mhomed=1 so that packets are forwarded correctly and the
call does connect.
First of all, is this possible with rtpproxy and opensips? I know
Mediaproxy is not able to bind like that.
The RTP proxy command I'm using is
rtpproxy -f -l PUBLIC-IP/192.168.3.18 <http://192.168.3.18> -s
udp:127.0.0.1:12221 <http://127.0.0.1:12221> -F
Opensips Config looks like this.
if (is_method("INVITE")){
##xlog("-> Route(0) - New Incomming Invite
request to [$ru]\n");
if (check_source_address("1")) {
record_route();
create_dialog();
if (load_balance("1","channels")){
# dst URI points to the
new destination
#ahora le sacamos el prefijo
dp_translate("1","$ruri.user/$ruri.user");
#xlog("-> Route(0) -
$ruri.user going to call to $du\n");
$ru = "sip:" + $rU + "@" +
$dd + ":" + $dp;
$avp(dst) = $dd;
engage_rtp_proxy("ie");
route(1);
}
else{
xlog("-> Route(0) - Did not find available GWs\n");
sl_send_reply("500", "All is full");
}
}
else{
xlog("-> IP not in address table \n");
sl_send_reply("503","IP not in address table");
}
}
When is tart open sips, it connects to RTP Proxy with no problems.
When the invite is sent out to the internal ip it correctly sets
c= on the body but i don't see rtpproxy doing anything nor i get
audio in any direction.
rtpproxy leaves no logs, or errors or anything.
am i doing something wrong here?
thanks
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users