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

Klaus Peter v. Friedeburg friedeburg at aco.de
Fri Oct 26 04:53:37 EDT 2012


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



More information about the Spce-user mailing list