Пожалуйста, войдите здесь. Часто задаваемые вопросы О нас
Задайте Ваш вопрос

История изменений [назад]

нажмите, чтобы скрыть/показать версии 1
изначальная версия
редактировать

ответил 2011-10-14 21:25:30 +0400

foxm Gravatar foxm

У меня появляется вот что:

[Oct 14 21:18:04] DEBUG[6485] chan_dahdi.c: Monitor doohicky got event Ring Begin on channel 1
[Oct 14 21:18:04] DEBUG[6485] sig_analog.c: channel (1) - signaling (5) - event (ANALOG_EVENT_RINGBEGIN)
[Oct 14 21:18:06] DEBUG[6485] chan_dahdi.c: Monitor doohicky got event Ring/Answered on channel 1
[Oct 14 21:18:06] DEBUG[6485] sig_analog.c: channel (1) - signaling (5) - event (ANALOG_EVENT_RINGOFFHOOK)
[Oct 14 21:18:06] DEBUG[6485] dsp.c: Setup tone 1100 Hz, 500 ms, block_size=160, hits_required=21
[Oct 14 21:18:06] DEBUG[6485] dsp.c: Setup tone 2100 Hz, 2600 ms, block_size=160, hits_required=116
[Oct 14 21:18:06] DEBUG[6485] dsp.c: dsp busy pattern set to 0,0
[Oct 14 21:18:06] DEBUG[6475] devicestate.c: No provider found, checking channel drivers for DAHDI - 1
[Oct 14 21:18:06] DEBUG[6475] devicestate.c: Changing state for DAHDI/1 - state 2 (In use)
[Oct 14 21:18:06] DEBUG[6475] devicestate.c: device 'DAHDI/1' state '2'
[Oct 14 21:18:06] DEBUG[6566] sig_analog.c: __analog_ss_thread 1
[Oct 14 21:18:06] DEBUG[6513] app_queue.c: Device 'DAHDI/1' changed to state '2' (In use) but we don't care because they're not a member of any queue.
[Oct 14 21:18:06] DEBUG[6566] chan_dahdi.c: CallerID number: 89265224173, name: (null), flags=4
[Oct 14 21:18:06] DEBUG[6566] pbx.c: Launching 'Wait'
[Oct 14 21:18:08] DEBUG[6566] pbx.c: Launching 'Answer'
[Oct 14 21:18:08] DEBUG[6566] sig_analog.c: analog_answer 1
[Oct 14 21:18:08] DEBUG[6566] sig_analog.c: Took DAHDI/1-1 off hook
[Oct 14 21:18:08] DEBUG[6566] chan_dahdi.c: Enabled echo cancellation on channel 1
[Oct 14 21:18:08] DEBUG[6566] chan_dahdi.c: No echo training requested
[Oct 14 21:18:08] DEBUG[6566] chan_dahdi.c: Requested indication -1 on channel DAHDI/1-1
[Oct 14 21:18:08] DEBUG[6475] devicestate.c: No provider found, checking channel drivers for DAHDI - 1
[Oct 14 21:18:08] DEBUG[6475] devicestate.c: Changing state for DAHDI/1 - state 2 (In use)
[Oct 14 21:18:08] DEBUG[6475] devicestate.c: device 'DAHDI/1' state '2'
[Oct 14 21:18:08] DEBUG[6513] app_queue.c: Device 'DAHDI/1' changed to state '2' (In use) but we don't care because they're not a member of any queue.
[Oct 14 21:18:08] DEBUG[6566] pbx.c: Function result is '"" <89265224173>'
[Oct 14 21:18:08] DEBUG[6566] pbx.c: Launching 'NoOp'
[Oct 14 21:18:08] DEBUG[6566] pbx.c: Result of 'EPOCH' is '1318612688'
[Oct 14 21:18:08] DEBUG[6566] pbx.c: Function result is '2011-10-14'
[Oct 14 21:18:08] DEBUG[6566] pbx.c: Launching 'NoOp'
[Oct 14 21:18:08] DEBUG[6566] pbx.c: Function result is '89265224173'
[Oct 14 21:18:08] DEBUG[6566] pbx.c: Launching 'Set'
[Oct 14 21:18:08] DEBUG[6566] pbx.c: Result of 'EPOCH' is '1318612688'
[Oct 14 21:18:08] DEBUG[6566] pbx.c: Function result is '2011'
[Oct 14 21:18:08] DEBUG[6566] pbx.c: Result of 'EPOCH' is '1318612688'
[Oct 14 21:18:08] DEBUG[6566] pbx.c: Function result is '10'
[Oct 14 21:18:08] DEBUG[6566] pbx.c: Result of 'EPOCH' is '1318612688'
[Oct 14 21:18:08] DEBUG[6566] pbx.c: Function result is '14'
[Oct 14 21:18:08] DEBUG[6566] pbx.c: Launching 'Set'
[Oct 14 21:18:08] DEBUG[6566] pbx.c: Result of 'RECORDS_DIRNAME' is '/var/spool/asterisk/records/2011-10-14'
[Oct 14 21:18:08] DEBUG[6566] pbx.c: Launching 'System'
[Oct 14 21:18:08] DEBUG[6566] pbx.c: Launching 'Wait'
[Oct 14 21:18:09] DEBUG[6566] pbx.c: Launching 'Playback'
[Oct 14 21:18:09] DEBUG[6566] channel.c: Set channel DAHDI/1-1 to write format gsm
[Oct 14 21:18:09] DEBUG[6566] channel.c: Scheduling timer at (50 requested / 50 actual) timer ticks per second
[Oct 14 21:18:12] DEBUG[6566] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second
[Oct 14 21:18:12] DEBUG[6566] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second
[Oct 14 21:18:12] DEBUG[6566] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second
[Oct 14 21:18:12] DEBUG[6566] channel.c: Set channel DAHDI/1-1 to write format ulaw
[Oct 14 21:18:12] DEBUG[6566] pbx.c: Result of 'RECORDS_DIRNAME' is '/var/spool/asterisk/records/2011-10-14'
[Oct 14 21:18:12] DEBUG[6566] pbx.c: Result of 'EPOCH' is '1318612692'
[Oct 14 21:18:12] DEBUG[6566] pbx.c: Function result is '21-18-12'
[Oct 14 21:18:12] DEBUG[6566] pbx.c: Result of 'RECORD_FILE_POSTFIX' is '89265224173'
[Oct 14 21:18:12] DEBUG[6566] pbx.c: Launching 'Set'
[Oct 14 21:18:12] DEBUG[6566] pbx.c: Launching 'Queue'
[Oct 14 21:18:12] DEBUG[6566] app_queue.c: NO QUEUE_PRIO variable found. Using default.
[Oct 14 21:18:12] DEBUG[6566] app_queue.c: queue: taxi-operators, options: t, url: , announce: , expires: 1318612992, priority: 0
[Oct 14 21:18:12] DEBUG[6566] app_queue.c: Queue taxi-operators has no realtime members defined. No need for update
[Oct 14 21:18:12] DEBUG[6566] app_queue.c: Queue 'taxi-operators' Join, Channel 'DAHDI/1-1', Position '1'
[Oct 14 21:18:12] DEBUG[6566] channel.c: Scheduling timer at (50 requested / 50 actual) timer ticks per second
[Oct 14 21:18:12] DEBUG[6566] app_queue.c: There are 0 available members.
[Oct 14 21:18:12] DEBUG[6566] app_queue.c: It's not our turn (DAHDI/1-1).
[Oct 14 21:18:12] DEBUG[6566] channel.c: Set channel DAHDI/1-1 to write format gsm
[Oct 14 21:18:12] DEBUG[6566] res_musiconhold.c: DAHDI/1-1 Opened file 8 '/var/lib/asterisk/moh2/19'
[Oct 14 21:18:14] DEBUG[6566] app_queue.c: There are 0 available members.
[Oct 14 21:18:14] DEBUG[6566] app_queue.c: It's not our turn (DAHDI/1-1).
[Oct 14 21:18:14] DEBUG[6566] dsp.c: Requesting Hangup because the busy tone was detected on channel DAHDI/1-1
[Oct 14 21:18:14] DEBUG[6566] channel.c: Set channel DAHDI/1-1 to write format ulaw
[Oct 14 21:18:14] DEBUG[6566] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second
[Oct 14 21:18:14] DEBUG[6566] app_queue.c: Queue 'taxi-operators' Leave, Channel 'DAHDI/1-1'
[Oct 14 21:18:14] DEBUG[6566] pbx.c: Spawn extension (incoming-from-pstn,s,11) exited non-zero on 'DAHDI/1-1'
[Oct 14 21:18:14] DEBUG[6566] channel.c: Soft-Hanging up channel 'DAHDI/1-1'
[Oct 14 21:18:14] DEBUG[6566] channel.c: Hanging up channel 'DAHDI/1-1'
[Oct 14 21:18:14] DEBUG[6566] chan_dahdi.c: dahdi_hangup(DAHDI/1-1)
[Oct 14 21:18:14] DEBUG[6566] sig_analog.c: analog_hangup 1
[Oct 14 21:18:14] DEBUG[6566] sig_analog.c: Hangup: channel: 1 index = 0, normal = 1, callwait = 0, thirdcall = 0
[Oct 14 21:18:14] DEBUG[6566] chan_dahdi.c: Disabled echo cancellation on channel 1
[Oct 14 21:18:14] DEBUG[6566] chan_dahdi.c: Set option TONE VERIFY, mode: OFF(0) on DAHDI/1-1
[Oct 14 21:18:14] DEBUG[6566] chan_dahdi.c: Set option TDD MODE, value: OFF(0) on DAHDI/1-1
[Oct 14 21:18:14] DEBUG[6566] sig_analog.c: Updated conferencing on 1, with 0 conference users
[Oct 14 21:18:14] DEBUG[6475] devicestate.c: No provider found, checking channel drivers for DAHDI - 1
[Oct 14 21:18:14] DEBUG[6475] devicestate.c: Changing state for DAHDI/1 - state 0 (Unknown)
[Oct 14 21:18:14] DEBUG[6475] devicestate.c: device 'DAHDI/1' state '0'
[Oct 14 21:18:14] DEBUG[6513] app_queue.c: Device 'DAHDI/1' changed to state '0' (Unknown) but we don't care because they're not a member of any queue.

