I dont really suggest putting FreePBX and a2billing on the same box. But for the meantime, when it is set up this way, you need to add two destinations for the DID with two priorities. Priority 1 rings the extension and off the top of my head, priority 2 rings to *201@from-internal, assuming that 201 is the extension and * is the "direct to voicemail" feature code assigned in General Settings of FreePBX. You will also need to appropriately define the parameters in the agi-conf so that it only rings for 20-30 seconds. With that being said I suggest you create a separate agi-conf for inbound calls. If you define 20-30 seconds on an agi that shares outbound calling, that means all outbound calls that haven't been answered after about 4 rings will be dropped, and you don't want that.
|