After taking a break for a bit with this project for almost 8 months, I figured it out today. And decided to post this fix that work for me since there is a lack of info about this paid addon on this forum about this issue and since I didn't get a single response from A2billing or this forum.
Lets hope this helps others.
Using A2billing 2.1 with the Voicemail addon & ODBC storage for VoIP DID Inbound calling.
locate the Class.A2Billing.php file and around line 1348 look for and add the " // "
//# Ooh, something actually happend! if ($dialstatus == "BUSY") { $answeredtime = 0; if ($this->agiconfig['busy_timeout'] > 0) //$res_busy = $agi->exec("Busy " . $this->agiconfig['busy_timeout']); $agi->stream_file('prepaid-isbusy', '#'); if (count($listdestination) > $callcount) continue;
This will prevent the call from hanging up before going to voicemail when the ATA adapter/device is in DND or actual BUSY.
And around line 1460 look for and set $vm_parameters = $this->format_parameters($dest_username . '|u');
Instead of using temp message that Voicemail addon suggest.
|