[sr-dev] Adding var fixup to send() function

Daniel-Constantin Mierla miconda at gmail.com
Sat Nov 10 08:29:40 CET 2012


Hello,

The runtime code for it is in action.c. To accept pv as parameter, you should change in cfg.y as well.

But the best is to move it in corex module, which was created for this purpose - relocate core functions to get pv parameters.

Cheers,
Daniel

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

On 6 Nov 2012, at 23:56, Andreas Granig <agranig at sipwise.com> wrote:

> Hi,
> 
> Any hints how to make the send() function accepting a PV? I'm a bit lost
> where to start since it's a core function. Or is there an alternative to
> send() to forward a request without any modification (especially without
> adding a Via) based on a PV?
> 
> Thanks for any guides,
> Andreas
> 
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev



More information about the sr-dev mailing list