Re: Щелчки
Проблема решена ...
IgorG был прав это несовместимость DAHDI 2.3.0. и asterisk 1.4.32 при сборке новой версий dahdi и asterisk проблема не изменилась :) ELASTIX на 64 бита и у него папка с модулями /usr/lib64/ в asterisk.conf тоже astmoddir => /usr/lib64/asterisk/modules , asterisk собирался по умолчанию в /usr/lib/asterisk/ а запускался из /var/lib64/asterisk/ с старым модулем из папки /usr/lib64/asteriks/modules/...
Кто знает зачем Elastix модули перекинул в /lib64 ? это меня просто поразило :)
вот логи с dahdi от Elastix
-- Executing [s@from-pstn:1] NoOp("DAHDI/17-1", "TEST") in new stack
-- Executing [s@from-pstn:2] Dial("DAHDI/17-1", "DAHDI/3") in new stack
-- Called 3
-- DAHDI/3-1 is ringing
[Jun 23 21:00:46] DEBUG[4782]: chan_dahdi.c:6335 dahdi_indicate: Requested indication 3 on channel DAHDI/17-1
-- DAHDI/3-1 is ringing
[Jun 23 21:00:53] DEBUG[4782]: chan_dahdi.c:2382 dahdi_train_ec: No echo training requested
[Jun 23 21:00:53] DEBUG[4782]: chan_dahdi.c:5284 dahdi_handle_event: channel 3 answered
-- DAHDI/3-1 answered DAHDI/17-1
[Jun 23 21:00:53] DEBUG[4782]: chan_dahdi.c:6335 dahdi_indicate: Requested indication -1 on channel DAHDI/17-1
[Jun 23 21:00:53] DEBUG[4782]: chan_dahdi.c:3974 dahdi_answer: Took DAHDI/17-1 off hook
[Jun 23 21:00:53] DEBUG[4782]: chan_dahdi.c:2382 dahdi_train_ec: No echo training requested
[Jun 23 21:00:53] DEBUG[4782]: chan_dahdi.c:6335 dahdi_indicate: Requested indication -1 on channel DAHDI/17-1
[Jun 23 21:00:53] DEBUG[4782]: chan_dahdi.c:6335 dahdi_indicate: Requested indication 20 on channel DAHDI/17-1
[Jun 23 21:00:53] DEBUG[4782]: chan_dahdi.c:6335 dahdi_indicate: Requested indication 20 on channel DAHDI/3-1
[Jun 23 21:00:53] DEBUG[4782]: chan_dahdi.c:4484 dahdi_bridge: master: 17, slave: 3, nothingok: 0
[Jun 23 21:00:53] DEBUG[4782]: chan_dahdi.c:4499 dahdi_bridge: Stopping tones on 17/0 talking to 3/0
[Jun 23 21:00:53] DEBUG[4782]: chan_dahdi.c:4511 dahdi_bridge: Stopping tones on 3/0 talking to 17/0
[Jun 23 21:00:53] DEBUG[4782]: chan_dahdi.c:4320 dahdi_link: Making 3 slave to master 17 at 0
[Jun 23 21:00:53] DEBUG[4782]: chan_dahdi.c:2186 conf_add: Added 32 to conference 9/17
[Jun 23 21:00:53] DEBUG[4782]: chan_dahdi.c:2186 conf_add: Added 12 to conference 9/3
-- Native bridging DAHDI/17-1 and DAHDI/3-1
[Jun 23 21:00:53] DEBUG[4782]: chan_dahdi.c:5752 dahdi_handle_event: Ignore switch to REVERSED Polarity on channel 17, state 6
[Jun 23 21:00:53] DEBUG[4782]: chan_dahdi.c:5772 dahdi_handle_event: Ignoring Polarity switch to IDLE on channel 17, state 6
[Jun 23 21:00:53] DEBUG[4782]: chan_dahdi.c:5775 dahdi_handle_event: Polarity Reversal event occured - DEBUG 2: channel 17, state 6, pol= 0, aonp= 0, honp= 0, pdelay= 600, tv= 1707166257
[Jun 23 21:00:54] DEBUG[4782]: chan_dahdi.c:4264 dahdi_unlink: Unlinking slave 3 from 17
[Jun 23 21:00:54] DEBUG[4782]: chan_dahdi.c:2215 conf_del: Removed 32 from conference 9/17
[Jun 23 21:00:54] DEBUG[4782]: chan_dahdi.c:2215 conf_del: Removed 12 from conference 9/3
[Jun 23 21:00:54] DEBUG[4782]: chan_dahdi.c:6335 dahdi_indicate: Requested indication 3 on channel DAHDI/17-1
[Jun 23 21:00:54] DEBUG[4782]: chan_dahdi.c:6335 dahdi_indicate: Requested indication 20 on channel DAHDI/17-1
[Jun 23 21:00:54] DEBUG[4782]: chan_dahdi.c:6335 dahdi_indicate: Requested indication 20 on channel DAHDI/3-1
[Jun 23 21:00:54] DEBUG[4782]: chan_dahdi.c:4484 dahdi_bridge: master: 17, slave: 3, nothingok: 0
[Jun 23 21:00:54] DEBUG[4782]: chan_dahdi.c:4499 dahdi_bridge: Stopping tones on 17/0 talking to 3/0
[Jun 23 21:00:54] DEBUG[4782]: chan_dahdi.c:4511 dahdi_bridge: Stopping tones on 3/0 talking to 17/0
[Jun 23 21:00:54] DEBUG[4782]: chan_dahdi.c:4320 dahdi_link: Making 3 slave to master 17 at 0
[Jun 23 21:00:54] DEBUG[4782]: chan_dahdi.c:2186 conf_add: Added 32 to conference 9/17
[Jun 23 21:00:54] DEBUG[4782]: chan_dahdi.c:2186 conf_add: Added 12 to conference 9/3
-- Native bridging DAHDI/17-1 and DAHDI/3-1
-- Remote UNIX connection
-- Remote UNIX connection disconnected
[Jun 23 21:00:58] DEBUG[4782]: chan_dahdi.c:4957 dahdi_handle_event: Detected pulse digit '1'
[Jun 23 21:01:00] DEBUG[4782]: chan_dahdi.c:4264 dahdi_unlink: Unlinking slave 3 from 17
[Jun 23 21:01:00] DEBUG[4782]: chan_dahdi.c:2215 conf_del: Removed 32 from conference 9/17
[Jun 23 21:01:00] DEBUG[4782]: chan_dahdi.c:2215 conf_del: Removed 12 from conference 9/3
[Jun 23 21:01:00] DEBUG[4782]: chan_dahdi.c:6335 dahdi_indicate: Requested indication 3 on channel DAHDI/17-1
[Jun 23 21:01:00] DEBUG[4782]: chan_dahdi.c:6335 dahdi_indicate: Requested indication 20 on channel DAHDI/17-1
[Jun 23 21:01:00] DEBUG[4782]: chan_dahdi.c:6335 dahdi_indicate: Requested indication 20 on channel DAHDI/3-1
[Jun 23 21:01:00] DEBUG[4782]: chan_dahdi.c:4484 dahdi_bridge: master: 17, slave: 3, nothingok: 0
[Jun 23 21:01:00] DEBUG[4782]: chan_dahdi.c:4499 dahdi_bridge: Stopping tones on 17/0 talking to 3/0
[Jun 23 21:01:00] DEBUG[4782]: chan_dahdi.c:4511 dahdi_bridge: Stopping tones on 3/0 talking to 17/0
[Jun 23 21:01:00] DEBUG[4782]: chan_dahdi.c:4320 dahdi_link: Making 3 slave to master 17 at 0
[Jun 23 21:01:00] DEBUG[4782]: chan_dahdi.c:2186 conf_add: Added 32 to conference 9/17
[Jun 23 21:01:00] DEBUG[4782]: chan_dahdi.c:2186 conf_add: Added 12 to conference 9/3
-- Native bridging DAHDI/17-1 and DAHDI/3-1
-- Remote UNIX connection
-- Remote UNIX connection disconnected
[Jun 23 21:01:04] DEBUG[4782]: chan_dahdi.c:4957 dahdi_handle_event: Detected pulse digit '1'
-- Remote UNIX connection
-- Remote UNIX connection disconnected
[Jun 23 21:01:06] DEBUG[4782]: chan_dahdi.c:4264 dahdi_unlink: Unlinking slave 3 from 17
[Jun 23 21:01:06] DEBUG[4782]: chan_dahdi.c:2215 conf_del: Removed 32 from conference 9/17
[Jun 23 21:01:06] DEBUG[4782]: chan_dahdi.c:2215 conf_del: Removed 12 from conference 9/3
[Jun 23 21:01:06] DEBUG[4782]: chan_dahdi.c:6335 dahdi_indicate: Requested indication 3 on channel DAHDI/17-1
[Jun 23 21:01:06] DEBUG[4782]: chan_dahdi.c:6335 dahdi_indicate: Requested indication 20 on channel DAHDI/17-1
[Jun 23 21:01:06] DEBUG[4782]: chan_dahdi.c:6335 dahdi_indicate: Requested indication 20 on channel DAHDI/3-1
[Jun 23 21:01:06] DEBUG[4782]: chan_dahdi.c:4484 dahdi_bridge: master: 17, slave: 3, nothingok: 0
[Jun 23 21:01:06] DEBUG[4782]: chan_dahdi.c:4499 dahdi_bridge: Stopping tones on 17/0 talking to 3/0
[Jun 23 21:01:06] DEBUG[4782]: chan_dahdi.c:4511 dahdi_bridge: Stopping tones on 3/0 talking to 17/0
[Jun 23 21:01:06] DEBUG[4782]: chan_dahdi.c:4320 dahdi_link: Making 3 slave to master 17 at 0
[Jun 23 21:01:06] DEBUG[4782]: chan_dahdi.c:2186 conf_add: Added 32 to conference 9/17
[Jun 23 21:01:06] DEBUG[4782]: chan_dahdi.c:2186 conf_add: Added 12 to conference 9/3
-- Native bridging DAHDI/17-1 and DAHDI/3-1
-- Remote UNIX connection
-- Remote UNIX connection disconnected
[Jun 23 21:01:10] DEBUG[4782]: chan_dahdi.c:4957 dahdi_handle_event: Detected pulse digit '1'
[Jun 23 21:01:12] DEBUG[4782]: chan_dahdi.c:4264 dahdi_unlink: Unlinking slave 3 from 17
[Jun 23 21:01:12] DEBUG[4782]: chan_dahdi.c:2215 conf_del: Removed 32 from conference 9/17
[Jun 23 21:01:12] DEBUG[4782]: chan_dahdi.c:2215 conf_del: Removed 12 from conference 9/3
[Jun 23 21:01:12] DEBUG[4782]: chan_dahdi.c:6335 dahdi_indicate: Requested indication 3 on channel DAHDI/17-1
[Jun 23 21:01:12] DEBUG[4782]: chan_dahdi.c:6335 dahdi_indicate: Requested indication 20 on channel DAHDI/17-1
[Jun 23 21:01:12] DEBUG[4782]: chan_dahdi.c:6335 dahdi_indicate: Requested indication 20 on channel DAHDI/3-1
[Jun 23 21:01:12] DEBUG[4782]: chan_dahdi.c:4484 dahdi_bridge: master: 17, slave: 3, nothingok: 0
[Jun 23 21:01:12] DEBUG[4782]: chan_dahdi.c:4499 dahdi_bridge: Stopping tones on 17/0 talking to 3/0
[Jun 23 21:01:12] DEBUG[4782]: chan_dahdi.c:4511 dahdi_bridge: Stopping tones on 3/0 talking to 17/0
[Jun 23 21:01:12] DEBUG[4782]: chan_dahdi.c:4320 dahdi_link: Making 3 slave to master 17 at 0
[Jun 23 21:01:12] DEBUG[4782]: chan_dahdi.c:2186 conf_add: Added 32 to conference 9/17
[Jun 23 21:01:12] DEBUG[4782]: chan_dahdi.c:2186 conf_add: Added 12 to conference 9/3
-- Native bridging DAHDI/17-1 and DAHDI/3-1
-- Remote UNIX connection
-- Remote UNIX connection disconnected
Почему на 1 звонке Native bridging DAHDI/17-1 and DAHDI/3-1 поднимает столько раз ? и генерирует он походу ДТМФ
|