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(a)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@voip.touk.pl | 2 | 1 | sip
|
+----------+--------------+---------------+----------------------+------+-------+--------+
1 row in set (0.00 sec)
Cheers
-tomasz
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers