How to record two RTP Streams coming in one call media session

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Varun,
?I am not sure how the recording system interfaces to your call manager.
One possibility is to have the call manager always invite the recording system as an additional party(3rd) for each call as a receive only party. The caller manager would conference the 3(or more) parties and send the mix of the other 2(or more) parties to the recording system who would simply record it to a file. PJSIP has the recorder API already.
Since the recording system is receive only, it remains silent and the other parties hear nothing from it.
?

--- On Fri, 9/30/11, varun pratapsingh <varunps2003 at gmail.com> wrote:

From: varun pratapsingh <varunps2003@xxxxxxxxx>
Subject: How to record two RTP Streams coming in one call media session
To: "pjsip list" <pjsip at lists.pjsip.org>
Date: Friday, September 30, 2011, 3:31 AM

HI All,



I am developing recording system which works with call manager. When

this call manager calls this recording system with INVITE it replies

with 200 OK and set ups a call session. Now when session is

established between call manager and recording system. The call

manager sends two RTP streams in one call session one on port x and

other on x+2. My recording system don't send any RTP stream to call

manager. Now the I have to mix both the RTP sessions coming from the

call manager and record them.



So when I am using the API with the following params :

pjmedia_conf_connect(pjsua_var.mconf, call_info.conf_slot, recorder_port, 0)



Only one RTP session is recorded. Actually the two RTP streams coming

from call manager are two side audio conversation. One side audio

conversation is on one RTP stream. So we have to actually mix and

record them so as to record the actual bidirectional call

conversation. So the problem is that only one RTP stream gets recorded

and hence in recorded wav file we listen only one side audio. Please

help me in resolving this problem.





Any help is highly appreciated.





Regards:

Varun Singh




-----Inline Attachment Follows-----

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip at lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20110930/f9bb95f2/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux