[sr-dev] [SR-Dev] Capture RTP packet in Kamailio module

Olle E. Johansson oej at edvina.net
Wed Mar 26 07:41:59 CET 2014


On 26 Mar 2014, at 01:06, Cock Ootec <cockootec at gmail.com> wrote:

> Hi,
> 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 topoh?
> 
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.

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.

Before you modify software, you need to understand the architecture :-)

/O


> In topoh there are two events SREV_NET_DATA_IN and SREV_NET_DATA_OUT but I didn't be able to capture any RTP packets by them.
> 
> Thanks in advance for any help or useful information.
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20140326/255c5965/attachment.html>


More information about the sr-dev mailing list