т.е. видно что * CallerID, но более подробной информации нет. К сожалению/к счастью, не могу пока воспроизвести ошибку получения callerid теперь.

У меня появляется вот что:

[Oct 14 21:18:04] DEBUG[6485] chan_dahdi.c: Monitor doohicky got event Ring Begin on channel 1
[Oct 14 21:18:04] DEBUG[6485] sig_analog.c: channel (1) - signaling (5) - event (ANALOG_EVENT_RINGBEGIN)
[Oct 14 21:18:06] DEBUG[6485] chan_dahdi.c: Monitor doohicky got event Ring/Answered on channel 1
[Oct 14 21:18:06] DEBUG[6485] sig_analog.c: channel (1) - signaling (5) - event (ANALOG_EVENT_RINGOFFHOOK)
[Oct 14 21:18:06] DEBUG[6485] dsp.c: Setup tone 1100 Hz, 500 ms, block_size=160, hits_required=21
[Oct 14 21:18:06] DEBUG[6485] dsp.c: Setup tone 2100 Hz, 2600 ms, block_size=160, hits_required=116
[Oct 14 21:18:06] DEBUG[6485] dsp.c: dsp busy pattern set to 0,0
[Oct 14 21:18:06] DEBUG[6475] devicestate.c: No provider found, checking channel drivers for DAHDI - 1
[Oct 14 21:18:06] DEBUG[6475] devicestate.c: Changing state for DAHDI/1 - state 2 (In use)
[Oct 14 21:18:06] DEBUG[6475] devicestate.c: device 'DAHDI/1' state '2'
[Oct 14 21:18:06] DEBUG[6566] sig_analog.c: __analog_ss_thread 1
[Oct 14 21:18:06] DEBUG[6513] app_queue.c: Device 'DAHDI/1' changed to state '2' (In use) but we don't care because they're not a member of any queue.
[Oct 14 21:18:06] DEBUG[6566] chan_dahdi.c: CallerID number: 89265224173, name: (null), flags=4
[Oct 14 21:18:06] DEBUG[6566] pbx.c: Launching 'Wait'
[Oct 14 21:18:08] DEBUG[6566] pbx.c: Launching 'Answer'
[Oct 14 21:18:08] DEBUG[6566] sig_analog.c: analog_answer 1
[Oct 14 21:18:08] DEBUG[6566] sig_analog.c: Took DAHDI/1-1 off hook
[Oct 14 21:18:08] DEBUG[6566] chan_dahdi.c: Enabled echo cancellation on channel 1
[Oct 14 21:18:08] DEBUG[6566] chan_dahdi.c: No echo training requested
[Oct 14 21:18:08] DEBUG[6566] chan_dahdi.c: Requested indication -1 on channel DAHDI/1-1
[Oct 14 21:18:08] DEBUG[6475] devicestate.c: No provider found, checking channel drivers for DAHDI - 1
[Oct 14 21:18:08] DEBUG[6475] devicestate.c: Changing state for DAHDI/1 - state 2 (In use)
[Oct 14 21:18:08] DEBUG[6475] devicestate.c: device 'DAHDI/1' state '2'
[Oct 14 21:18:08] DEBUG[6513] app_queue.c: Device 'DAHDI/1' changed to state '2' (In use) but we don't care because they're not a member of any queue.
[Oct 14 21:18:08] DEBUG[6566] pbx.c: Function result is '"" <89265224173>'
[Oct 14 21:18:08] DEBUG[6566] pbx.c: Launching 'NoOp'
[Oct 14 21:18:08] DEBUG[6566] pbx.c: Result of 'EPOCH' is '1318612688'
[Oct 14 21:18:08] DEBUG[6566] pbx.c: Function result is '2011-10-14'
[Oct 14 21:18:08] DEBUG[6566] pbx.c: Launching 'NoOp'
[Oct 14 21:18:08] DEBUG[6566] pbx.c: Function result is '89265224173'
[Oct 14 21:18:08] DEBUG[6566] pbx.c: Launching 'Set'
[Oct 14 21:18:08] DEBUG[6566] pbx.c: Result of 'EPOCH' is '1318612688'
[Oct 14 21:18:08] DEBUG[6566] pbx.c: Function result is '2011'
[Oct 14 21:18:08] DEBUG[6566] pbx.c: Result of 'EPOCH' is '1318612688'
[Oct 14 21:18:08] DEBUG[6566] pbx.c: Function result is '10'
[Oct 14 21:18:08] DEBUG[6566] pbx.c: Result of 'EPOCH' is '1318612688'
[Oct 14 21:18:08] DEBUG[6566] pbx.c: Function result is '14'
[Oct 14 21:18:08] DEBUG[6566] pbx.c: Launching 'Set'
[Oct 14 21:18:08] DEBUG[6566] pbx.c: Result of 'RECORDS_DIRNAME' is '/var/spool/asterisk/records/2011-10-14'
[Oct 14 21:18:08] DEBUG[6566] pbx.c: Launching 'System'
[Oct 14 21:18:08] DEBUG[6566] pbx.c: Launching 'Wait'
[Oct 14 21:18:09] DEBUG[6566] pbx.c: Launching 'Playback'
[Oct 14 21:18:09] DEBUG[6566] channel.c: Set channel DAHDI/1-1 to write format gsm
[Oct 14 21:18:09] DEBUG[6566] channel.c: Scheduling timer at (50 requested / 50 actual) timer ticks per second
[Oct 14 21:18:12] DEBUG[6566] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second
[Oct 14 21:18:12] DEBUG[6566] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second
[Oct 14 21:18:12] DEBUG[6566] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second
[Oct 14 21:18:12] DEBUG[6566] channel.c: Set channel DAHDI/1-1 to write format ulaw
[Oct 14 21:18:12] DEBUG[6566] pbx.c: Result of 'RECORDS_DIRNAME' is '/var/spool/asterisk/records/2011-10-14'
[Oct 14 21:18:12] DEBUG[6566] pbx.c: Result of 'EPOCH' is '1318612692'
[Oct 14 21:18:12] DEBUG[6566] pbx.c: Function result is '21-18-12'
[Oct 14 21:18:12] DEBUG[6566] pbx.c: Result of 'RECORD_FILE_POSTFIX' is '89265224173'
[Oct 14 21:18:12] DEBUG[6566] pbx.c: Launching 'Set'
[Oct 14 21:18:12] DEBUG[6566] pbx.c: Launching 'Queue'
[Oct 14 21:18:12] DEBUG[6566] app_queue.c: NO QUEUE_PRIO variable found. Using default.
[Oct 14 21:18:12] DEBUG[6566] app_queue.c: queue: taxi-operators, options: t, url: , announce: , expires: 1318612992, priority: 0
[Oct 14 21:18:12] DEBUG[6566] app_queue.c: Queue taxi-operators has no realtime members defined. No need for update
[Oct 14 21:18:12] DEBUG[6566] app_queue.c: Queue 'taxi-operators' Join, Channel 'DAHDI/1-1', Position '1'
[Oct 14 21:18:12] DEBUG[6566] channel.c: Scheduling timer at (50 requested / 50 actual) timer ticks per second
[Oct 14 21:18:12] DEBUG[6566] app_queue.c: There are 0 available members.
[Oct 14 21:18:12] DEBUG[6566] app_queue.c: It's not our turn (DAHDI/1-1).
[Oct 14 21:18:12] DEBUG[6566] channel.c: Set channel DAHDI/1-1 to write format gsm
[Oct 14 21:18:12] DEBUG[6566] res_musiconhold.c: DAHDI/1-1 Opened file 8 '/var/lib/asterisk/moh2/19'
[Oct 14 21:18:14] DEBUG[6566] app_queue.c: There are 0 available members.
[Oct 14 21:18:14] DEBUG[6566] app_queue.c: It's not our turn (DAHDI/1-1).
[Oct 14 21:18:14] DEBUG[6566] dsp.c: Requesting Hangup because the busy tone was detected on channel DAHDI/1-1
[Oct 14 21:18:14] DEBUG[6566] channel.c: Set channel DAHDI/1-1 to write format ulaw
[Oct 14 21:18:14] DEBUG[6566] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second
[Oct 14 21:18:14] DEBUG[6566] app_queue.c: Queue 'taxi-operators' Leave, Channel 'DAHDI/1-1'
[Oct 14 21:18:14] DEBUG[6566] pbx.c: Spawn extension (incoming-from-pstn,s,11) exited non-zero on 'DAHDI/1-1'
[Oct 14 21:18:14] DEBUG[6566] channel.c: Soft-Hanging up channel 'DAHDI/1-1'
[Oct 14 21:18:14] DEBUG[6566] channel.c: Hanging up channel 'DAHDI/1-1'
[Oct 14 21:18:14] DEBUG[6566] chan_dahdi.c: dahdi_hangup(DAHDI/1-1)
[Oct 14 21:18:14] DEBUG[6566] sig_analog.c: analog_hangup 1
[Oct 14 21:18:14] DEBUG[6566] sig_analog.c: Hangup: channel: 1 index = 0, normal = 1, callwait = 0, thirdcall = 0
[Oct 14 21:18:14] DEBUG[6566] chan_dahdi.c: Disabled echo cancellation on channel 1
[Oct 14 21:18:14] DEBUG[6566] chan_dahdi.c: Set option TONE VERIFY, mode: OFF(0) on DAHDI/1-1
[Oct 14 21:18:14] DEBUG[6566] chan_dahdi.c: Set option TDD MODE, value: OFF(0) on DAHDI/1-1
[Oct 14 21:18:14] DEBUG[6566] sig_analog.c: Updated conferencing on 1, with 0 conference users
[Oct 14 21:18:14] DEBUG[6475] devicestate.c: No provider found, checking channel drivers for DAHDI - 1
[Oct 14 21:18:14] DEBUG[6475] devicestate.c: Changing state for DAHDI/1 - state 0 (Unknown)
[Oct 14 21:18:14] DEBUG[6475] devicestate.c: device 'DAHDI/1' state '0'
[Oct 14 21:18:14] DEBUG[6513] app_queue.c: Device 'DAHDI/1' changed to state '0' (Unknown) but we don't care because they're not a member of any queue.

т.е. видно что * CallerID, CallerID получил, но более подробной информации нет. К сожалению/к счастью, не могу пока воспроизвести ошибку получения callerid теперь.

Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией GNU GPL.