[Devel] Re: more stuff before the freeze
Daniel-Constantin Mierla
daniel at voice-system.ro
Wed Jan 31 21:39:59 CET 2007
Hello Juha,
I am working to a system that allows to apply transformations to
pseudo-variables, that would include escape/unescape functions. If you
can write them as C functions, that would help me, as I am now doing the
framework - this week, before freezing, should be ready. Then I can just
plug them there, without wasting time to investigate what has to be
escaped/unescaped in a SIP uri.
Thanks,
Daniel
On 01/31/07 22:27, Juha Heinanen wrote:
> i vague remember that we discussed including escape/unescape functions
> for the next release. this is one rfc3261 compliance feature that
> openser is still lacking.
>
> for me personally, it would be enough if i would be able to
> escape/unescape user part of ruri, but a more general solution might be
> implementing escape/unescape functions that would take any
> pseudovariable argument. then unescaping ruri user part could be done
> like this:
>
> $var(tmp) = unescape($rU);
> avp_pushto("ru/username", "$var(tmp)");
>
> bad thing in the above is that i don't know if there was anything to
> unescape, so the latter call may be unnecessary.
>
> does anyone have better suggestions?
>
> if nothing can be done for now, i can implement as a temporary solution
> my own functions that only escape/unescape ruri userpart.
>
> -- juha
>
>
More information about the Devel
mailing list