如果没有sip或者iax客户端的话,只是写简单的程序来实现呼出,就没有固定的dialplan了。。。方法有如下几种:
Automated dial out
The Asterisk dial plan extensions.conf responds to someone calling an extension on a channel. If you want to initiate a call from an external application, there are several ways to do this.
There are basically four ways to initiate outgoing calls in Asterisk
- Use .call files. A call file is a text file that when placed in the correct directory makes Asterisk make an outgoing call.
- Use the manager API to activate a call. See Asterisk manager dialout
- Use the Asterisk CLI originate command
- FollowMe command of Asterisk 1.4: Since this has the abitility to fork (create multiple calls) it could be ‘misused’ to initiate outgoing calls.
See also additional Digium documents.
Leave a Reply