<div>Hello, Razvan!</div><div> </div><div>1) I found what the problem was. The question is closed.</div><div>2) To your notice.</div><div> </div><div>-- </div><div>С уважением, Денис.</div><div>Best regards, Denis</div><div> </div><div> </div><div> </div><div> </div><div> </div><div>09.02.2017, 15:38, "Denis via Users" <users@lists.opensips.org>:</div><blockquote type="cite"><div>Hello Razvan!</div><div> </div><div>I am sorry for long answer, only now could return to these questions.</div><div> </div><div>So</div><div> </div><div>1) I run rtpproxy_start_recording() for both INVITE and 200 OK.</div><div>The some content of the opensips.cfg</div><div>"...</div><div><pre style="background-color:#ffffff;color:#000000;font-family:"Courier New";font-size:9,0pt;">modparam("rtpproxy", "rtpproxy_sock", "1 == udp:<ip rtpproxy>:221")</pre><div>....</div><div> </div><div>route[1]</div><div><pre style="background-color:#ffffff;color:#000000;font-family:"Courier New";font-size:9,0pt;">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");
 }
}</pre><div>.....</div><div> </div><div><pre style="background-color:#ffffff;color:#000000;font-family:"Courier New";font-size:9,0pt;">onreply_route[1]</pre></div><div><pre style="background-color:#ffffff;color:#000000;font-family:"Courier New";font-size:9,0pt;">if (isflagset(10) && $avp(1003)==1) {
  rtpproxy_start_recording("1");  
}</pre></div></div>"</div><div>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>)"</div><div>In syslog of the rtpproxy instance i can see "INFO:handle_copy:DLGCH_KklSW2IoYjFiRlxYZ2RhYXxFSFdlK2R+f0JXXmt5MWspSVEM: starting recording RTP session on port 38598"</div><div>but only when 200 OK has been received.</div><div><div> </div><div>I use</div><pre style="background-color:#ffffff;color:#000000;font-family:"Courier New";font-size:9,0pt;">rtpproxy_engage("conrf",,"1",);</pre><div>for make an rtp proxy.</div><div> </div><div>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?</div><div> </div><div>Thank you.</div></div><div>-- </div><div>С уважением, Денис.</div><div>Best regards, Denis</div><div> </div><div> </div><div> </div><div> </div><div> </div><div>04.01.2017, 18:55, "Răzvan Crainea" <<a href="mailto:razvan@opensips.org">razvan@opensips.org</a>>:</div><blockquote type="cite"><div bgcolor="#FFFFFF">Hi, Denis!<br /><br />Regarding 1, did you try to run rtpproxy_start_recording() for both INVITE and 200 OK?<br /><br />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.<br /><br />Best regards,<pre>Răzvan Crainea
OpenSIPS Solutions
<a href="http://www.opensips-solutions.com/">www.opensips-solutions.com</a></pre><div>On 01/04/2017 05:24 PM, Денис Путято via Users wrote:</div><blockquote cite="mid:8121831483543478@web10h.yandex.ru" type="cite">Hello!<div> </div><div>Is there any information about the problem?</div><div> </div><div>Thank you.<br /><br />--<br />С уважением,<br />Путято Денис<div>Best regards, Denis<br /><br />14:47, 27 декабря 2016 г., Denis via Users <a href="mailto:users@lists.opensips.org"><users@lists.opensips.org></a>:<blockquote><div>Hello!</div><div> </div><div>I try to use rtpproxy for call recording and have two problems</div><div> </div><div>1) rtpproxy records only one way of the call (from callee to caller). For starting rtp proxy i use rtpproxy_engage("conrf",,"1",) function.</div><div> </div><div>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)</div><div>DLGCH_fRUAW2B/M2NiSV1WYWRhYX9ASFowK2J+f0JXXmt5MWspSVEM.</div><div> </div><div>I want to pay attention to "/" character. As i understand, because of this character i got such error from rtpproxy</div><div>ERR: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)</div><div> </div><div>rtpproxy: 2.2.alpha.<span><span><span>20160822</span></span></span></div><div>Opensips: Server:: OpenSIPS (2.2.2 (x86_64/linux))</div><div> </div><div>Thank you for any help.</div><div> </div><div>-- </div><div>С уважением, Денис.</div><div>Best regards, Denis</div><div> </div><div> </div><div> </div><p>_______________________________________________<br />Users mailing list<br /><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br /><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></p></blockquote></div></div> <pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre></blockquote></div>,<p>_______________________________________________<br />Users mailing list<br /><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br /><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></p></blockquote>,<p>_______________________________________________<br />Users mailing list<br /><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br /><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></p></blockquote>