[sr-dev] custom module and variables

Daniel-Constantin Mierla miconda at gmail.com
Mon Aug 31 10:14:42 CEST 2009


Hello,

On 30.08.2009 11:39 Uhr, liran tal wrote:
> Hey list,
>  
> Due to technical reasons we are running openser1.0.1 on a tiny 
> embedded system.
this is quite old version. The devel guide was written for 1.4.x. It is 
recommended that you upgrade. IIRC, PV framewark for cfg file was 
introduced in 1.1.x. In 1.0 you have to work with avps.

Cheers,
Daniel

> I am exploring the way to pass a PV's value into the exported function 
> from my module,
> and returning back a value from the function via the use of some other 
> PV or a newly added
> AVP.
>  
> I am not sure how to follow this, as basic avpops operations aren't 
> working for me
> in the config file itself (without introducing my custom module at all).
>  
>  
> Could someone explain or provide an example as to how this would work?
> I have taken a look at 
> http://www.asipto.com/pub/openser-devel-guide/ regarding adding a new 
> module
> but I'm not quite sure as to the details regarding avops and such.
>  
>  
> Regards.
> ------------------------------------------------------------------------
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>   

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




More information about the sr-dev mailing list