[asterisk-users] Type of wake-up Call

Pierre du Plessis nospam at comproware.com
Thu Feb 8 04:54:59 MST 2007


Many thanks Stefan!

It works like a charm...

Kind regards,
Pierre

===========================================
Write a cronjob which creates a call file. Shouldn't be a big thing.

In case you are not familiar with call files: Create a file dummy.call 
with the following content.
---cut---
Channel: SIP/2000
MaxRetries: 2
RetryTime: 60
WaitTime: 30
Context: call-file-test
Extension: 10
---cut----

SIP/2000 being the phone on your desk.

And add the following context to your dialplan:
---cut---
[call-file-test]
exten => 10,1,Answer()
exten => 10,n,Wait(1)
exten => 10,n,Playback(hello-world)
exten => 10,n,Wait(1)
exten => 10,n,Hangup()
---cut---

Move the dummy.call file to /var/spool/asterisk/outgoing/ and wait.

PS. You can touch a call file to be executed in the future. But I'd 
prefer the cronjob.

  Stefan
=============================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070208/d8ecdeeb/attachment.htm


More information about the asterisk-users mailing list