[prev in list] [next in list] [prev in thread] [next in thread]
List: openser-users
Subject: [SR-Users] Making media packets associated with calls appear unidirectional using rtpproxy and kamai
From: aft <aftnix () gmail ! com>
Date: 2014-12-31 12:00:07
Message-ID: CAGuaRCva6PqF144Lc6yFdPbrp_U-LAHu1vAwuKcO9fpOgGmHaA () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hi,
I'm trying use two instances of rtpproxy listening to two different public
IPs, to handle incoming and outgoing legs.
That means i want to implement this network topology:
SipClient--------->media from client to proxy--->rtpproxy1
Sipclient<----------media from proxy to client<---rtpproxy2
Where rtpproxy1 listening to IP1
and rtpproxy2 listening to IP2
in kamailio cfg :
modparam("rtpproxy", "rtpproxy_sock", " udp:127.0.0.1:22222 udp:
127.0.0.1:22223")
if (is_request()) {
if (!has_totag()) {
add_rr_param(";nat=yes");
}
rtpproxy_offer("IP1");
}
if (is_reply()) {
if(isbflagset(FLB_NATB)) {
fix_nated_contact();
}
rtpproxy_answer("IP2");
}
But its not working.
Thanks in advance
[Attachment #5 (text/html)]
<div dir="ltr"><div>Hi,</div><div><br></div><div>I'm trying use two instances of \
rtpproxy listening to two different public IPs, to handle incoming and outgoing \
legs.<br><br>That means i want to implement this network \
topology:<br><br>SipClient--------->media from client to \
proxy--->rtpproxy1</div><div>Sipclient<----------media from proxy to \
client<---rtpproxy2</div><div><br></div><div>Where rtpproxy1 listening to \
IP1</div><div>and rtpproxy2 listening to IP2</div><div><br></div><div>in kamailio cfg \
:<br><div> modparam("rtpproxy", "rtpproxy_sock", " udp:<a \
href="http://127.0.0.1:22222">127.0.0.1:22222</a> udp:<a \
href="http://127.0.0.1:22223">127.0.0.1:22223</a>")</div><div><br></div><div><br></div><div><br></div> \
</div><div><br></div><div>if (is_request()) {</div><div> if \
(!has_totag()) {</div><div> \
add_rr_param(";nat=yes");</div><div> }</div><div> \
rtpproxy_offer("IP1");</div><div> }</div><div> if \
(is_reply()) {</div><div> if(isbflagset(FLB_NATB)) \
{</div><div> fix_nated_contact();</div><div> \
}</div><div> rtpproxy_answer("IP2");</div><div> \
}</div><div><br></div><div><br></div><div>But its not working. \
</div><div><br></div><div>Thanks in advance</div></div>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic