Koozali.org: home of the SME Server

Wake Up Call AGI

Offline Teviot

  • *
  • 610
  • +0/-0
Wake Up Call AGI
« 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

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?
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Re: Wake Up Call AGI
« Reply #1 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

Offline Teviot

  • *
  • 610
  • +0/-0
Re: Wake Up Call AGI
« Reply #2 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!!
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Re: Wake Up Call AGI
« Reply #3 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,

Offline Teviot

  • *
  • 610
  • +0/-0
Re: Wake Up Call AGI
« Reply #4 on: September 05, 2010, 08:15:20 AM »
Thanks Franco

the wake up call script works perfectly now
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.