Hi Matheus,
I was referring to the "uri" variableIs it a typo in your reply? It
should be sip_uri* type :)
Check if the string you pass to "parse_uri" is not empty and try to see
if there are any fields set in the structure after parsing.
Regards,
Bogdan
Matheus Araújo Aguiar wrote:
> H
Hi Matheus,
How do you declare the "uri" (third param) variable?
Regards,
Bogdan
Matheus Araújo Aguiar wrote:
> Hello everyone,
>
> I'm coding an extension to OpenSER and I'm getting no result from the
> function parse_uri().
> The code is like this:
>
> struct to_body* b;
>
Hello everyone,
I'm coding an extension to OpenSER and I'm getting no result from the
function parse_uri().
The code is like this:
struct to_body* b;
...
b = (struct to_body*)msg->from->parsed;/* msg is the
struct sip_msg received, the headers From and To hav