[OpenSIPS-Users] Siprec subscribe-answer rtpengine flags

Walter Schober walter.schober at neotel.at
Wed Jun 11 08:06:10 UTC 2025


Hi Razvan!


Thanks for this information! Yes, it did the job indeed!

I would suggest to adopt the Doc https://opensips.org/docs/modules/3.6.x/siprec.html#pv_siprec accordingly:

"
media - the IP that RTPProxy will be streaming media from. If absent 127.0.0.1 will be used. NOTE:media_ip has been dropped.
"

to 

"media - RTPProxy: the IP that RTPProxy will be streaming media from. If absent 127.0.0.1 will be used.    <<<--- I don’t know RTPProxy behaviour here
         RTPEngine: flags to RTPEngine used for SRS Media Session. If absent the configured interface IP is used with no separate flags.
                    E.g. "allow-transcoding" for use of RTPEngine if SRS is not answering with exactly same codec list as offered.
         NOTE:media_ip has been dropped.
"


Br
Walter

-----Ursprüngliche Nachricht-----
Von: Users <users-bounces at lists.opensips.org> Im Auftrag von Răzvan Crainea
Gesendet: Dienstag, 10. Juni 2025 09:58
An: users at lists.opensips.org
Betreff: Re: [OpenSIPS-Users] Siprec subscribe-answer rtpengine flags

Hi, Walter!

You can pass the allow-transcoding flags in the $siprec(media) variable, 
before engaging recording:

$siprec(media) = "allow-transcoding";

Best regards,

Răzvan Crainea
OpenSIPS Core Developer / SIPhub CTO
http://www.opensips-solutions.com / https://www.siphub.com

On 6/3/25 11:50 AM, Walter Schober wrote:
> Hi!
> 
> I’ve successfully managed to record a call via SIPREC module using OpenSIPS 3.6.0 and RTPEngine 13.2.
> 
> But I needed to do a trick to have the subscribe-answer to allow transcoding: I used a template „default“ in the rtpengine.conf to set
> 
> [templates]
> default = allow-transcoding asymmetric
> 
> This is global unfortunately. I searched all the module documentations siprec, dialog, rtp_relay (I understood: rtpengine cannot be done directly in 3.6 with siprec). I looked even into source code.
> I haven’t found any hint how to add RTPEngine flag „allow-transcoding“ to the „subscribe answer“ command in opensips.
> 
> Did I miss something or is this not possible?
> 
> Thanks for help me understanding this!
> br
> Walter
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


More information about the Users mailing list