[OpenSIPS-Users] SDP

Prathibha B prathibhab.tvm at gmail.com
Fri Mar 22 00:10:12 UTC 2024


3.4

Sent from Outlook for Android<https://aka.ms/AAb9ysg>
________________________________
From: Users <users-bounces at lists.opensips.org> on behalf of Bogdan-Andrei Iancu <bogdan at opensips.org>
Sent: Thursday, March 21, 2024 9:59:51 PM
To: Stefan Carlsson <stefan.carlsson at tetab.nu>; users at lists.opensips.org <users at lists.opensips.org>
Subject: Re: [OpenSIPS-Users] SDP

Hi,

What OpenSIPS version are you using?

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
  https://www.siphub.com

On 21.03.2024 00:09, Stefan Carlsson wrote:

Hi !

I sincerely apologize that I not read thru all the modules before my orginal post , I’ve found that textops module can search and replace

the text in both the header and the body. (which I mailed to the requester)



I’ve tried some of the exported functions but:



orginal snap:  o=root 276479022 276479022 IN IP4 172.24.7.20





$avp(reinv_sess_id) = “12345678”;    # Got this from  $avp(reinv_oline) = $(rb{sdp.line,o})   and some regex tweeking and      $(avp(reinv_result){s.select,1,;})





$avp(reinv_sess_ver) = “276479022”;



replace_body("$avp(reinv_sess_ver)","$avp(reinv_sess_id)");



This seemed not to work …



but this did:



Original text snap:        a=sendrecv



replace_body("a=sendrecv", "a=sendonly");       # Indicate call hold according RFC3264







// Regards …

Stefan





From: Bogdan-Andrei Iancu <bogdan at opensips.org><mailto:bogdan at opensips.org>
Sent: Wednesday, 20 March, 2024 14:44
To: OpenSIPS users mailling list <users at lists.opensips.org><mailto:users at lists.opensips.org>; Stefan Carlsson <stefan.carlsson at tetab.nu><mailto:stefan.carlsson at tetab.nu>
Subject: Re: [OpenSIPS-Users] SDP



Nothing is impossible as time as you search in the right place (aka the Manual). See my reply on your thread.

Regards,


Bogdan-Andrei Iancu



OpenSIPS Founder and Developer

  https://www.opensips-solutions.com

  https://www.siphub.com

On 14.03.2024 09:50, Stefan Carlsson wrote:

Hi !



You can use the module sipmsgops to view and change some of the ADP fields such as codecs and streams … but unfortunately you don’t have

complete control of the SDP compared to what it seems could be done on the Kamailio SIP router



I need to change the a=sendrecv field and it seems to be impossible  ☹



Regards …

_________________________________

Stefan Carlsson



From: Users <users-bounces at lists.opensips.org><mailto:users-bounces at lists.opensips.org> On Behalf Of Prathibha B
Sent: Thursday, 14 March, 2024 05:16
To: OpenSIPS users mailling list <users at lists.opensips.org><mailto:users at lists.opensips.org>
Subject: [OpenSIPS-Users] SDP



How to see the SDP in opensips?



--

Regards,

B.Prathibha



_______________________________________________

Users mailing list

Users at lists.opensips.org<mailto:Users at lists.opensips.org>

http://lists.opensips.org/cgi-bin/mailman/listinfo/users



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20240322/7ffc7fa5/attachment-0001.html>


More information about the Users mailing list