[OpenSER-Users] cpl "proxy_recurse"
Iñaki Baz Castillo
ibc at in.ilimit.es
Wed Feb 20 15:23:47 CET 2008
El Wednesday 20 February 2008 15:05:42 Daniel escribió:
> Hi all,
> what does "proxy_recurse" parameter do if it not set to zero ?
> For example:
>
> modparam("cpl-c","proxy_recurse",2)
Imagine during CPL a user A is called and its UAS replies:
302 Moved
Contact: B
If "proxy_recurse" >= 1 then CPL will "eat" that 302 and instead of forward
upstream to the UAC it will generate a new branch to B automatically.
Now B is called but it also replies:
302 Moved
Contact: C
"proxy_recurse" = 2 so this second redirection is allowed and OpenSer CPL
module will "eat" this 302 and generate a new branch to C.
Now C is called but it also replies:
302 Moved
Contact: D
"proxy_recurse" = 2 and this is the 3th redirection received by this CPL
executin, so it won't "eat" it but forward the 302 upstream to the call
originator.
--
Iñaki Baz Castillo
ibc at in.ilimit.es
More information about the Users
mailing list