Hi Oleg,

On 04/10/2012 07:17 AM, Oleg Zhurakivskyy wrote:
> ---
>  src/call-forwarding.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/src/call-forwarding.c b/src/call-forwarding.c
> index 204ecc7..a22fb1f 100644
> --- a/src/call-forwarding.c
> +++ b/src/call-forwarding.c
> @@ -1184,6 +1184,7 @@ static gboolean cf_ss_control(int type, const char *sc,
>  
>       switch (cf->ss_req->cf_type) {
>       case CALL_FORWARDING_TYPE_ALL:
> +             cf->flags |= CALL_FORWARDING_FLAG_CACHED;
>               cf->query_next = CALL_FORWARDING_TYPE_UNCONDITIONAL;
>               cf->query_end = CALL_FORWARDING_TYPE_NOT_REACHABLE;
>               break;

I don't believe this would work for non-queries.  For example, lets say
the user runs a registration operation on CALL_FORWARDING_TYPE_ALL and
that fails for whatever reason.  Now the cached flag is set (perhaps
erroneously)

Regards,
-Denis
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to