[OpenSIPS-Users] How to replace a port in SDP text?

Rodrigo Pimenta Carvalho pimenta at inatel.br
Fri Aug 16 20:20:59 UTC 2024


Hi.

I'm using OpenSIPs 2.3

How can I change a port value in SDP text (in INVITE or SIP OK) ?  I was reading about Script Transformations  and module textops, but I can't figure out how to do that.

Any hint will be very helpful!

I mean the port in the line like this:  m=audio 50270 RTP/AVP 106 9 0 8 3 111 102 110 112 98 101 100 99
I just want to test and see what will happen (with RTP packages)  if I change such port with the source port.

Best regards.


[cid:a604bf77-b5d0-4cba-b35b-b5456300e731]

Rodrigo Pimenta Carvalho

Inatel Competence Center - PDI



www.inatel.br<http://www.inatel.br/>



[cid:ac707c5f-7ca9-4d68-902f-af55d082397a]<https://www.facebook.com/inatel/>

[cid:6464666b-6226-4316-a488-a61e14ff4584]<https://www.linkedin.com/school/inatel/mycompany/verification/>

[cid:9e1aa20a-9909-4469-b056-bf2a099cc8cb]<https://www.instagram.com/inatel.tecnologias/?hl=pt>

[cid:5d87a353-7e49-4295-909b-e3cc7cb956e5]<https://www.youtube.com/c/InatelTecnologias>





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20240816/84ddcd4e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-cid_a604bf.png
Type: image/png
Size: 5592 bytes
Desc: Outlook-cid_a604bf.png
URL: <http://lists.opensips.org/pipermail/users/attachments/20240816/84ddcd4e/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-ehe3sv15.png
Type: image/png
Size: 675 bytes
Desc: Outlook-ehe3sv15.png
URL: <http://lists.opensips.org/pipermail/users/attachments/20240816/84ddcd4e/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-cjaof3xp.png
Type: image/png
Size: 832 bytes
Desc: Outlook-cjaof3xp.png
URL: <http://lists.opensips.org/pipermail/users/attachments/20240816/84ddcd4e/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-cid_9e1aa2.png
Type: image/png
Size: 2252 bytes
Desc: Outlook-cid_9e1aa2.png
URL: <http://lists.opensips.org/pipermail/users/attachments/20240816/84ddcd4e/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-w5a25r52.png
Type: image/png
Size: 957 bytes
Desc: Outlook-w5a25r52.png
URL: <http://lists.opensips.org/pipermail/users/attachments/20240816/84ddcd4e/attachment-0009.png>


More information about the Users mailing list