Koozali.org: home of the SME Server

Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: Teviot on September 03, 2010, 02:05:57 AM

Title: Wake Up Call AGI
Post by: Teviot on September 03, 2010, 02:05:57 AM
Hi All

I'm having a little trouble the a wakeup call AGI I found  at http://www.voip-info.org/wiki/view/Asterisk+tips+Wake-Up+Call+Perl (http://www.voip-info.org/wiki/view/Asterisk+tips+Wake-Up+Call+Perl)

I have installed it and it appears to work well except the wakeup call doesn't happen.

It does however create a file in /var/spool/asterisk/wakeups relating to the time of the intended wake up call.

E.G. "1000.temp.1.401.call"
Code: [Select]
channel: Local/401@qrxvtmny
maxretries: 3
retrytime: 60
waittime: 60
callerid: "VU-PBX WakeUp" <650>
application: AGI
data: jwakeup.agi|1000.temp.1.401.call

I can't however workout why the wakeup call never happens.

Can someone assist me with locating what I am missing/not seeing?
Title: Re: Wake Up Call AGI
Post by: Franco on September 04, 2010, 07:04:13 PM
Hi teviot,
I went to try it but I'm missing the sound files: welcome, enter-a-time, to-rqst-wakeup-call, for-a-list-of etc.
How do you get them?
One thing you need to change in the script is the path to touch:
Code: [Select]
# which touch
/bin/touch
Title: Re: Wake Up Call AGI
Post by: Teviot on September 04, 2010, 07:57:44 PM
They were just there. I think they are default but I did install the sounds that Selintra has at http://www.sarkpbx.com/sail

So it maybe a combination of both!!
Title: Re: Wake Up Call AGI
Post by: Franco on September 04, 2010, 08:17:10 PM
OK, so I fixed my sound files and tried it:
"You have a wake up call"

So you should only have to change the variable above.

Best,
Title: Re: Wake Up Call AGI
Post by: Teviot on September 05, 2010, 08:15:20 AM
Thanks Franco

the wake up call script works perfectly now