試一試加入紅色嗰兩句,睇吓得唔得,這兩行我原本放在GV上使用,CallerID 顯示完全正常無誤的,希望在這裡也有用。
include=default
exten=s,1,NoOp(test)
exten=s,2,Set(CALLERID(number)=${CALLERID(name)})
exten=s,3,Set(CALLERID(name)=${CALLERID(number)})
exten=s,n,Answer()
exten=s,n,Dial(SIP/8002,20,t) 電話接入到內線8002
exten=s,n,GotoIf($["${DIALSTATUS}" = "NOANSWER"]? perator:voicemail) 二十秒無人接去下一個內線8001或指定的號碼
exten=s,n(operator), Dial(SIP/8001,20,t) 內線8001接線後二十秒也無人接會接去留言信箱
exten=s,n(voicemail),VoiceMail(8002,u)
exten=s,n,Hangup() |