B.43. Flash()

Performs a "flash hook" on a Zap channel.
Flash()
Performs a flash on a Zap channel.
Returns 0 upon success, or -1 if the channel is not a Zap-Channel.
exten => 123,1,Flash()
If an outgoing line supports flash-transfer (usually an extra service), you might use it on a Zap channel like so:
[macro-flash-transfer]
exten => s,1,Playback(transfer)
exten => s,n,Flash()
exten => s,n,Wait(1)
exten => s,n,SendDTMF(${ARG1})
exten => s,n,Wait(1)
exten => s,n,Hangup()

[outside-extensions]
; Transfer incoming calls on extension 6001 to the outside number (514)5554138:
exten => 6001,1,Macro(flash-transfer,5145554138)
Sometimes it is necessary to adjust the flash duration; ask your carrier for the specification in your area. This can be done in zapata.conf with a parameter, e.g. flash=200 (the value is in milliseconds).

Note

Internal help for this application in Asterisk 1.4:
  -= Info about application 'Flash' =- 

[Synopsis]
Flashes a Zap Trunk

[Description]
  Flash(): Sends a flash on a zap trunk.  This is only a hack for
people who want to perform transfers and such via AGI and is generally
quite useless oths application will only work on Zap trunks.
diff output to internal help in Asterisk 1.2:
- none -