Hi Juha,
yes indeed, there are two approachs in the redirect problem - either let the caller to get the redirect and decide what to do (but you may have some difficulties in doing accounting), either process the redirect on server (via uac_redirect)- in this case you may want to process only some redirects (like only inside your domain, for example) and here comes the filters....
I didn't made any special modification in TM for this, but 1) is strongly dependent of the serial forking in TM (branch selection) and 2) I had to do some delicate work around to access all received replies and to extract the contacts (see uac_redirect/rd_funcs.c, shmcontact2dset() function).
regards, bogdan
Juha Heinanen wrote:
Bogdan-Andrei Iancu writes:
any feedback - as testing or functionality- is greatly appreciated.
bogdan,
nice module. i would not personally need the filters though, since i would let the callee decide if he/she wants the proxy to process the 3xx's from his/her phones (and thus also pay for the forwarding) or just pass 3xx's on to the callers.
by the way, did you need to modify tm module in order to get access to contact reader in 3xx reply?
-- juha