<div dir="ltr"><div>Not wanting to hijack my own thread, but have you compiled the g729 codec support into RTPEngine? There are build options you need to use.</div><div><br></div><div>Andrew</div><br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Fri, 6 Mar 2026 at 00:40, Federico Alves <<a href="mailto:venefax@gmail.com">venefax@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Also, the RTP engine does not record any calls using the g729 codec.<br>
Is there something I am missing?<br>
Philip<br>
<br>
On Thu, Mar 5, 2026 at 5:55 AM Andrew Yager <<a href="mailto:andrew@rwts.com.au" target="_blank">andrew@rwts.com.au</a>> wrote:<br>
><br>
> Hi,<br>
><br>
> I will put money on this being a "you're doing this all the wrong way" and you're an idiot type issue.<br>
><br>
> We're running OpenSIPS 3.4.16 with rtpengine 14.0.1.1 and trying to use the siprec module with rtp_relay for call recording to a VoIPMonitor SRS.<br>
><br>
> Setup:<br>
>   - rtp_relay_engage("rtpengine") called before siprec_start_recording()<br>
>   - rtp_relay handles the main call's media successfully (offer/answer work, RTP flows)<br>
>   - SIPREC INVITE is sent to SRS, SRS responds with 200 OK<br>
>   - BYE sent to SRS immediately (~1ms after ACK)<br>
><br>
> What we see in rtpengine debug logs:<br>
><br>
> The subscribe request sent by rtp_relay uses from-tag: "1" rather than the actual call participant's tag:<br>
><br>
>   subscribe request: {"call-id": "...", "flags": ["all", "siprec"],<br>
>     "from-tag": "1", "command": "subscribe request"}<br>
><br>
> This succeeds. But the subsequent subscribe answer uses the real callee tag:<br>
><br>
>   subscribe answer: {"call-id": "...", "from-tag": "ffc01bf7-...",<br>
>     "to-tag": "00e36c57...", "command": "subscribe answer"}<br>
><br>
>   rtpengine returns: Failed to process subscription answer<br>
><br>
> It appears the from-tag "1" in the subscribe request is wrong, because it should be the actual SIP dialog tag (b2af6068 for caller, ffc01bf7-... for callee), and so rtpengine can't correlate the subscribe answer back to the subscription because the from-tag changed between request and answer.<br>
><br>
> We're using rtp_relay_engage("rtpengine") followed by siprec_start_recording("sip:x.x.x.x:5099") in ROUTE_INVITE after create_dialog("B"). Do we need to call siprec_start_recording later, like in the reply route on the 200 OK?<br>
><br>
> Is what I'm doing wrong obviously wrong?<br>
><br>
> Thanks,<br>
> Andrew<br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>