[Devel] Callling add_rr_param from failure_route[x]
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Tue Sep 13 16:36:23 CEST 2005
Hi Dimitry,
for the moment "add_rr_param" cannot be called from failure route due
implementation limitations - to be able to add params after the RR was
inserted, a pointer to the lump is kept in a static variable; when
adding params, the lump body is modified.
In failure route there are tow problems:
1) you cannot use anymore the static variable to identify the RR
lump; maybe a solution will be to set type for the RR lumps and try to
find them;
2) altering a lump from shm mem is very problematic - all of them
are allocated in a single mem chunk; no idea how to go around
this.....for the moment.....
but this is on my TODO list :)
regards,
bogdan
Dmitry Isakbayev wrote:
> Hi,
>
> What is the reason for not allowing to call "add_rr_param" from a
> failure_route block?
>
> Thanks,
> Dmitry
>
>
> _______________________________________________
> Devel mailing list
> Devel at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/devel
>
More information about the Devel
mailing list