Hi,
I have in my failure route:
t_check_status("302"){
add_diversion("302");
}
All I see from the debug is:
0(21254) DEBUG:t_check_status: checked status is <302>
0(21254) Proxy-02: Adding Diversion header... 0(21254) parse_headers:
flags=40000000
0(21254) DEBUG:tm:relay_reply: branch=0, save=0, relay=0
0(21254) old size: 479, new size: 416
0(21254) build_res_from_sip_res: copied size: orig:99, new: 36, rest:
380 msg=
No Diversion header is added. Am I using the function correctly?
The setup is:
GW UAC1 UAC2 LB SP
--------INV---------->
-INV->
<-INV-
<-----INV-----
---302-------->
-302->
<-302- (add_diversion)
<----------302-------
---------INV--------->
-INV->
<-INV-
<-INV-
I'm trying to use the add_diversion in failure route on SP
You'll have to excuse me if I'm totally out of control here ;-)
br hw
fre, 06,.10.2006 kl. 14.24 +0300, skrev Bogdan-Andrei Iancu:
no problem :)
what is not working? is the hdr not added? do you see some errors?
regards,
bogdan
Helge Waastad wrote:
Hi,
sorry about that....it has been a loooong workingday for me these last
24h...
The subject is correct...
add_diversion() is the function I'm wondering about.
sincerely,
hw
fre, 06,.10.2006 kl. 13.56 +0300, skrev Bogdan-Andrei Iancu:
>Hi Helge,
>
>it's a bit confusing...are you asking about add_diversion - as in
>subject- or about add_redirect - as in email ?
>
>regards,
>bogdan
>
>Helge Waastad wrote:
>
>
>
>>Hi,
>>I was just wondering if someone could confirm that the add_redirect
>>function works in OpenSER 1.1.0?
>>
>>I have some problems using this function.
>>
>>br hw
>>
>>
>>
>>
>>
--
Helge Waastad
Senior Engineer
Systemavdelingen
Smartnet