<html><head></head><body>That's exactly right. Media flows around Kamailio, negotiated directly by the endpoints in their SDP, to which Kamailio is entirely agnostic. <br><br><div class="gmail_quote">On 26 March 2014 03:44:46 GMT-04:00, Cock Ootec <cockootec@gmail.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr">Thanks for your quick reply. So, Kamailio does nothing with RTP/RTCP packets? I think I understand (now when I think about it) - Kamailio only handles SIP messages by which in nested SDP two endpoints negotiate the stream where media will go through? So RTP/RTCP media stream flow directly between two UA endpoints and Kamailio has nothing to do with handling of these packets. Could you, please confirm my thoughts?<div>
<br /></div><div>All right but what if for example we have special UA that sends to Kamailio specially modified packet (non standard SIP). In my extension of topoh module I have sanity_checks disabled so will Kamailio check this packet before my module and drops it or I can receive, modify and forward this packet? I mean modify this packet to standard SIP packet and forward it to another UA. I am just asking theoretically because in the moment I cant try this.</div>
<div><br /></div></div><div class="gmail_extra"><br /><br /><div class="gmail_quote">On Wed, Mar 26, 2014 at 7:41 AM, Olle E. Johansson <span dir="ltr"><<a href="mailto:oej@edvina.net" target="_blank">oej@edvina.net</a>></span> wrote:<br />
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br /><div><div class=""><div>On 26 Mar 2014, at 01:06, Cock Ootec <<a href="mailto:cockootec@gmail.com" target="_blank">cockootec@gmail.com</a>> wrote:</div>
<br /><blockquote type="cite"><div dir="ltr">Hi,<div>I'd like to develop module for Kamailio which will be working with RTP/RTCP packets. Is there any way to capture and edit RTP packet in module of Kamailio for example in module extended from <b>topoh</b>?</div>

<div><br /></div></div></blockquote></div><div>Kamailio in itself is a SIP server, often acting as a SIP proxy. The SIP protocol doesn't handle media, it facilitates setup and management of a media session. Adding a module for handling media in Kamailio doesn't really make any sense.</div>
<div><br /></div><div>We do have modules that talk to external media servers. Look into those - like rtpproxy. The Kamailio module itself does not handle media, but communicates with the other server that in fact manages media relaying.</div>
<div><br /></div><div>Before you modify software, you need to understand the architecture :-)</div><div><br /></div><div>/O</div><div><br /></div><br /><blockquote type="cite"><div class=""><div dir="ltr"><div>In topoh there are two eventsĀ <span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:18px;white-space:pre-wrap">SREV_NET_DATA_IN and </span><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:18px;white-space:pre-wrap">SREV_NET_DATA_OUT </span>but I didn't be able to capture any RTP packets by them.</div>

<div><br /></div><div>Thanks in advance for any help or useful information.</div></div></div>
_______________________________________________<br />sr-dev mailing list<br /><a href="mailto:sr-dev@lists.sip-router.org" target="_blank">sr-dev@lists.sip-router.org</a><br /><a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a><br />
</blockquote></div><br /></div><br />_______________________________________________<br />
sr-dev mailing list<br />
<a href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a><br />
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a><br />
<br /></blockquote></div><br /></div>
<p style="margin-top: 2.5em; margin-bottom: 1em; border-bottom: 1px solid #000"></p><pre class="k9mail"><hr /><br />sr-dev mailing list<br />sr-dev@lists.sip-router.org<br /><a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a><br /></pre></blockquote></div><br>
--<br>
Sent from my Nexus 10, with all the figments of autocorrect that might imply.<br>
<br>
Alex Balashov - Principal<br>
Evariste Systems LLC<br>
235 E Ponce de Leon Ave<br>
Suite 106<br>
Decatur, GA 30030<br>
United States<br>
Tel: +1-678-954-0670<br>
Web: <a href="http://www.evaristesys.com">http://www.evaristesys.com</a>/, <a href="http://www.alexbalashov.com/">http://www.alexbalashov.com/</a></body></html>