Hi Daniel,
after posting the question and spending some time figuring out how I might be
able to assemble sip_uri into a string myself I finally came to the same
realisation that you mentioned in your response - that sip_uri is used as
read-only and not meant to be used for URI modifications or
Hello,
I do not recal now any place in the code where the sip_uri structure is
printed back in a string. Mainly because the sip_uri structure is used
read-only, its fields are pointing inside the buffer where the URI that
was parsed was stored.
If you want to get the URI, at least in the kamailio
luck.
Yasin CANER
From: sr-users on behalf of Ivan Ribakov
Sent: Thursday, February 14, 2019 6:27 PM
To: Kamailio (SER) - Users Mailing List
Subject: [SR-Users] Assemble struct sip_uri back to string?
Hi all,
does anyone know if there is a C function available in some module/header that
Hi all,
does anyone know if there is a C function available in some module/header that
assembles parsed sip_uri struct back into a single buffer? I’ve been looking at
msg_parser.h (where sip_uri struct is defined) and parse_uri.h, but I can’t see
anything of that kind.
Thanks in advance,
Ivan