I am a newbie to using FreePBX and need your help with a small problem regarding integrating my FreePBX setup with the traditional Electronic PABX (6 pots trunks, 16 analog extensions).
My current setup at home/small office involves:
Electronic PABX (6 pots trunks, 16 analog extensions)
FreePBX server running on a spare PC
SPA3102 > connected to one of the EPABX analog extensions (number 29) on the FXO port, and connected via LAN to FreePBX server, where it is defined as a PJSIP trunk.
What I want to achieve is dial a POTS trunk from outside, and be able to transfer the call to one of the ANALOG extensions of my electronic PABX (This feature is not supported by my PABX at present, and is very costly to implement)
What I have achieved is the following:
I call one of the POTS trunks from outside
Electronic PABX rings that trunk on extension 29 (connected to SPA3000 FXO)
SPA3000 rings through to FreePBX
FreePBX auto-answers and responds with IVR
I am able to then dial whichever FREEPBX extension I want (not what I wanted to achieve).
Suppose I am on extension 21. To transfer an inbound call on my electronic PABX to another analog extension, I press Flash+extn no (Eg Flash+23). This will put inbound POTS trunk on hold, ring extension 23, and when I hang up extension 21, connect inbound POTS trunk to extn 23.
What I want is that after FreePBX answers and starts IVR, I dial the required EPABX extension, and then FreePBX does the following:
Dial Flash ON THE SAME INBOUND TRUNK FROM WHICH I AM CALLING
Dial the EPABX extension number I want
Hang up, so that my call gets transferred to the required analog extension (switching done by EPABX). At this point, FreePBX is completely out of the loop again.
I hope I have been able to explain my problem properly.
why are you making your life so tough. just connect the phones directly to freepbx using an ata (audiocodes is an example) and then handle everything in freepbx?
Thank you for your reply.
I am more interested in a zero investment solution at the present, using only the setup that I already have in place.
Is it possible to do what I want to do using that?
A more basic question in this regard could be that can I call FreePBX using a trunk, and then get FreePBX to send a DTMF down the SAME trunk (Flash+2digit extension code)?
you cannot do exactly what you want. FreePBX (Asterisk) will remain in the loop. Asterisk “connects” a call as two legs, one from Asterisk to the caller and one from Asterisk to the Callee. it has no provision (to my knowledge) to transfer and clear a call (get out of the call path). this means that the inbound call flow would be caller->ITSP->EPBAX->FreePBX/Asterisk->EPABX->extension. in other words quite an extended call path.
Just to drag the discussion out a bit further, and for my learning, I want to know this: is it possible to make Asterix/FreePBX send a DTMF to ME, after I call it? (Maybe after I select an option in IVR, or something like this) That is:
I call FreePBX on trunk 500 (via EPABX, as you diagrammed above)
FreePBX Responds automatically with IVR (or any other implementation if that is what it takes)
I do something (don’t know what, maybe I select an IVR option)
FreePBX sends a DTMF TO ME (Effectively to EPABX) —> this will achieve what I want.
Optionally, FreePBX will hang up after sending the above-mentioned DTMF (This may be achieved via a timeout or something)…
yes you can do it as long as you write some code to send the specific dtmf code you think you need. why don’t you connect your trunk directly to the freepbx system and if you don’t want to move the phones to the freepbx system, then have freepbx route the call to your epabx via an aix or pri trunk. that way you can do all your programming in freepbx and simply use the epabx as a fancy ATA.
you cant flash a sip channel, perhaps add a dahdi card ?, you eliminate the SPA, and then can so flash. otherwise you will have to figure out what you need to send sip wise to the ATA to make it flash.