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

Schumann Sebastian Sebastian.Schumann at t-com.sk
Wed Oct 1 13:03:52 CEST 2008


Thanks Daniel, that hint fixed my problem.

Sebastian 

> -----Original Message-----
> From: Daniel-Constantin Mierla [mailto:miconda at gmail.com] 
> Sent: Wednesday, 01. October 2008 10:42
> To: Schumann Sebastian
> Cc: devel at lists.kamailio.org
> Subject: Re: [Kamailio-Devel] How pass pseudo-var to new 
> script function?
> 
> 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