[Serusers] call forwarding issue - attr_destination() error: Feb 12 14:37:53 rd ser[3979]: parse_nameaddr(): No < found - ottendorf

tzieleniewski tzieleniewski at o2.pl
Mon Feb 12 14:32:11 CET 2007


Hi again 
I found out that there appears the following error in the log:
Feb 12 14:37:53 rd ser[3979]: parse_nameaddr(): No < found

Please give me a hand with this issue:)

Thanks in advance
-tomasz 

> Hi!!
> 
> I am trying to set up the blind call forwarding with the usage of attr_destination()
> function.
> I do the following I load the user attributes from user_attrs and uri_attrs table and then according to the loaded parameters I do:
>    
>    if ($tu.call_forward == "blind" && $tr.forward_blind)
>    {
>       xlog("L_INFO", " route[CALL_FORWARD]: fwd \n");
>       attr_destination("$tr.forward_blind");
>       xlog("L_INFO", " route[CALL_FORWARD]: route(FORWARD) \n");
>       route(FORWARD);
>       xlog("L_INFO", " route[CALL_FORWARD]: drop \n");
>       drop;
>    }
> 
> after the ser.cfg logic goes through this part I don't see any change in the request uri?? Please point me what do I miss?
> 
> here is my database contents:
> mysql> select * from user_attrs where uid like 'hellboy%' and name like 'call_%';
> +----------------------+--------------+-------+------+-------+
> | uid                  | name         | value | type | flags |
> +----------------------+--------------+-------+------+-------+
> | hellboy at voip.touk.pl | call_forward | blind |    2 |     1 |
> +----------------------+--------------+-------+------+-------+
> 1 row in set (0.00 sec)
> 
> mysql> select * from uri_attrs where username like 'hellboy%';
> +----------+--------------+---------------+----------------------+------+-------+--------+
> | username | did          | name          | value                | type | flags | scheme |
> +----------+--------------+---------------+----------------------+------+-------+--------+
> | hellboy  | voip.touk.pl | forward_blind | sip:tzl at voip.touk.pl |    2 |     1 | sip    |
> +----------+--------------+---------------+----------------------+------+-------+--------+
> 1 row in set (0.00 sec)
> 
> Cheers
> -tomasz
> 
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list