Страница 1 из 4
астериск не реагирует на дтмф
Добавлено: 25 ноя 2013, 19:42
DPurple
доброго дня, уважаемые.
поставил астер с 0.
для настройки использую в основном вебморду, наступаю на грабли- учусь.
проблема появилась с подключением к сипу аналоговых телефонов. астер никак не реагирует
на нажатия кнопок. при этом, пока разговорныф тракт не проключен все работает. *8 - пикап колл ловит,
в дебаге дтмф коды показывает,
в диал во все и в глобал Тт добавлено, фьючерс конф заведен, подскажите, куда копать?
собственно, перевод звонка и другие фьючерс хочется а он ни как:)
Re: астериск не реагирует на дтмф
Добавлено: 25 ноя 2013, 20:25
ded
Покажите дебаг DTMF при разговоре: чтобы было видно в CLI.
Перед этим
core set verbose 10
core set debug 10
Re: астериск не реагирует на дтмф
Добавлено: 25 ноя 2013, 20:50
virus_net
2virus_net Re: астериск не реагирует на дтмф
Добавлено: 25 ноя 2013, 21:23
DPurple
Спасибо!
прочитал!
немного не мой случай
у меня снаружи все ок ловит и отрабатывает.
а вот когда канал проключен - например, при звонке с внутреннего на внутренний....
Re: астериск не реагирует на дтмф
Добавлено: 25 ноя 2013, 21:33
DPurple
ded писал(а):Покажите дебаг DTMF при разговоре: чтобы было видно в CLI.
Перед этим
core set verbose 10
core set debug 10
Звоню с города, слушаю меню, донабираю внутренний 201, и потом
Код: Выделить всё
== Using SIP RTP CoS mark 5
-- Executing [*******9504@DID_trunk_2:1] Goto("SIP/trunk_2-000002dc", "voicemenu-custom-1,s,1") in new stack
-- Goto (voicemenu-custom-1,s,1)
-- Executing [s@voicemenu-custom-1:1] NoOp("SIP/trunk_2-000002dc", "incoming1") in new stack
-- Executing [s@voicemenu-custom-1:2] Answer("SIP/trunk_2-000002dc", "") in new stack
> 0x7fa840199940 -- Probation passed - setting RTP source address to ***.***.***.6:54060
-- Executing [s@voicemenu-custom-1:3] Wait("SIP/trunk_2-000002dc", "0.5") in new stack
-- Executing [s@voicemenu-custom-1:4] BackGround("SIP/trunk_2-000002dc", "7") in new stack
-- <SIP/trunk_2-000002dc> Playing '7.slin' (language 'ru')
[Nov 25 21:23:02] DTMF[304][C-00000143]: channel.c:4170 __ast_read: DTMF begin '2' received on SIP/trunk_2-000002dc
[Nov 25 21:23:02] DTMF[304][C-00000143]: channel.c:4174 __ast_read: DTMF begin ignored '2' on SIP/trunk_2-000002dc
[Nov 25 21:23:02] DTMF[304][C-00000143]: channel.c:4084 __ast_read: DTMF end '2' received on SIP/trunk_2-000002dc, duration 100 ms
[Nov 25 21:23:02] DTMF[304][C-00000143]: channel.c:4154 __ast_read: DTMF end passthrough '2' on SIP/trunk_2-000002dc
[Nov 25 21:23:02] DTMF[304][C-00000143]: channel.c:4170 __ast_read: DTMF begin '0' received on SIP/trunk_2-000002dc
[Nov 25 21:23:02] DTMF[304][C-00000143]: channel.c:4174 __ast_read: DTMF begin ignored '0' on SIP/trunk_2-000002dc
[Nov 25 21:23:02] DTMF[304][C-00000143]: channel.c:4084 __ast_read: DTMF end '0' received on SIP/trunk_2-000002dc, duration 100 ms
[Nov 25 21:23:02] DTMF[304][C-00000143]: channel.c:4154 __ast_read: DTMF end passthrough '0' on SIP/trunk_2-000002dc
[Nov 25 21:23:03] DTMF[304][C-00000143]: channel.c:4170 __ast_read: DTMF begin '1' received on SIP/trunk_2-000002dc
[Nov 25 21:23:03] DTMF[304][C-00000143]: channel.c:4174 __ast_read: DTMF begin ignored '1' on SIP/trunk_2-000002dc
[Nov 25 21:23:03] DTMF[304][C-00000143]: channel.c:4084 __ast_read: DTMF end '1' received on SIP/trunk_2-000002dc, duration 160 ms
[Nov 25 21:23:03] DTMF[304][C-00000143]: channel.c:4154 __ast_read: DTMF end passthrough '1' on SIP/trunk_2-000002dc
== CDR updated on SIP/trunk_2-000002dc
-- Executing [201@voicemenu-custom-1:1] Dial("SIP/trunk_2-000002dc", "SIP/201") in new stack
== Using SIP RTP CoS mark 5
-- Called SIP/201
-- SIP/201-000002dd is ringing
-- SIP/201-000002dd is ringing
-- SIP/201-000002dd answered SIP/trunk_2-000002dc
-- Locally bridging SIP/trunk_2-000002dc and SIP/201-000002dd
> 0x7fa85801d3a0 -- Probation passed - setting RTP source address to 10.***.***.4:42586
[Nov 25 21:23:14] DTMF[304][C-00000143]: channel.c:4170 __ast_read: DTMF begin '*' received on SIP/201-000002dd
[Nov 25 21:23:14] DTMF[304][C-00000143]: channel.c:4181 __ast_read: DTMF begin passthrough '*' on SIP/201-000002dd
[Nov 25 21:23:15] DTMF[304][C-00000143]: channel.c:4084 __ast_read: DTMF end '*' received on SIP/201-000002dd, duration 160 ms
[Nov 25 21:23:15] DTMF[304][C-00000143]: channel.c:4125 __ast_read: DTMF end accepted with begin '*' on SIP/201-000002dd
[Nov 25 21:23:15] DTMF[304][C-00000143]: channel.c:4154 __ast_read: DTMF end passthrough '*' on SIP/201-000002dd
[Nov 25 21:23:20] DTMF[304][C-00000143]: channel.c:4170 __ast_read: DTMF begin '#' received on SIP/201-000002dd
[Nov 25 21:23:20] DTMF[304][C-00000143]: channel.c:4181 __ast_read: DTMF begin passthrough '#' on SIP/201-000002dd
[Nov 25 21:23:20] DTMF[304][C-00000143]: channel.c:4084 __ast_read: DTMF end '#' received on SIP/201-000002dd, duration 220 ms
[Nov 25 21:23:20] DTMF[304][C-00000143]: channel.c:4125 __ast_read: DTMF end accepted with begin '#' on SIP/201-000002dd
[Nov 25 21:23:20] DTMF[304][C-00000143]: channel.c:4154 __ast_read: DTMF end passthrough '#' on SIP/201-000002dd
[Nov 25 21:23:22] DTMF[304][C-00000143]: channel.c:4170 __ast_read: DTMF begin '1' received on SIP/201-000002dd
[Nov 25 21:23:22] DTMF[304][C-00000143]: channel.c:4181 __ast_read: DTMF begin passthrough '1' on SIP/201-000002dd
[Nov 25 21:23:22] DTMF[304][C-00000143]: channel.c:4084 __ast_read: DTMF end '1' received on SIP/201-000002dd, duration 120 ms
[Nov 25 21:23:22] DTMF[304][C-00000143]: channel.c:4125 __ast_read: DTMF end accepted with begin '1' on SIP/201-000002dd
[Nov 25 21:23:22] DTMF[304][C-00000143]: channel.c:4154 __ast_read: DTMF end passthrough '1' on SIP/201-000002dd
[Nov 25 21:23:24] DTMF[304][C-00000143]: channel.c:4170 __ast_read: DTMF begin '#' received on SIP/201-000002dd
[Nov 25 21:23:24] DTMF[304][C-00000143]: channel.c:4181 __ast_read: DTMF begin passthrough '#' on SIP/201-000002dd
[Nov 25 21:23:24] DTMF[304][C-00000143]: channel.c:4084 __ast_read: DTMF end '#' received on SIP/201-000002dd, duration 200 ms
[Nov 25 21:23:24] DTMF[304][C-00000143]: channel.c:4125 __ast_read: DTMF end accepted with begin '#' on SIP/201-000002dd
[Nov 25 21:23:24] DTMF[304][C-00000143]: channel.c:4154 __ast_read: DTMF end passthrough '#' on SIP/201-000002dd
[Nov 25 21:23:24] DTMF[304][C-00000143]: channel.c:4170 __ast_read: DTMF begin '#' received on SIP/201-000002dd
[Nov 25 21:23:24] DTMF[304][C-00000143]: channel.c:4181 __ast_read: DTMF begin passthrough '#' on SIP/201-000002dd
[Nov 25 21:23:24] DTMF[304][C-00000143]: channel.c:4084 __ast_read: DTMF end '#' received on SIP/201-000002dd, duration 220 ms
[Nov 25 21:23:24] DTMF[304][C-00000143]: channel.c:4125 __ast_read: DTMF end accepted with begin '#' on SIP/201-000002dd
[Nov 25 21:23:24] DTMF[304][C-00000143]: channel.c:4154 __ast_read: DTMF end passthrough '#' on SIP/201-000002dd
[Nov 25 21:23:27] DTMF[304][C-00000143]: channel.c:4170 __ast_read: DTMF begin '#' received on SIP/201-000002dd
[Nov 25 21:23:27] DTMF[304][C-00000143]: channel.c:4181 __ast_read: DTMF begin passthrough '#' on SIP/201-000002dd
[Nov 25 21:23:28] DTMF[304][C-00000143]: channel.c:4084 __ast_read: DTMF end '#' received on SIP/201-000002dd, duration 540 ms
[Nov 25 21:23:28] DTMF[304][C-00000143]: channel.c:4125 __ast_read: DTMF end accepted with begin '#' on SIP/201-000002dd
[Nov 25 21:23:28] DTMF[304][C-00000143]: channel.c:4154 __ast_read: DTMF end passthrough '#' on SIP/201-000002dd
[Nov 25 21:23:29] DTMF[304][C-00000143]: channel.c:4170 __ast_read: DTMF begin '#' received on SIP/201-000002dd
[Nov 25 21:23:29] DTMF[304][C-00000143]: channel.c:4181 __ast_read: DTMF begin passthrough '#' on SIP/201-000002dd
[Nov 25 21:23:30] DTMF[304][C-00000143]: channel.c:4084 __ast_read: DTMF end '#' received on SIP/201-000002dd, duration 1500 ms
[Nov 25 21:23:30] DTMF[304][C-00000143]: channel.c:4125 __ast_read: DTMF end accepted with begin '#' on SIP/201-000002dd
[Nov 25 21:23:30] DTMF[304][C-00000143]: channel.c:4154 __ast_read: DTMF end passthrough '#' on SIP/201-000002dd
[Nov 25 21:23:33] DTMF[304][C-00000143]: channel.c:4170 __ast_read: DTMF begin '#' received on SIP/201-000002dd
[Nov 25 21:23:33] DTMF[304][C-00000143]: channel.c:4181 __ast_read: DTMF begin passthrough '#' on SIP/201-000002dd
[Nov 25 21:23:33] DTMF[304][C-00000143]: channel.c:4084 __ast_read: DTMF end '#' received on SIP/201-000002dd, duration 200 ms
[Nov 25 21:23:33] DTMF[304][C-00000143]: channel.c:4125 __ast_read: DTMF end accepted with begin '#' on SIP/201-000002dd
[Nov 25 21:23:33] DTMF[304][C-00000143]: channel.c:4154 __ast_read: DTMF end passthrough '#' on SIP/201-000002dd
[Nov 25 21:23:33] DTMF[304][C-00000143]: channel.c:4170 __ast_read: DTMF begin '#' received on SIP/201-000002dd
[Nov 25 21:23:33] DTMF[304][C-00000143]: channel.c:4181 __ast_read: DTMF begin passthrough '#' on SIP/201-000002dd
[Nov 25 21:23:33] DTMF[304][C-00000143]: channel.c:4084 __ast_read: DTMF end '#' received on SIP/201-000002dd, duration 120 ms
[Nov 25 21:23:33] DTMF[304][C-00000143]: channel.c:4125 __ast_read: DTMF end accepted with begin '#' on SIP/201-000002dd
[Nov 25 21:23:33] DTMF[304][C-00000143]: channel.c:4154 __ast_read: DTMF end passthrough '#' on SIP/201-000002dd
[Nov 25 21:23:35] DTMF[304][C-00000143]: channel.c:4170 __ast_read: DTMF begin '*' received on SIP/201-000002dd
[Nov 25 21:23:35] DTMF[304][C-00000143]: channel.c:4181 __ast_read: DTMF begin passthrough '*' on SIP/201-000002dd
[Nov 25 21:23:35] DTMF[304][C-00000143]: channel.c:4084 __ast_read: DTMF end '*' received on SIP/201-000002dd, duration 80 ms
[Nov 25 21:23:35] DTMF[304][C-00000143]: channel.c:4125 __ast_read: DTMF end accepted with begin '*' on SIP/201-000002dd
[Nov 25 21:23:35] DTMF[304][C-00000143]: channel.c:4140 __ast_read: DTMF end '*' detected to have actual duration 69 on the wire, emulation will be triggered on SIP/201-000002dd
[Nov 25 21:23:35] DTMF[304][C-00000143]: channel.c:4147 __ast_read: DTMF end '*' has duration 69 but want minimum 80, emulating on SIP/201-000002dd
[Nov 25 21:23:35] DTMF[304][C-00000143]: channel.c:4204 __ast_read: DTMF end emulation of '*' queued on SIP/201-000002dd
[Nov 25 21:23:35] DTMF[304][C-00000143]: channel.c:4170 __ast_read: DTMF begin '*' received on SIP/201-000002dd
[Nov 25 21:23:35] DTMF[304][C-00000143]: channel.c:4181 __ast_read: DTMF begin passthrough '*' on SIP/201-000002dd
[Nov 25 21:23:35] DTMF[304][C-00000143]: channel.c:4084 __ast_read: DTMF end '*' received on SIP/201-000002dd, duration 100 ms
[Nov 25 21:23:35] DTMF[304][C-00000143]: channel.c:4125 __ast_read: DTMF end accepted with begin '*' on SIP/201-000002dd
[Nov 25 21:23:35] DTMF[304][C-00000143]: channel.c:4140 __ast_read: DTMF end '*' detected to have actual duration 70 on the wire, emulation will be triggered on SIP/201-000002dd
[Nov 25 21:23:35] DTMF[304][C-00000143]: channel.c:4147 __ast_read: DTMF end '*' has duration 70 but want minimum 80, emulating on SIP/201-000002dd
[Nov 25 21:23:35] DTMF[304][C-00000143]: channel.c:4204 __ast_read: DTMF end emulation of '*' queued on SIP/201-000002dd
[Nov 25 21:23:37] DTMF[304][C-00000143]: channel.c:4170 __ast_read: DTMF begin '*' received on SIP/201-000002dd
[Nov 25 21:23:37] DTMF[304][C-00000143]: channel.c:4181 __ast_read: DTMF begin passthrough '*' on SIP/201-000002dd
[Nov 25 21:23:37] DTMF[304][C-00000143]: channel.c:4084 __ast_read: DTMF end '*' received on SIP/201-000002dd, duration 80 ms
[Nov 25 21:23:37] DTMF[304][C-00000143]: channel.c:4125 __ast_read: DTMF end accepted with begin '*' on SIP/201-000002dd
[Nov 25 21:23:37] DTMF[304][C-00000143]: channel.c:4140 __ast_read: DTMF end '*' detected to have actual duration 60 on the wire, emulation will be triggered on SIP/201-000002dd
[Nov 25 21:23:37] DTMF[304][C-00000143]: channel.c:4147 __ast_read: DTMF end '*' has duration 60 but want minimum 80, emulating on SIP/201-000002dd
[Nov 25 21:23:37] DTMF[304][C-00000143]: channel.c:4204 __ast_read: DTMF end emulation of '*' queued on SIP/201-000002dd
[Nov 25 21:23:37] DTMF[304][C-00000143]: channel.c:4170 __ast_read: DTMF begin '*' received on SIP/201-000002dd
[Nov 25 21:23:37] DTMF[304][C-00000143]: channel.c:4181 __ast_read: DTMF begin passthrough '*' on SIP/201-000002dd
[Nov 25 21:23:37] DTMF[304][C-00000143]: channel.c:4084 __ast_read: DTMF end '*' received on SIP/201-000002dd, duration 80 ms
[Nov 25 21:23:37] DTMF[304][C-00000143]: channel.c:4125 __ast_read: DTMF end accepted with begin '*' on SIP/201-000002dd
[Nov 25 21:23:37] DTMF[304][C-00000143]: channel.c:4140 __ast_read: DTMF end '*' detected to have actual duration 49 on the wire, emulation will be triggered on SIP/201-000002dd
[Nov 25 21:23:37] DTMF[304][C-00000143]: channel.c:4147 __ast_read: DTMF end '*' has duration 49 but want minimum 80, emulating on SIP/201-000002dd
[Nov 25 21:23:37] DTMF[304][C-00000143]: channel.c:4204 __ast_read: DTMF end emulation of '*' queued on SIP/201-000002dd
[Nov 25 21:23:38] DTMF[304][C-00000143]: channel.c:4170 __ast_read: DTMF begin '*' received on SIP/201-000002dd
[Nov 25 21:23:38] DTMF[304][C-00000143]: channel.c:4181 __ast_read: DTMF begin passthrough '*' on SIP/201-000002dd
[Nov 25 21:23:38] DTMF[304][C-00000143]: channel.c:4084 __ast_read: DTMF end '*' received on SIP/201-000002dd, duration 80 ms
[Nov 25 21:23:38] DTMF[304][C-00000143]: channel.c:4125 __ast_read: DTMF end accepted with begin '*' on SIP/201-000002dd
[Nov 25 21:23:38] DTMF[304][C-00000143]: channel.c:4140 __ast_read: DTMF end '*' detected to have actual duration 70 on the wire, emulation will be triggered on SIP/201-000002dd
[Nov 25 21:23:38] DTMF[304][C-00000143]: channel.c:4147 __ast_read: DTMF end '*' has duration 70 but want minimum 80, emulating on SIP/201-000002dd
[Nov 25 21:23:38] DTMF[304][C-00000143]: channel.c:4204 __ast_read: DTMF end emulation of '*' queued on SIP/201-000002dd
== Spawn extension (voicemenu-custom-1, 201, 1) exited non-zero on 'SIP/trunk_2-000002dc'
фьючерс:
Код: Выделить всё
features show
Builtin Feature Default Current
--------------- ------- -------
Pickup *8 *8
Blind Transfer # #1
Attended Transfer ##
One Touch Monitor
Disconnect Call * *
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 ms
Comeback to origin : yes
Comeback context : parkedcallstimeout (comebacktoorigin=yes, not used)
Comeback dial time : 30
MusicOnHold class : default
Enabled : Yes
Re: астериск не реагирует на дтмф
Добавлено: 25 ноя 2013, 22:52
ded
Согласно выдержке (вверху) - выбранный для blind transfer код - #1
ну а в дебаге видно - набрана *# и потом чёрти что и куда решёток.
[Nov 25 21:23:14] DTMF[304][C-00000143]: channel.c:4170 __ast_read: DTMF begin '*' received on SIP/201-000002dd
[Nov 25 21:23:14] DTMF[304][C-00000143]: channel.c:4181 __ast_read: DTMF begin passthrough '*' on SIP/201-000002dd
[Nov 25 21:23:15] DTMF[304][C-00000143]: channel.c:4084 __ast_read: DTMF end '*' received on SIP/201-000002dd, duration 160 ms
[Nov 25 21:23:15] DTMF[304][C-00000143]: channel.c:4125 __ast_read: DTMF end accepted with begin '*' on SIP/201-000002dd
[Nov 25 21:23:15] DTMF[304][C-00000143]: channel.c:4154 __ast_read: DTMF end passthrough '*' on SIP/201-000002dd
[Nov 25 21:23:20] DTMF[304][C-00000143]: channel.c:4170 __ast_read: DTMF begin '#' received on SIP/201-000002dd
[Nov 25 21:23:20] DTMF[304][C-00000143]: channel.c:4181 __ast_read: DTMF begin passthrough '#' on SIP/201-000002dd
[Nov 25 21:23:20] DTMF[304][C-00000143]: channel.c:4084 __ast_read: DTMF end '#' received on SIP/201-000002dd, duration 220 ms
[Nov 25 21:23:20] DTMF[304][C-00000143]: channel.c:4125 __ast_read: DTMF end accepted with begin '#' on SIP/201-000002dd
[Nov 25 21:23:20] DTMF[304][C-00000143]: channel.c:4154 __ast_read: DTMF end passthrough '#' on SIP/201-000002d
Re: астериск не реагирует на дтмф
Добавлено: 25 ноя 2013, 23:27
DPurple
но после * он должен обрыв звонка отработать, нет ?
после ## - другой трансфер отработать ...
а ему ... все равно ...
Re: астериск не реагирует на дтмф
Добавлено: 26 ноя 2013, 00:00
ded
Вы неправильно представляете себе как должен работать трансфер.
Измените Blind transfer на решётку: Current - #
При принятом вызове нажмите #, в дебаге будет - pbx transfer (услышите гудок) и переведёте на другой экстен.
Скорее всего номер на который переводите нужно терминировать тоже решёткой, но может и нет.
Re: астериск не реагирует на дтмф
Добавлено: 26 ноя 2013, 00:06
DPurple
фиг с ним, с трансфером, на холд звонящего надо поставить ? почему это не происходит ?
и, как он должен работать ?
на сыскофонах по кнопке со стрелой летящей в голову (СP3905) трансфер отрабатывает ок, не было бы нужды подключать трубки через KX-TGP500 и вопросов бы не осталось ... ан вот оно.
Re: астериск не реагирует на дтмф
Добавлено: 26 ноя 2013, 00:16
ded
На холд - это Attended transfer.
Cisco phones перевод делают своими средствами, вне зависимости от Feature codes.
Вы бы почитали книжку по трансферам?