[Kamailio-Users] call forward problem

muhammad akl muhammad.akl at gmail.com
Fri Sep 5 21:33:48 CEST 2008


i'm trying to understand the steps inaki as much as i can here is what i got
:

what i understood to make such blind call forward feature in firstly i
should use the function avp_db_load and load in the string AVP callfwd the
value of the attribute callfwd which matched the requested user (i already
know that $ru mean the sip request uri )

now after loading the value i should push it to the new R-uri which has the
"value field " in the usr_preferences column using
avp_pushto("$ru","$avp(s:callfwd)")

so i want to ask now what is the equivalent pseudo-variable to the new R-uri
? i want to make somthing like that

if(avp_check("$avp(s:callfwd)", "eq/$ru/i"))
avp_delete("$avp(s:callfwd)");

btw i dont know what /i mean in the op_name but i saw some examples put it

i tried with that sytanx but it didn;t work , as what i understood also that
the attribute value is being loaded in ram so what i want to achieve is to
check if the attribute callfwd are found in ram so delete it ,else establish
the call in normal way

i hope my words are clear and Understandable

regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20080905/555a5bd2/attachment.htm 


More information about the Users mailing list