Asterisk 1.4.21.2。 (編輯:另外,我不認爲有可能將Asterisk升級到uClinux上的1.4版本,但如果有人知道某種方式,我很想知道,但我不認爲這個問題是)Asterisk在所有呼叫期間都忽略DTMF - 在ATCOM IP01的uClinux下,不能使用按鍵功能
features.conf
中的功能圖如下所示,但在通話過程中按鍵無效。
[featuremap]
blindxfer => *# ; Blind transfer (default is #)
disconnect => ***0 ; Disconnect (default is *)
;automon => *1 ; One Touch Record a.k.a. Touch Monitor
atxfer => *0 ; Attended transfer
;parkcall => #72 ; Park call (one step parking)
的CLI顯示,所配置的featuremap已生效:
IP0x*CLI> feature show channels
No feature channels in use
IP0x*CLI> feature show
Builtin Feature Default Current
--------------- ------- -------
Pickup *8 *8
Blind Transfer # *#
Attended Transfer *0
One Touch Monitor
Disconnect Call * ***0
Park Call
Dynamic Feature Default Current
--------------- ------- -------
(none)
Call parking
------------
Parking extension : 700
Parking context : parkedcalls
Parked call extensions: 701-750
各種使用不同的電話(潮流BT-200,松下KX-TGP500,X-精簡版4),但總是相同問題。所有電話都配置爲使用rfc2833,這是Asterisk的默認DTMF模式;還嘗試在sip.conf中明確設置dtmfmode = rfc2833。
在通話期間沒有任何按鍵可以從Asterisk獲得任何響應。當不在通話中(在撥號方案中或在語音信箱中)時,Astrisk總能識別出*
和#
密鑰。
如果使用full => verbose,debug,dtmf
或full => verbose,error,warning,dtmf
開啓DTMF日誌記錄,則日誌中不會出現任何DTMF條目,即使在呼叫過程中遇到大量密鑰。
問題是什麼?
編輯:現在的附加信息,顯示Dialplan中使用的撥號命令。
編輯:我發現問題仍然發生,而不使用該鰻魚宏,只需exten=261,1,Dial(SIP/261)
在extensions.conf中。所以我已經從問題中刪除了這個問題來解決它。
我已經嘗試在sip.conf中添加canreinvite = no
和relaxdtmf=yes
,但問題仍然存在。
我現在也發現,DTMF記錄不在ZAP通道在通話過程中發生的(而不是在SIP頻道我嘗試過)。但是DTMF仍然不會觸發這些功能。下面是示例DTMF日誌。
[May 22 08:25:46] DTMF[474]: channel.c:2191 __ast_read: DTMF begin '*' received on SIP/251-01354004
[May 22 08:25:46] DTMF[474]: channel.c:2201 __ast_read: DTMF begin passthrough '*' on SIP/251-01354004
[May 22 08:25:46] DTMF[474]: channel.c:2116 __ast_read: DTMF end '*' received on SIP/251-01354004, duration 180 ms
[May 22 08:25:46] DTMF[474]: channel.c:2163 __ast_read: DTMF end accepted with begin '*' on SIP/251-01354004
[May 22 08:25:46] DTMF[474]: channel.c:2179 __ast_read: DTMF end passthrough '*' on SIP/251-01354004
[May 22 08:25:46] DTMF[474]: channel.c:2191 __ast_read: DTMF begin '*' received on SIP/251-01354004
[May 22 08:25:46] DTMF[474]: channel.c:2201 __ast_read: DTMF begin passthrough '*' on SIP/251-01354004
[May 22 08:25:46] DTMF[474]: channel.c:2116 __ast_read: DTMF end '*' received on SIP/251-01354004, duration 160 ms
[May 22 08:25:46] DTMF[474]: channel.c:2163 __ast_read: DTMF end accepted with begin '*' on SIP/251-01354004
[May 22 08:25:46] DTMF[474]: channel.c:2179 __ast_read: DTMF end passthrough '*' on SIP/251-01354004
[May 22 08:25:46] DTMF[474]: channel.c:2191 __ast_read: DTMF begin '*' received on SIP/251-01354004
[May 22 08:25:46] DTMF[474]: channel.c:2201 __ast_read: DTMF begin passthrough '*' on SIP/251-01354004
[May 22 08:25:47] DTMF[474]: channel.c:2116 __ast_read: DTMF end '*' received on SIP/251-01354004, duration 140 ms
[May 22 08:25:47] DTMF[474]: channel.c:2163 __ast_read: DTMF end accepted with begin '*' on SIP/251-01354004
[May 22 08:25:47] DTMF[474]: channel.c:2179 __ast_read: DTMF end passthrough '*' on SIP/251-01354004
[May 22 08:25:47] DTMF[474]: channel.c:2191 __ast_read: DTMF begin '0' received on SIP/251-01354004
[May 22 08:25:47] DTMF[474]: channel.c:2201 __ast_read: DTMF begin passthrough '0' on SIP/251-01354004
[May 22 08:25:47] DTMF[474]: channel.c:2116 __ast_read: DTMF end '0' received on SIP/251-01354004, duration 280 ms
[May 22 08:25:47] DTMF[474]: channel.c:2163 __ast_read: DTMF end accepted with begin '0' on SIP/251-01354004
[May 22 08:25:47] DTMF[474]: channel.c:2179 __ast_read: DTMF end passthrough '0' on SIP/251-01354004
IP0x*CLI>
你在dialplan中使用的撥號命令是什麼? – moonstruck
我已編輯該問題以包含詳細信息。 –
升級出了問題嗎? 1.4是2012年的EOL,https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions - 沒有大量的1.4安裝來比較。 – dougBTV