All pastes #422906 Raw Edit

derp derp

public text v1 · immutable
·published 2007-04-03 19:59 UTC
rendered paste body
        8500 => {
                Set(TIMEOUT(absolute)=600);
                if ( "${CALLERID(num)}" != "" )
                {
                        goto havebox;
                }
                else
                {
                        VoicemailMain(@HQ);             // prompts for mailbox
                        Hangup();
                }
        havebox:
                Wait(1);
                VoicemailMain(${CALLERID(num)}@HQ);     // got mailbox from CID
                Hangup();
        }

        8501 => {
                VoicemailMain(@HQ);                     // prompts for mailbox
                Hangup();
        }