Hello Razvan!
I am sorry for long answer, only now could return to these questions.
So
1) I run rtpproxy_start_recording() for both INVITE and 200 OK.
The some content of the opensips.cfg
"...
modparam("rtpproxy", "rtpproxy_sock", "1 == udp:<ip rtpproxy>:221")....
route[1]
if (is_method("INVITE")&&!has_totag()) {
if (isflagset(10)) {
if ($avp(3000)==1) xlog("L_INFO", "Route1:$rm was received and call_record detected(IPS=$si, SP=$sp, IPD=$rd, RP=$Rp, FROMTAG=$ft, TOTAG=$tt)");
rtpproxy_start_recording("1");
}
}.....
onreply_route[1]
if (isflagset(10) && $avp(1003)==1) {
rtpproxy_start_recording("1");
}In syslog of the Opensips instance i can see " Route1:INVITE was received and call_record detected(IPS=<ip>, SP=5068, IPD=<another ip>, RP=5065, FROMTAG=5reZ564rtpHBg, TOTAG=<null>)"
In syslog of the rtpproxy instance i can see "INFO:handle_copy:DLGCH_KklSW2IoYjFiRlxYZ2RhYXxFSFdlK2R+f0JXXmt5MWspSVEM: starting recording RTP session on port 38598"
but only when 200 OK has been received.
I use
rtpproxy_engage("conrf",,"1",);for make an rtp proxy.
2) I understand that "/" is a valid character, but, to speak the truth, did not invite it in any call-id before. Only when started using topo_hiding with Opensips. May i ask to make some patch to remove "/" from callid generation?
Thank you.
--
С уважением, Денис.
Best regards, Denis
04.01.2017, 18:55, "Răzvan Crainea" <[email protected]>:
Hi, Denis!,
Regarding 1, did you try to run rtpproxy_start_recording() for both INVITE and 200 OK?
Regarding 2, '/' is a valid character in Call-id. Therefore the problem is at the RTPProxy side - before writing the CDR they should escape (or transform somehow) the '/' character in something else.
Best regards,Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.comOn 01/04/2017 05:24 PM, Денис Путято via Users wrote:Hello!Is there any information about the problem?Thank you.
--
С уважением,
Путято ДенисBest regards, Denis
14:47, 27 декабря 2016 г., Denis via Users <[email protected]>:Hello!I try to use rtpproxy for call recording and have two problems1) rtpproxy records only one way of the call (from callee to caller). For starting rtp proxy i use rtpproxy_engage("conrf",,"1",) function.2) i am using top_hiding with "C" flags (which should change callid) and i noticed, that sometime the function generates callid with such form (for example)DLGCH_fRUAW2B/M2NiSV1WYWRhYX9ASFowK2J+f0JXXmt5MWspSVEM.I want to pay attention to "/" character. As i understand, because of this character i got such error from rtpproxyERR:DLGCH_fRUAW2B/M2NiSV1WYWRhYX9ASFowK2J+f0JXXmt5MWspSVEM:rtpp_record_open: can't open file /mnt/callrecords//DLGCH_fRUAW2B/M2NiSV1WYWRhYX9ASFowK2J+f0JXXmt5MWspSVEM=cU7ZHtge63paN.a.rtp for writing: No such file or directory (2)rtpproxy: 2.2.alpha.20160822Opensips: Server:: OpenSIPS (2.2.2 (x86_64/linux))Thank you for any help.--С уважением, Денис.Best regards, Denis_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
