Thu Apr 28 2011 17:16:23

Asterisk developer's documentation


Followme: An application for simple follow-me calls

Followme.conf

  • See app_followme.c
    ; Find-Me / Follow-Me Configuration File
    [general]
    ;
    featuredigittimeout=>5000
    ; The number of ms to wait for a digit input for the callee on whether to take the call or
    ; not before we consider them "done" entering digits.
    ;
    takecall=>1
    ; The global default keypress for the callee to take taking the current call. This can be
    ; a single digit or multiple digits. Default is "1".
    ;
    declinecall=>2
    ; The global default keypress for the callee to decline taking the current call. This can
    ; be a single digit or multiple digits. Default is "2".
    ;
    call_from_prompt=>followme/call-from
    ; The global default for the 'Incoming call from' message.
    ;
    norecording_prompt=>followme/no-recording
    ; The global default for the 'You have an incoming call' message when the caller elects
    ; not to leave their name or the option isn't set for them to do so.
    ;
    options_prompt=>followme/options
    ; The global default for the 'Press 1 to accept this call or press 2 to decline it' message.
    ;
    pls_hold_prompt=>followme/pls-hold-while-try
    ; The global default for 'Please hold while we try and connect your call' message.
    ;
    status_prompt=>followme/status
    ; The global default for 'The party you're calling isn't at their desk' message.
    ;
    sorry_prompt=>followme/sorry  
    ; The global default for 'I'm sorry, but we were unable to locate your party' message.
    ;
    ;
    [default]
    musicclass=>default
    ; The moh class that should be used for the caller while they are waiting to be connected.
    context=>default
    ; The context to dial the numbers from
    number=>01233456,25
    ; The a follow-me number to call. The format is:
    ; number=> <number to call[&2nd #[&3rd #]]> [, <timeout value in seconds> [, <order in follow-me>] ]
    ; You can specify as many of these numbers as you like. They will be dialed in the 
    ; order that you specify them in the config file OR as specified with the order field
    ; on the number prompt. As you can see from the example, forked dialing of multiple 
    ; numbers in the same step is supported with this application if you'd like to dial
    ; multiple numbers in the same followme step.
    ; It's also important to note that the timeout value is not the same
    ; as the timeout value you would use in app_dial. This timeout value is the amount of
    ; time allowed between the time the dialing step starts and the callee makes a choice
    ; on whether to take the call or not. That being the case, you may want to account for
    ; this time, and make this timeout longer than a timeout you might specify in app_dial.
    takecall=>1
    ; The keypress for the callee to take taking the current call. This can be
    ; a single digit or multiple digits. Default is the global default.
    ;
    declinecall=>2
    ; The keypress for the callee to decline taking the current call. This can
    ; be a single digit or multiple digits. Default is the global default.
    ;
    call_from_prompt=>followme/call-from
    ; The 'Incoming call from' message prompt. Default is the global default.
    ;
    norecording_prompt=>followme/no-recording
    ; The 'You have an incoming call' message prompt when the caller elects
    ; not to leave their name or the option isn't set for them to do so. Default
    ; is the global default.
    ;
    options_prompt=>followme/options
    ; The 'Press 1 to accept this call or press 2 to decline it' message prompt.
    ; Default is the global default.
    ;
    pls_hold_prompt=>followme/pls-hold-while-try
    ; The 'Please hold while we try and connect your call' message prompt.
    ; Default is the global default.
    ;
    status_prompt=>followme/status
    ; The 'The party you're calling isn't at their desk' message prompt.
    ; Default is the global default.
    ;
    sorry_prompt=>followme/sorry  
    ; The 'I'm sorry, but we were unable to locate your party' message prompt. Default
    ; is the global default.