系統文件內容部分,我有一個config
文件,在etc/
稱爲1.conf
閱讀與PHP
這裏是內容..
[2-main]
exten => s,1,Macro(speech,"hi {$VAR1} how is your day going?")
exten => s,4,Macro(dial,2,555555555)
exten => s,2,Macro(speech,"lkqejqe;j")
exten => s,3,Macro(speech,"hi there")
exten => s,5,Macro(speech,"this is a test ")
exten => s,6,Macro(speech,"testing 2")
exten => s,7,Macro(speech,"this is a test")
exten => 7,1,Goto(2-tester2,s,1)
exten => 1,1,Goto(2-aa,s,1)
[2-tester]
[2-aa]
exten => 1,1,Goto(2-main,s,1)
我怎麼能讀在演講之間的內容例如..
exten => s,6,Macro(speech,"testing 2")
剛剛從那得到"testing 2"
。
預先感謝您!
有很多'speech',這'speech'?所有? – codaddict 2010-04-22 07:10:46
Theres是一個獨特的數字,所以你可以選擇一個這樣的方式 – 2010-04-22 07:11:54