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
=============================================
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to