karhu wrote:
note that this
function works only for established dialogs -- so you
have to track the call with dialog module.
Hi, I've been trying to track established call to use dlg_bye("callee")
function. It works but i had to track it with : if (dlg_get("callID",
"from_tag", "to_tag") and has you know call ID f_tag and t_tag are
changing
every time a call is established.So i would like to know how can i track a
call dynamically ?
I've been trying to play with set_dlg_profile("caller", "$fu")
but i don't
get the point of this function..
You need to pick some constant that doesn't change, or changes in ways
that are appropriate to the sort of matching you would like to do. $fu
(the From URI) is just an example. It is likely you have no use for the
From URI whatsoever in your tracking, so pick something else.
--
Alex Balashov
Evariste Systems
Web :
http://www.evaristesys.com/
Tel : (+1) (678) 954-0670
Direct : (+1) (678) 954-0671