[Serdev] How can I pass uri to a module?

Bogdan-Andrei IANCU iancu at fokus.fraunhofer.de
Tue Mar 15 21:31:58 UTC 2005


RURI is not passed to the module function as parameter - you have to 
take it from the sip_msg structure -> use  GET_RURI(msg) macro from 
parser/msg_parser.h

bogdan

Kannaiyan Natesan wrote:

> I want to pass uri from the configuration file to the module.
>
> mymodule(uri);
>
> and I want to take the uri and process further.
>
> However i endedup in the config file error when i just pass uri as a 
> parameter.
>
> I tried to get the uri from sip_msg structure, but it is always null.
> any clues how this can be done. thanks.
>
> regards,
> -Kans.
>
> _______________________________________________
> Serdev mailing list
> serdev at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serdev
>




More information about the Serdev mailing list