Displaying 1 result from an estimated 1 matches for "exten_copy".
2009 Jan 29
9
Callback / Camp / Extention Free notify?
...gt; I was sure this was called "camping" - but all the camping stuff I can find,
> > refers to the caller having to hang on the phone and wait. Am I missing
> > something?
> >
> > Anyone have a solution?
> >
>
Quick solution that comes into mind:
Set(exten_copy = ${EXTEN});
Dial(SIP/${EXTEN})
if ("${DIALSTATUS}"="BUSY") {
// prompt for camp
Set(DB(camp/${EXTEN}/call_to)=${CALLERID(num));
}
h => {
Set(call_to=${DB(camp/${exten_copy}/call_to)});
if ("${call_to}"!="") {
Set(DB(camp/${exten_copy}/call_to...