[Kamailio-Devel] How pass pseudo-var to new script function?

Daniel-Constantin Mierla miconda at gmail.com
Wed Oct 1 10:42:29 CEST 2008


Hello,

On 10/01/08 11:37, Schumann Sebastian wrote:
> Dear all
>  
> I writing a module and including some function, that can be called 
> from the script, how can I pass pseudovariables?
>  
> Do I have to use a special fixup?
>  
> Example:
> command('sip:test at test.com') works, neither command($fu) nor 
> command('$fu') do.
>  
> Any hints? Thanks a lot.
yes, you need to use a fixup function. You can check the new 
unregister() function from registrar module and see how it deals with 
second parameter.

Cheers,
Daniel


-- 
Daniel-Constantin Mierla
http://www.asipto.com




More information about the Devel mailing list