Displaying 1 result from an estimated 1 matches for "background_prompt".
2007 Apr 03
0
Dial Macros
...s 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});
catch 2 {
Noop(GOTCHA!!!!!!!!!!);
};
catch t {
goto s|begin;
};
};
The dial command looks like this:
Dial(IAX2/shortcut1:sh...