PDA

View Full Version : How to use PIKAFlash( ) to generate a hookflash on the Warp



epretlac
06-02-09, 09:27 AM
There are 2 ways to generate hookflash on the Warp:

1. You can generate a hookflash via the dialplan, something like this:

exten=> s,1,PIKAFlash()
exten=> s,n,Dial(...)

In this scenario, you might have an Asterisk IVR (performing auto attendant) connected to a legacy PBX. Outside callers reach the Asterisk IVR and then can be transfered to internal extensions on the legacy PBX using a hookflash.

2. The user can generate a hookflash. In the pika.conf, for example, there are the settings:

hookflashco=yes
flashstring=##

Then when the end user dials "##", a hookflash is generated at the PSTN side of the call.

Eric Pretlac
Technical Support Specialist
PIKA Technologies, Inc.

joffreyb
03-31-10, 01:32 PM
Would you have a sample of how to program this into a Warp device with FreePBX ? :confused:
AND!! How can this be activated or used via Asterisk API ?

mrecoskie
05-05-10, 10:47 AM
Unfortunately this functionality is not directly available in FreePBX. If attempting to use the first described scenario, it has to be manually added to the dialplan. (An example would be adding a hookflash when extension X was dialed through a main IVR. In this case, in the '/etc/asterisk/extensions_additional.conf' file you would locate the IVR context and upon receiving X add the 'exten=> ..., PikaFlash()' rule in the dialplan to generate a hookflash.)

As for the second described scenario, if setup correctly in pika.conf anytime an extension dials '##' it will perform a hookflash to the PSTN.