Displaying 1 result from an estimated 1 matches for "caller_email".
2007 Apr 03
0
Dial Macros
...middle of a call, before
bridging.
I've seen two choices: M() and G() parameters of the Dial() command.
G() was discarded because I don't know if it is possible to bridge
channels after processing.
With M() I've done something like that:
macro screen ( screen_file, destination, caller_email ) {
Set(screen_file=${ARG1});
Set(destination=${ARG2});
Set(caller_email=${ARG3});
begin:
// compute play prompt for background()
Set(BACKGROUND_PROMPT=voip-call-pending&${screen_file});
Wait(0.5);
Background(${BACKGROUND_PROMPT});...