[Spce-user] Call-forwarding (cf_loop) when clir is enabled

Klaus Peter v. Friedeburg friedeburg at aco.de
Fri Oct 26 08:38:07 EDT 2012


Sorry there is a mistake in my modifications:
correct is:

in route[ROUTE_FIND_CALLEE]
changes this line
 	else if($var(forward) != 1 && $var(cf_loop) != 1 && $avp(s:from_pstn) != 1 && $avp(s:caller_dp_dom_callee_in) != $null)
 to
 	else if(($var(forward) != 1 && $var(cf_loop) != 1 && $avp(s:from_pstn) != 1 && $avp(s:caller_dp_dom_callee_in) != $null) || ($var(forward) != 1 && $var(cf_loop) == 1 && $avp(s:from_pstn) != 1 && $avp(s:caller_dp_dom_callee_in) != $null)) # jedoch auch bei weitergeleiteten Rufen


Klaus Peter

> -----Ursprüngliche Nachricht-----
> Von: spce-user-bounces at lists.sipwise.com [mailto:spce-user-bounces at lists.sipwise.com] Im Auftrag von Klaus
> Peter v. Friedeburg
> Gesendet: Freitag, 26. Oktober 2012 10:54
> An: spce-user at lists.sipwise.com
> Betreff: [Spce-user] Call-forwarding (cf_loop) when clir is enabled
> 
> Hi,
> 
> I think there exist an Bug in handling the cf_loop when in the subscriber preferences clir is enabled:
> I have seen two problems:
> 1. Call from number A (not anonym) comes to number B (clir enabled) and forwarded for example by cfu to
> number C. Then the call was forwarded as anonymous call to number C.
> 2. It is possible in www-admin to enter an target Number in the call-fordward-definition which is not in E.164
> Format, but when cf_loop is triggered the domain rewrite rule for callee_out are disabled in the script.
> 
> I think that this are not normal behavior.
> I have fixed this by:
> 
> In proxy.cfg.tt2 (or proxy.cfg.customtt.tt2)
> 
> In section route[ROUTE_SET_CLI_CALLER]
> Changes this line:
> 	if(isflagset(FLAG_CLIR)) # override previous settings in case of CLIR
> to
> 	if(isflagset(FLAG_CLIR) && $var(cf_loop) != 1) # override previous settings in case of CLIR, ACO: nicht
> bei weitergeleiteten Rufen
> 
> in route[ROUTE_FIND_CALLEE]
> changes this line
> 	else if($var(forward) != 1 && $var(cf_loop) != 1 && $avp(s:from_pstn) != 1 &&
> $avp(s:caller_dp_dom_callee_in) != $null)
> to
> 	else if($var(forward) != 1 && $var(cf_loop) == 1 && $avp(s:from_pstn) != 1 &&
> $avp(s:caller_dp_dom_callee_in) != $null) # jedoch auch bei weitergeleiteten Rufen
> 
> 
> do you think that was right? Or have I make a mistake?
> 
> Klaus Peter
> 
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> http://lists.sipwise.com/listinfo/spce-user




More information about the Spce-user mailing list