简体   繁体   中英

Asterisk call file

Good day. The call file details are

Channel: SIP/voipswitch/971556710034
MaxRetries: 6
RetryTime: 20
WaitTime: 30
Context: default
Extension: 971556710034
Priority: 1

with this setting I can connect call on my phone. Once call get received asterisk delete this file and stop calling. But I want to call on my phone after every 30 min and will receive every time.

Can some one please help to do this.

Put this line in /etc/crontab

*/30 * * * * asterisk cp /path/to/call/file /var/spool/asterisk/outgoing

This will copy call file to asterisk outgoing directory every 30 min.

Don't forget to restart crontab service.

service crontab restart

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM