I am (roughly) following the instructions here:
http://www.allvoipsolutions.org/mydrupal/node/211and am stymied.
Step 1) seemed to work, more or less.
I have no idea what step 2) means, or which file I'm supposed to put this "voicemail => mysql,mya2billing,voicemail_users" line. I cannot locate an existing file "extconfig.conf".
Step 3) seems straightforward-ish, but I replaced the contents of "[a2billing-outbound]" in the file "extensions_a2billing.conf". To kinda match the local Bell equivalent, I switched "9000" for "*98" and am crossing my fingers that THAT much will work.
For Step 4) I am gnashing my teeth. I found similar-looking code in the file "Class.A2Billing.php". I found a spot where it said "//# Ooh, something actually happend!" (at approximately line 1543) and inserted this directly afterward:
// start of voicemail
if (($dialstatus =="CHANUNAVAIL") || ($dialstatus == "CONGESTION") ||($dialstatus == "NOANSWER") ) {
$answeredtime = 0;
// The following section will send the caller to VoiceMail with the unavailable priority.
$did_number = "u".$this->destination;
$this -> write_log("[STATUS] CHANNEL UNAVAILABLE - DIVERT TO VOICEMAIL ($did_number)");
$agi-> exec(VoiceMail,$did_number);
}
if (($dialstatus =="BUSY") )
{
// The following section will send the caller to VoiceMail with the busy priority.
$did_number = "b".$this->destination;
$this -> write_log("[STATUS] CHANNEL UNAVAILABLE - DIVERT TO VOICEMAIL ($did_number)");
$agi-> exec(VoiceMail,$did_number);
}
// end of voicemail
after which it continues through to the rest of the non-voicemail DID code.
Is this even approximately the right direction? And what am I to do for step 2)?