Page 424 - Asterisk™: The Future of Telephony
P. 424

exten => 123,1,Answer()
                   exten => 123,2,Festival('This is sample speech from Festival',#)


               Flash()                                                      Flashes a Zap trunk
               Flash()

               Sends a flash on a Zap channel. This is only a hack for people who want to perform
               transfers and other actions that require a flash via an AGI script. It is generally quite
               useless otherwise.
               Returns 0 on success, or -1 if this is not a Zap trunk.
                   exten => 123,1,Flash()


               FollowMe()                                           Find me/follow me functionality
               FollowMe(followmeid[,options])

               This application attempts to locate the callee by dialing many different destinations
               either serially or in parallel, as defined in followme.conf.
               The followmeid identifies the section of followme.conf that specifies how this callee
               should be found. The options parameter can be zero or more of the following:
               s
                   Playback the incoming status message prior to starting the follow-me step(s)
               a
                   Record the caller’s name so it can be announced to the callee on each step
               n
                   Playback the unreachable status message if we’ve run out of steps to reach the callee
                   or the callee has elected not to be reachable
                   exten => 123,1,Answer()
                   exten => 123,2,FollowMe(123,san)
                   exten => 123,3,VoiceMail(123,u)

               ForkCDR()                                    Creates an additional CDR from the current call

               ForkCDR([options])
               Creates an additional Call Detail Record for the remainder of the current call.

               This application is often used in calling-card applications to distinguish the inbound
               call (the original CDR) from the billable call time (the second CDR).
               If the v option is specified, all the CDR variables from the current record will be inherited
               by the new CDR record.


               396 | Appendix B: Application Reference
   419   420   421   422   423   424   425   426   427   428   429