Re: [OpenSER-Devel] No result using function parse_uri()

2008-05-07 Thread Bogdan-Andrei Iancu
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

Re: [OpenSER-Devel] No result using function parse_uri()

2008-04-28 Thread Bogdan-Andrei Iancu
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; >

[OpenSER-Devel] No result using function parse_uri()

2008-04-28 Thread Matheus Araújo Aguiar
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