In AU we have a number of different dialtones defined for various
purposes.
>From indications.conf:
au <ringcadance> 400,200,400,2000
au dial 413+438
au busy 425/375,0/375
au ring 413+438/400,0/200,413+438/400,0/2000
au congestion 425/375,0/375,420/375,0/375
au callwaiting 425/200,0/200,425/200,0/4400
au dialrecall 413+438
au record !425/1000,!0/15000,425/360,0/15000
au info 425/2500,0/500
au std
!525/100,!0/100,!525/100,!0/100,!525/100,!0/100,!525/100,!0/100,!525/100
au facility 425
au stutter 413+438/100,0/40
au ringmobile 400+450/400,0/200,400+450/400,0/2000
With analogue handsets connected to a zapata interface the standard
dialtone in the off-hook condition is "dial", but if there is a
message
waiting then the "stutter" dialtone is sent out when the handset goes
off hook. These emulate behavour that occurs on the PSTN system.
With the PSTN service the "facility" dialtone is output if the user
has
a facility set, such as call forward immediate.
I have a routine in my dialplan which allows the user to set up CFIM,
but what I want it for * to output the "facility" dialtone when the
use
user picks up the handset for which a CFIM number is set.
Identifying that a CFIM number is set is not a problem in the dialplan,
but when I run * in verbose mode all I am seeing, when the handset is
lifted, is:
-- Starting simple switch on 'Zap/2-1'
Does this mean that the context for that extension has started and that
if I put a Playtones command in as the first command in the context,
then I will get what I want to achieve, or do I need to tackle it from
some other direction?
--
Howard.
LANNet Computing Associates;
Your Linux people <http://www.lannetlinux.com>
------------------------------------------
"When you just want a system that works, you choose Linux;
when you want a system that just works, you choose Microsoft."
------------------------------------------
"Flatter government, not fatter government;
Get rid of the Australian states."