Hi,
Use the s.subst [1] transformation to replace any continues set of
spaces with a semi-colon
[1] https://www.opensips.org/Documentation/Script-Tran-3-4#re.subst
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com
https://www.siphub.com
On 12.03.2024 19:18, Stefan Carlsson wrote:
Hi !
What is the easiest form to transform this:
o=SYS 1710262255 1710262255 IN IP4 123.123.123.123
Into
SYS;1710262255;1710262255;IN;IP4;123.123.123.123
for later retrieval via an index function.
[0] = SYS
[1] = 1710262255
[2] = 1710262255
[3] = IN
etc ….
I need to get my hands on the session parameters …
Thanks in advance …
//S
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users