[OpenSIPS-Users] exec_avp in timer route

Brett Nemeroff brett at nemeroff.com
Tue Dec 20 20:41:20 CET 2011


On Sat, Dec 17, 2011 at 6:53 AM, ddgiants <ddgiants at gmail.com> wrote:

> FYI - I changed lines 69 & 71 in modules/exec/exec_mod.c and it now loads
> with exec_avp in time_route. I have absolutely no idea what ramifications
> this has though. Just an FYI.
>
> Old line 69 & 71
> REQUEST_ROUTE|FAILURE_ROUTE|LOCAL_ROUTE|STARTUP_ROUTE},
>
> New line
> REQUEST_ROUTE|FAILURE_ROUTE|LOCAL_ROUTE|STARTUP_ROUTE|TIMER_ROUTE},


For what it's worth, I've done the exact same thing in an older version to
make exec_avp work in startup_route. I also get the URI failures on
startup, but I'm sure that's because the exec_avp method is expecting to
parse a message.

I get the error, but no obvious ramifications. Doesn't mean there arn't
any. :) Been doing it for a while. My new code, however I'm using startup
and timer routes more and doing my logic right in the code instead of
external scripts (like loading accounts and such)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20111220/a0a4e7f6/attachment.htm>


More information about the Users mailing list