Hi there,
Hope you can help. I need to find out how to do wake-up calls. I have found a :script: called wakeup.1.31
Here is the instructions:
2008/02/21 - Version 1.31
This code was tested with ASTERISK Rel 1.4.11
1 - Copy the run_wakeups and the wakeup.php files into
the /var/lib/asterisk/agi-bin
make sure the PHP file is executable
2 - Next update your extensions file to include an extension to call
to schedule your wakeup calls.
exten => 77,1,agi,wakeup.php
exten => 77,n,Hangup
3 - Reload your extensions table in asterisk with "dialplan reload" or stop and
start asterisk.
When you call into Extension 77 you should be prompted for all your
wakeup call time. This program uses the standard and additional sound
files. So nothing else should be needed.
This is how I modified (mangled) the extensions.conf file
[extensions]
include => internal-presets
include => parkedcalls
exten => *77,1,agi,wakeup.php
exten => *77,n,Hangup
exten => 101,1,ParkedCall(101)
exten => 101,hint,park:101@parkedcalls
When I did it like the instruction said it didn't work, so I tried with *77, but didn't work either.
This is what I'm getting from a Putty session:
-- Executing [*77*@internal:1] BackGround("SIP/5002-085d6b08", "silence/1") in new stack
-- <SIP/5002-085d6b08> Playing 'silence/1' (language 'en')
-- Executing [*77*@internal:2] AGI("SIP/5002-085d6b08", "selintra|*77*") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/selintra
-- AGI Script selintra completed, returning 0
== Auto fallthrough, channel 'SIP/5002-085d6b08' status is 'UNKNOWN'
-- Executing [h@internal:1] Hangup("SIP/5002-085d6b08", "") in new stack
== Spawn extension (internal, h, 1) exited non-zero on 'SIP/5002-085d6b08'
I hope that you can help.