Asterisk config followme.conf

FollowMe configuration

Description

The same priority can only be used once, i.e. for one line and NOT for different lines (of the same user). Subsequent lines that are marked with the same priority are ignored!
Therefore forking (parallel) calls can only be configured using the '&' operator to concatenate two or more numbers.

Examples

[JaneDoe_simple]
context=from-inside
number => 0905123456,35
number => 1234,20
number => 08007890,50

First try 0905123456 for 35 seconds, then 1234 for 20 seconds, and after that 08007890 for 50 seconds.

[JaneDoe_sorted]
context=from-inside
number => 0905123456,35,2
number => 1234,20,1
number => 08007890,50,3

First try 1234, after that 0905123456, and after that 08007890.

[JaneDoe_parallel]
context=full_outbound_access
number => 1234&0905123456,35,1
number => 08007890,50,2
number => 08007891,50,2 ; BAD: This line will be ignored - the same priority has already been used above!

First try 1234 and 0905123456 simultaneously, and after that 08007890.

Sample 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
pls-hold-prompt=>silence/1
; 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]
music>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 dialled 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 dialling 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 dialling 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.
;
followme-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.
;
followme-options-prompt=>followme/options
; The 'Press 1 to accept this call or press 2 to decline it' message prompt.
; Default is the global default.
;
followme-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.
;
followme-status-prompt=>followme/status
; The 'The party you're calling isn't at their desk' message prompt.
; Default is the global default.
;
followme-sorry-prompt=>followme/sorry
; The 'I'm sorry, but we were unable to locate your party' message prompt. Default
; is the global default.

See also


FollowMe configuration

Description

The same priority can only be used once, i.e. for one line and NOT for different lines (of the same user). Subsequent lines that are marked with the same priority are ignored!
Therefore forking (parallel) calls can only be configured using the '&' operator to concatenate two or more numbers.

Examples

[JaneDoe_simple]
context=from-inside
number => 0905123456,35
number => 1234,20
number => 08007890,50

First try 0905123456 for 35 seconds, then 1234 for 20 seconds, and after that 08007890 for 50 seconds.

[JaneDoe_sorted]
context=from-inside
number => 0905123456,35,2
number => 1234,20,1
number => 08007890,50,3

First try 1234, after that 0905123456, and after that 08007890.

[JaneDoe_parallel]
context=full_outbound_access
number => 1234&0905123456,35,1
number => 08007890,50,2
number => 08007891,50,2 ; BAD: This line will be ignored - the same priority has already been used above!

First try 1234 and 0905123456 simultaneously, and after that 08007890.

Sample 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
pls-hold-prompt=>silence/1
; 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]
music>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 dialled 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 dialling 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 dialling 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.
;
followme-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.
;
followme-options-prompt=>followme/options
; The 'Press 1 to accept this call or press 2 to decline it' message prompt.
; Default is the global default.
;
followme-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.
;
followme-status-prompt=>followme/status
; The 'The party you're calling isn't at their desk' message prompt.
; Default is the global default.
;
followme-sorry-prompt=>followme/sorry
; The 'I'm sorry, but we were unable to locate your party' message prompt. Default
; is the global default.

See also


Created by: millsu2, Last modification: Thu 20 of Jan, 2011 (09:58 UTC) by RussP
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+