-------------------------------------------------------
#define
FL_USE_MEDIA_PROXY (1<<30)
...
# dialog
callback
__dialog_created
(...) {
....
if ((request->msg_flags &
FL_USE_MEDIA_PROXY) == 0)
return;
....
use_media_proxy (...);
}
-------------------------------------------------------
I also
found this in call_control.c
-------------------------------------------------------
#define
FL_USE_CALL_CONTROL (1<<30)
# Public
API
CallControl
(...) {
...
msg->msg_flags |= FL_USE_CALL_CONTROL;
...
}
-------------------------------------------------------
So I
suspect that since the call_control module uses the same
flag as the mediaproxy module, call_control function is
used, flag 30 is set, and the following condition in the
__dialog_created callback function above is never met
(request->msg_flags & FL_USE_MEDIA_PROXY) ==
0
so
the callback function continues until executing its last
line : use_media_proxy (...)
which
is called on every call to call_control ( ) function..
On Mon, Feb 27, 2012 at 18:39, Reda
Aouad
<reda.aouad@gmail.com>
wrote:
Ok thanks Daniel.
I'll do what you suggested and we'll see how to
proceed.
Thanks again
Reda