Re: [OpenSIPS-Users] Opensips 3 module names...

2022-03-24 Thread Alexey Kazantsev via Users

Hi Stefan,
 
as I understood, you use CentOS, so 
this command should be exactly what you need:
 
    yum --showduplicates list available opensips*
 
You may also browse repository:
https://yum.opensips.org/3.2/releases/el/7/x86_64/
https://yum.opensips.org/browse.php
---
BR, Alexey
https://alexeyka.zantsev.com/
 ___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] mysql_db installation fails ...

2022-03-24 Thread Alexey Kazantsev via Users

Hello Stefan,
 
as we see, the packages are available from 2 repos in your system —
an old version from ‘epel’ and an up-to-date one from ‘opensips’.
 
It can be useful to run such command to list available packages
and repositories they belong to:
 
    yum --showduplicates list available opensips*
 
And then instruct yum exactly to install some certain version of the package, 
e.g.:
 
    yum install opensips-X.Y.Z-3.el7
 
It’s also possible to specify the repository from which you intend to install a 
package:
 
    yum --enablerepo=opensips install opensips
 
 
Maybe these notes will be useful for somebody, as you’ve already solved the 
problem.
 
---
BR, Alexey
https://alexeyka.zantsev.com/
 ___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] opensips 3.2 and latest github rtpengine

2022-03-24 Thread Alberto
That works, here's what I've ended up using:

rtpengine_manage("loop-protect ... other things I need", , $var(body));
remove_body_part();
add_body_part($(var(body){re.subst,/^s=.*$/s=abcxxx/g}), "application/sdp");

but seems cumbersome, I was expecting to do rtpengine_manage followed by
replace_body_all and don't interfere further with the flow

Anyway, thanks

On Thu, 24 Mar 2022 at 02:33, Artiom Druz  wrote:

> Hello, Alberto.
> You can modify it by using an optional parameter in rtpengine_offer
> (sdp_var -
> https://opensips.org/html/docs/modules/3.2.x/rtpengine#func_rtpengine_offer
> ).
> Logic:
> You can write new sdp body to the variable instead of rewrite of existing
> SDP. After that you can modify "s" parameter in this variable.
> Next - you delete existing SDP (remove_body_part()) and add new SDP with
> content from variable (add_body_part()).
>
> Best regards,
> Artiom Druz
>
> чт, 24 мар. 2022 г., 04:34 Alberto :
>
>> Hi,
>>
>> I'm trying to change the session name, the s= line, while using rtpengine.
>>
>> If I remove rtpengine and do replace_body_all("^s=.*$", "s=abczzz"); it
>> works just fine and I see the new session name in the second leg of the
>> call.
>>
>> But when rtpengine_offer is called, the original sdp body is used instead
>> of the modified body.
>> I tried to do replace_body_all before and after rtpengine_offer, but it
>> doesn't work, the second leg always has the original session name.
>>
>> Any advice?
>> Thanks
>> ___
>> Users mailing list
>> Users@lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users