I tried passing uri as parameter to module, but it says config errors. mymodule(uri); in ser.cfg give config file errors. Can anyone help me how to get the current uri in a module as a string or sip_uri. Regards, Kannaiyan