derp derp
public text v1 · immutable 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();
}