Hi,
Did you check that To HF is parsed already?
See get_to_uid() function in id.c, how it works.
In general, header fields are parsed on demand, so that if you are not
sure, you have to check if your HF is parsed already.
BR,
Libor
Netadmin Bensoft wrote:
Hello,
I made a module and i want to get the uri from sip msg. How can i do
this?
What i need is the phone from uri or the uri (sip:1234@sip.sip.com)
I've tried get_to(msg)->uri.s but it doesn't return the uri..
Thanks.