savva? Вы хитрый.
Быстро решить проблему? Платный суппорт гостеприимно распахнул двери! http://fonality.com/trixbox/support
Support Credits Price
1 час стоит $100
Быстро, дёшево, качественно - выберите любые два.
[Jun 5 13:08:45] DTMF[24052]: channel.c:3984 __ast_read: DTMF begin '*' received on SIP/6003-0000000b
[Jun 5 13:08:45] DTMF[24052]: channel.c:3994 __ast_read: DTMF begin passthrough '*' on SIP/6003-0000000b
[Jun 5 13:08:45] DTMF[24052]: channel.c:3899 __ast_read: DTMF end '*' received on SIP/6003-0000000b, duration 100 ms
[Jun 5 13:08:45] DTMF[24052]: channel.c:3939 __ast_read: DTMF end accepted with begin '*' on SIP/6003-0000000b
[Jun 5 13:08:45] DTMF[24052]: channel.c:3968 __ast_read: DTMF end passthrough '*' on SIP/6003-0000000b
[Jun 5 13:08:46] DTMF[24052]: channel.c:3984 __ast_read: DTMF begin '2' received on SIP/6003-0000000b
[Jun 5 13:08:46] DTMF[24052]: channel.c:3994 __ast_read: DTMF begin passthrough '2' on SIP/6003-0000000b
[Jun 5 13:08:46] DTMF[24052]: channel.c:3899 __ast_read: DTMF end '2' received on SIP/6003-0000000b, duration 160 ms
[Jun 5 13:08:46] DTMF[24052]: channel.c:3939 __ast_read: DTMF end accepted with begin '2' on SIP/6003-0000000b
[Jun 5 13:08:46] DTMF[24052]: channel.c:3968 __ast_read: DTMF end passthrough '2' on SIP/6003-0000000b
[Jun 5 13:08:52] DTMF[24052]: channel.c:3984 __ast_read: DTMF begin '6' received on SIP/6003-0000000b
[Jun 5 13:08:52] DTMF[24052]: channel.c:3994 __ast_read: DTMF begin passthrough '6' on SIP/6003-0000000b
[Jun 5 13:08:52] DTMF[24052]: channel.c:3899 __ast_read: DTMF end '6' received on SIP/6003-0000000b, duration 80 ms
[Jun 5 13:08:52] DTMF[24052]: channel.c:3939 __ast_read: DTMF end accepted with begin '6' on SIP/6003-0000000b
[Jun 5 13:08:52] DTMF[24052]: channel.c:3954 __ast_read: DTMF end '6' detected to have actual duration 60 on the wire, emulation will be triggered on SIP/6003-0000000b
[Jun 5 13:08:52] DTMF[24052]: channel.c:3961 __ast_read: DTMF end '6' has duration 60 but want minimum 80, emulating on SIP/6003-0000000b
[Jun 5 13:08:52] DTMF[24052]: channel.c:4017 __ast_read: DTMF end emulation of '6' queued on SIP/6003-0000000b
[Jun 5 13:08:53] DTMF[24052]: channel.c:3984 __ast_read: DTMF begin '0' received on SIP/6003-0000000b
[Jun 5 13:08:53] DTMF[24052]: channel.c:3994 __ast_read: DTMF begin passthrough '0' on SIP/6003-0000000b
[Jun 5 13:08:53] DTMF[24052]: channel.c:3899 __ast_read: DTMF end '0' received on SIP/6003-0000000b, duration 100 ms
[Jun 5 13:08:53] DTMF[24052]: channel.c:3939 __ast_read: DTMF end accepted with begin '0' on SIP/6003-0000000b
[Jun 5 13:08:53] DTMF[24052]: channel.c:3954 __ast_read: DTMF end '0' detected to have actual duration 79 on the wire, emulation will be triggered on SIP/6003-0000000b
[Jun 5 13:08:53] DTMF[24052]: channel.c:3961 __ast_read: DTMF end '0' has duration 79 but want minimum 80, emulating on SIP/6003-0000000b
[Jun 5 13:08:53] DTMF[24052]: channel.c:4017 __ast_read: DTMF end emulation of '0' queued on SIP/6003-0000000b
[Jun 5 13:08:54] DTMF[24052]: channel.c:3984 __ast_read: DTMF begin '0' received on SIP/6003-0000000b
[Jun 5 13:08:54] DTMF[24052]: channel.c:3994 __ast_read: DTMF begin passthrough '0' on SIP/6003-0000000b
[Jun 5 13:08:54] DTMF[24052]: channel.c:3899 __ast_read: DTMF end '0' received on SIP/6003-0000000b, duration 160 ms
[Jun 5 13:08:54] DTMF[24052]: channel.c:3939 __ast_read: DTMF end accepted with begin '0' on SIP/6003-0000000b
[Jun 5 13:08:54] DTMF[24052]: channel.c:3968 __ast_read: DTMF end passthrough '0' on SIP/6003-0000000b
[Jun 5 13:08:57] DTMF[24052]: channel.c:3984 __ast_read: DTMF begin '4' received on SIP/6003-0000000b
[Jun 5 13:08:57] DTMF[24052]: channel.c:3994 __ast_read: DTMF begin passthrough '4' on SIP/6003-0000000b
[Jun 5 13:08:57] DTMF[24052]: channel.c:3899 __ast_read: DTMF end '4' received on SIP/6003-0000000b, duration 120 ms
[Jun 5 13:08:57] DTMF[24052]: channel.c:3939 __ast_read: DTMF end accepted with begin '4' on SIP/6003-0000000b
[Jun 5 13:08:57] DTMF[24052]: channel.c:3968 __ast_read: DTMF end passthrough '4' on SIP/6003-0000000b
savva писал(а):В логере поставил dtvf. но в консоле не вижу набираемых кодов.
У Вас на *2 ничего не срабатывает.ded писал(а):2) Научитесь дебажить DTMF
ded писал(а): У Вас на *2 ничего не срабатывает.
CLI> features show
Код: Выделить всё
features show
Builtin Feature Default Current
--------------- ------- -------
Pickup *8 *8
Blind Transfer # #1
Attended Transfer *2
One Touch Monitor
Disconnect Call * *0
Park Call
One Touch MixMonitor
Dynamic Feature Default Current
--------------- ------- -------
(none)
Feature Groups:
---------------
(none)
Call parking (Parking lot: default)
------------
Parking extension : 700
Parking context : parkedcalls
Parked call extensions: 701-720
Parkingtime : 45000
MusicOnHold class : default
Код: Выделить всё
<------------>
<--- SIP read from UDP:192.168.10.175:65230 --->
ACK sip:6003@192.168.10.159:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.10.175:65230;branch=z9hG4bK-d8754z-3600e3fd17a882d9-1---d8754z-;rport
Max-Forwards: 70
Contact: <sip:6001@192.168.10.175:65230>
To: "6003"<sip:6003@192.168.10.159>;tag=as56837bc8
From: "6001"<sip:6001@192.168.10.159>;tag=8a04e5df
Call-ID: NTc5MDRkYWM0ZGEwZmNjZTdlYTE5ZTZhZmNkZGE2YTQ.
CSeq: 2 ACK
User-Agent: X-Lite 4 release 4.1 stamp 63214
Authorization: Digest username="6001",realm="asterisk",nonce="0ddcd39f",uri="sip:6003@192.168.10.159",response="f50e11d334558f14a6f3fae411a1cbd2",algorithm=MD5
Content-Length: 0
<------------->
--- (11 headers 0 lines) ---
[Jun 5 15:15:03] DTMF[26607]: channel.c:3984 __ast_read: DTMF begin '*' received on SIP/6003-00000005
[Jun 5 15:15:03] DTMF[26607]: channel.c:3994 __ast_read: DTMF begin passthrough '*' on SIP/6003-00000005
[Jun 5 15:15:03] DTMF[26607]: channel.c:3899 __ast_read: DTMF end '*' received on SIP/6003-00000005, duration 80 ms
[Jun 5 15:15:03] DTMF[26607]: channel.c:3939 __ast_read: DTMF end accepted with begin '*' on SIP/6003-00000005
[Jun 5 15:15:03] DTMF[26607]: channel.c:3954 __ast_read: DTMF end '*' detected to have actual duration 60 on the wire, emulation will be triggered on SIP/6003-00000005
[Jun 5 15:15:03] DTMF[26607]: channel.c:3961 __ast_read: DTMF end '*' has duration 60 but want minimum 80, emulating on SIP/6003-00000005
[Jun 5 15:15:03] DTMF[26607]: channel.c:4017 __ast_read: DTMF end emulation of '*' queued on SIP/6003-00000005
[Jun 5 15:15:05] DTMF[26607]: channel.c:3984 __ast_read: DTMF begin '2' received on SIP/6003-00000005
[Jun 5 15:15:05] DTMF[26607]: channel.c:3994 __ast_read: DTMF begin passthrough '2' on SIP/6003-00000005
[Jun 5 15:15:05] DTMF[26607]: channel.c:3899 __ast_read: DTMF end '2' received on SIP/6003-00000005, duration 140 ms
[Jun 5 15:15:05] DTMF[26607]: channel.c:3939 __ast_read: DTMF end accepted with begin '2' on SIP/6003-00000005
[Jun 5 15:15:05] DTMF[26607]: channel.c:3968 __ast_read: DTMF end passthrough '2' on SIP/6003-00000005
<--- SIP read from UDP:192.168.10.207:50428 --->
<------------->
Really destroying SIP dialog '6f3fd9e04df4cbc30685ad606777b4f8@192.168.10.159:5060' Method: BYE
Перевёл blindxfer на #, а atxfer на *. Всё заработало.ded писал(а): У Вас на *2 ничего не срабатывает.
CLI> features show
Код: Выделить всё
[Jun 5 16:53:19] DTMF[28234]: channel.c:3984 __ast_read: DTMF begin '*' received on SIP/6003-00000029
[Jun 5 16:53:19] DTMF[28234]: channel.c:3994 __ast_read: DTMF begin passthrough '*' on SIP/6003-00000029
[Jun 5 16:53:19] DTMF[28234]: channel.c:3899 __ast_read: DTMF end '*' received on SIP/6003-00000029, duration 80 ms
[Jun 5 16:53:19] DTMF[28234]: channel.c:3939 __ast_read: DTMF end accepted with begin '*' on SIP/6003-00000029
[Jun 5 16:53:19] DTMF[28234]: channel.c:3954 __ast_read: DTMF end '*' detected to have actual duration 59 on the wire, emulation will be triggered on SIP/6003-00000029
[Jun 5 16:53:19] DTMF[28234]: channel.c:3961 __ast_read: DTMF end '*' has duration 59 but want minimum 80, emulating on SIP/6003-00000029
[Jun 5 16:53:19] DTMF[28234]: channel.c:4017 __ast_read: DTMF end emulation of '*' queued on SIP/6003-00000029
[Jun 5 16:53:23] DTMF[28234]: channel.c:3984 __ast_read: DTMF begin '2' received on SIP/6003-00000029
[Jun 5 16:53:23] DTMF[28234]: channel.c:3994 __ast_read: DTMF begin passthrough '2' on SIP/6003-00000029
[Jun 5 16:53:23] DTMF[28234]: channel.c:3899 __ast_read: DTMF end '2' received on SIP/6003-00000029, duration 100 ms
[Jun 5 16:53:23] DTMF[28234]: channel.c:3939 __ast_read: DTMF end accepted with begin '2' on SIP/6003-00000029
[Jun 5 16:53:23] DTMF[28234]: channel.c:3954 __ast_read: DTMF end '2' detected to have actual duration 65 on the wire, emulation will be triggered on SIP/6003-00000029
[Jun 5 16:53:23] DTMF[28234]: channel.c:3961 __ast_read: DTMF end '2' has duration 65 but want minimum 80, emulating on SIP/6003-00000029
[Jun 5 16:53:23] DTMF[28234]: channel.c:4017 __ast_read: DTMF end emulation of '2' queued on SIP/6003-00000029
Функция перевода не вызывается
У вас пауза между цифрами аж 4 секунды, когда по умолчанию пол секунды даётся на 2-ю цифруJun 5 16:53:19
Jun 5 16:53:23
;featuredigittimeout = 500 ; Max time (ms) between digits for
; feature activation. Default is 500