หน้า 1 จากทั้งหมด 1

Asterisk1.6 no such command originate

โพสต์โพสต์แล้ว: 03 ต.ค. 2011 14:01
โดย kwang
ตอนนี้ใช้ Asrterisk 1.6 ค่ะ

ลองอ่านจากกระทู้ย้อนหลังมาแล้วเค้าแนะนำให้ใช้คำสั่ง originate ในเวอร์ชั่นนี้ค่ะ
แต่ลองใช้ดูแล้วมันขึ้นว่า no such command originate
เลยลองพิมพ์ core show help ดูปรากฎว่า ไม่มีคำสั่ง originate ใน list command
ไม่ทราบว่าต้องไป cofig ค่าที่ไหนหรือเปล่า หรือต้อง cofig ค่าตั้งแต่ตอนลงค่ะ

ขอบคุณคะ ><

Re: Asterisk1.6 no such command originate

โพสต์โพสต์แล้ว: 03 ต.ค. 2011 18:26
โดย nuiz
ก็มีคำสั่ง originate นะครับใน Asterisk 1.6.2.20

demo-1*CLI> originate
There are two ways to use this command. A call can be originated between a
channel and a specific application, or between a channel and an extension in
the dialplan. This is similar to call files or the manager originate action.
Calls originated with this command are given a timeout of 30 seconds.

Usage1: channel originate <tech/data> application <appname> [appdata]
This will originate a call between the specified channel tech/data and the
given application. Arguments to the application are optional. If the given
arguments to the application include spaces, all of the arguments to the
application need to be placed in quotation marks.

Usage2: channel originate <tech/data> extension [exten@][context]
This will originate a call between the specified channel tech/data and the
given extension. If no context is specified, the 'default' context will be
used. If no extension is given, the 's' extension will be used.

Re: Asterisk1.6 no such command originate

โพสต์โพสต์แล้ว: 04 ต.ค. 2011 09:51
โดย kwang
อ้าาาาาาาา
ต้องมี channel ข้างหน้านี้เอง ของคุณมากค่ะ T T