[asterisk-users] Camp / Callback feature in 1.4

Sherwood McGowan sherwood.mcgowan at gmail.com
Tue Jun 10 11:26:23 CDT 2008


<snip>
> 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)=);
>     System(call_to ${exten_copy} ${call_to});
>   }
> }
>
>
>   
Ah I love to see AEL in a suggestion post :)

-- 
Sherwood McGowan
VoIP / Telecom Solutions
sherwood.mcgowan at gmail.com




More information about the asterisk-users mailing list