Начал разбираться с настройкой тональности и возникла одна проблема.
За гудок, который звучит перед тем как мы хотим набрать номер отвечают следующие строки в tones.conf (частоты и время взял из астериска)
generate-dial => v=-7;%(1000,0,425)
detect-dial => 425
Так вот, если я набираю номер, то Freeswitch не реагирует на набор. Точнее реагирует на первую цифру:
2013-10-17 11:14:15.583103 [DEBUG] ftmod_zt.c:1101 [s1c3][1:3] Processing zap hardware event 2
2013-10-17 11:14:15.583103 [DEBUG] ftmod_analog.c:1001 [s1c3][1:3] Received event [OFFHOOK] in state [DOWN]
2013-10-17 11:14:15.583103 [DEBUG] ftmod_analog.c:1094 [s1c3][1:3] Changed state from DOWN to DIALTONE
2013-10-17 11:14:15.583103 [DEBUG] ftmod_analog.c:439 [s1c3][1:3] ANALOG CHANNEL thread starting.
2013-10-17 11:14:15.583103 [INFO] ftmod_zt.c:673 Disable echo cancel for 1:3
2013-10-17 11:14:15.583103 [DEBUG] ftdm_io.c:3390 [s1c3][1:3] Enabled software DTMF detector
2013-10-17 11:14:15.583103 [DEBUG] ftmod_analog.c:459 [s1c3][1:3] Initialized DTMF detection
2013-10-17 11:14:15.583103 [DEBUG] ftmod_analog.c:640 [s1c3][1:3] Completed state change from DOWN to DIALTONE in 0 ms
2013-10-17 11:14:15.583103 [DEBUG] ftmod_analog.c:646 [s1c3][1:3] Executing state handler on 1:3 for DIALTONE
2013-10-17 11:14:25.603101 [DEBUG] ftmod_analog.c:530 [s1c3][1:3] Changed state from DIALTONE to BUSY
2013-10-17 11:14:25.623108 [DEBUG] ftmod_analog.c:640 [s1c3][1:3] Completed state change from DIALTONE to BUSY in 20 ms
2013-10-17 11:14:25.623108 [DEBUG] ftmod_analog.c:646 [s1c3][1:3] Executing state handler on 1:3 for BUSY
2013-10-17 11:14:26.063103 [DEBUG] ftdm_io.c:3787 [s1c3][1:3] Queuing DTMF 1 (debug = 0)
2013-10-17 11:14:26.543102 [DEBUG] ftmod_zt.c:1101 [s1c3][1:3] Processing zap hardware event 1
2013-10-17 11:14:26.543102 [DEBUG] ftmod_analog.c:1001 [s1c3][1:3] Received event [ONHOOK] in state [BUSY]
2013-10-17 11:14:26.543102 [DEBUG] ftmod_analog.c:1054 [s1c3][1:3] Changed state from BUSY to DOWN
2013-10-17 11:14:26.563118 [DEBUG] ftmod_analog.c:640 [s1c3][1:3] Completed state change from BUSY to DOWN in 19 ms
2013-10-17 11:14:26.563118 [DEBUG] ftmod_analog.c:646 [s1c3][1:3] Executing state handler on 1:3 for DOWN
2013-10-17 11:14:26.563118 [DEBUG] ftdm_io.c:6146 [s1c3][1:3] Ignoring SIGEVENT_STOP since user never knew about a call in this channel
2013-10-17 11:14:26.563118 [DEBUG] ftdm_io.c:3189 [s1c3][1:3] DTMF debug is already disabled
2013-10-17 11:14:26.563118 [DEBUG] ftdm_io.c:3221 [s1c3][1:3] No need to disable input dump
2013-10-17 11:14:26.563118 [DEBUG] ftdm_io.c:3252 [s1c3][1:3] No need to disable output dump
2013-10-17 11:14:26.563118 [DEBUG] ftdm_io.c:2994 [s1c3][1:3] channel done
2013-10-17 11:14:26.563118 [DEBUG] ftmod_analog.c:974 [s1c3][1:3] ANALOG CHANNEL 1:3 thread ended.
generate-dial => v=-7;%(1000,425)
detect-dial => 425
2013-10-17 11:36:04.583117 [DEBUG] ftmod_zt.c:1101 [s1c3][1:3] Processing zap hardware event 2
2013-10-17 11:36:04.583117 [DEBUG] ftmod_analog.c:1001 [s1c3][1:3] Received event [OFFHOOK] in state [DOWN]
2013-10-17 11:36:04.583117 [DEBUG] ftmod_analog.c:1094 [s1c3][1:3] Changed state from DOWN to DIALTONE
2013-10-17 11:36:04.583117 [DEBUG] ftmod_analog.c:439 [s1c3][1:3] ANALOG CHANNEL thread starting.
2013-10-17 11:36:04.583117 [INFO] ftmod_zt.c:671 Setting echo cancel to 128 taps for 1:3
2013-10-17 11:36:04.583117 [DEBUG] ftdm_io.c:3390 [s1c3][1:3] Enabled software DTMF detector
2013-10-17 11:36:04.583117 [DEBUG] ftmod_analog.c:459 [s1c3][1:3] Initialized DTMF detection
2013-10-17 11:36:04.583117 [DEBUG] ftmod_analog.c:640 [s1c3][1:3] Completed state change from DOWN to DIALTONE in 0 ms
2013-10-17 11:36:04.583117 [DEBUG] ftmod_analog.c:646 [s1c3][1:3] Executing state handler on 1:3 for DIALTONE
2013-10-17 11:36:06.843105 [DEBUG] ftdm_io.c:3787 [s1c3][1:3] Queuing DTMF 1 (debug = 0)
2013-10-17 11:36:06.843105 [DEBUG] ftmod_analog.c:830 [s1c3][1:3] Changed state from DIALTONE to COLLECT
2013-10-17 11:36:06.843105 [DEBUG] mod_freetdm.c:2361 got FXS sig [COLLECTED_DIGIT]
2013-10-17 11:36:06.843105 [DEBUG] mod_freetdm.c:2531 got DTMF sig [1]
2013-10-17 11:36:06.863114 [DEBUG] ftmod_analog.c:640 [s1c3][1:3] Completed state change from DIALTONE to COLLECT in 20 ms
2013-10-17 11:36:06.863114 [DEBUG] ftmod_analog.c:646 [s1c3][1:3] Executing state handler on 1:3 for COLLECT
2013-10-17 11:36:07.183103 [DEBUG] ftdm_io.c:3787 [s1c3][1:3] Queuing DTMF 1 (debug = 0)
2013-10-17 11:36:07.183103 [DEBUG] mod_freetdm.c:2361 got FXS sig [COLLECTED_DIGIT]
2013-10-17 11:36:07.183103 [DEBUG] mod_freetdm.c:2531 got DTMF sig [11]
2013-10-17 11:36:07.583102 [DEBUG] ftdm_io.c:3787 [s1c3][1:3] Queuing DTMF 1 (debug = 0)
2013-10-17 11:36:07.583102 [DEBUG] mod_freetdm.c:2361 got FXS sig [COLLECTED_DIGIT]
2013-10-17 11:36:07.583102 [DEBUG] mod_freetdm.c:2531 got DTMF sig [111]
2013-10-17 11:36:07.943103 [DEBUG] ftdm_io.c:3787 [s1c3][1:3] Queuing DTMF 1 (debug = 0)
2013-10-17 11:36:07.943103 [DEBUG] mod_freetdm.c:2361 got FXS sig [COLLECTED_DIGIT]
2013-10-17 11:36:07.943103 [DEBUG] mod_freetdm.c:2531 got DTMF sig [1111]
2013-10-17 11:36:09.963101 [DEBUG] ftmod_analog.c:851 [s1c3][1:3] Number obtained [1111]
2013-10-17 11:36:09.963101 [DEBUG] ftmod_analog.c:852 [s1c3][1:3] Changed state from COLLECT to RING
2013-10-17 11:36:09.983110 [DEBUG] ftmod_analog.c:640 [s1c3][1:3] Completed state change from COLLECT to RING in 20 ms
2013-10-17 11:36:09.983110 [DEBUG] ftmod_analog.c:646 [s1c3][1:3] Executing state handler on 1:3 for RING
2013-10-17 11:36:09.983110 [DEBUG] mod_freetdm.c:2361 got FXS sig [START]
В чем может быть проблема?