<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi all,<br>
<br>
First of all, good day :)<br>
<br>
Wondering if any of you guy experience in RTPProxy, previously all
voice stream I'll simply forward to Asterisk.<br>
Straight to the point, now I've a working SIP server with combination
of OpenSER and Asterisk, (location A)<br>
but I'll need to setup another OpenSER w/ RTPProxy server on different
location, (location B)<br>
the point of this setup is to make when UA connected to location B, all
the signaling are forward/relay to location A,<br>
but RTP stream will be handled by RTPProxy @ location B, which RTP
stream should contain IP address of location B instead of A.<br>
I've tried numerous setup but couldn't get it work.<br>
<br>
<u>Setup #1</u><br>
openser.cfg<br>
# after sanity check<br>
&nbsp;rewritehost("location A IP");<br>
&nbsp;sl_send_reply("300", "redirect");<br>
<br>
This works but somehow I need to append IP/hostname to the destination
number (eg., 001 became <a class="moz-txt-link-abbreviated" href="mailto:001@sip.myhost.com">001@sip.myhost.com</a>),<br>
and ethereal trace on UA still showing the IP in RTP stream is location
A not B.<br>
<br>
<u>Setup #2</u><br>
openser.cfg<br>
&nbsp;if (!is_method("INVITE")) {<br>
&nbsp;&nbsp; rewritehost("location A IP");<br>
&nbsp;&nbsp; t_relay();<br>
&nbsp;} else { # INVITE<br>
&nbsp;&nbsp; force_rtp_proxy;<br>
&nbsp;}<br>
but this setup doesn't work :( Do I need to configure the rtp proxy? I
couldn't find any configurable file (.conf) for RTPProxy,<br>
according to the manual it shall extract the destination IP/hostname
and automatically relay the RTP stream,<br>
but .. I'm still no luck with it.<br>
<br>
Can't really recalled others config, but does anyone come across this
similar setup? <br>
mind to share your experience with me? And, it that really possible to
put location B's IP into RTP stream,<br>
but actually the main back end was on location A (asterisk) ?<br>
<br>
<br>
Thanks in advance.<br>
<br>
<br>
Regards,<br>
David Loh<br>
</body>
</html>