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

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

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

спросил 2013-08-26 22:08:32 +0400

lioncub Gravatar lioncub

DAHDI Не работает Busy / Hangup

FreePBX 2.10 FXO/FXS Parabel Asteroid

chan_dahdi.conf:

[channels]
language=ru
busydetect=yes
busycount=3
usecallerid=yes
callwaiting=yes
usecallingpres=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
echotraining=no
immediate=no
faxdetect=no
rxgain=0.0
txgain=0.0
callerid=asreceived
cidsignalling=bell
cidstart=ring
pulse=yes
pulsedial=no
restrictcid=no
rxflash=850
useincomingcalleridonzaptransfer=yes

Все работает кроме: если в Inbound Routes на внешнем аналоговом номере в Set Destination указано Terminate Call: Busy или Hangup. При этом звонивший не отбивается, а продолжает дозваниваться...

Лог:

[2013-08-26 23:56:01] VERBOSE[18545] sig_analog.c:     -- Starting simple switch on 'DAHDI/13-1'
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@from-zaptel:1] NoOp("DAHDI/13-1", "Entering from-dahdi with DID == ") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@from-zaptel:2] Ringing("DAHDI/13-1", "") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@from-zaptel:3] Set("DAHDI/13-1", "DID=s") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@from-zaptel:4] NoOp("DAHDI/13-1", "DID is now s") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@from-zaptel:5] GotoIf("DAHDI/13-1", "1?dahdiok:checkzap") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Goto (from-zaptel,s,9)
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@from-zaptel:9] NoOp("DAHDI/13-1", "Is a DAHDi Channel") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@from-zaptel:10] Set("DAHDI/13-1", "CHAN=13-1") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@from-zaptel:11] Set("DAHDI/13-1", "CHAN=13") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@from-zaptel:12] Macro("DAHDI/13-1", "from-dahdi-13,s,1") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@macro-from-dahdi-13:1] NoOp("DAHDI/13-1", "Entering macro-from-dahdi-13 with DID = s and setting to: 7770102") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@macro-from-dahdi-13:2] Set("DAHDI/13-1", "__FROM_DID=7770102") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@macro-from-dahdi-13:3] Goto("DAHDI/13-1", "from-trunk,7770102,1") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Goto (from-trunk,7770102,1)
[2013-08-26 23:56:05] VERBOSE[18545] app_macro.c:   == Channel 'DAHDI/13-1' jumping out of macro 'from-dahdi-13'
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [7770102@from-trunk:1] Set("DAHDI/13-1", "__FROM_DID=7770102") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [7770102@from-trunk:2] Gosub("DAHDI/13-1", "app-blacklist-check,s,1()") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@app-blacklist-check:1] GotoIf("DAHDI/13-1", "0?blacklisted") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@app-blacklist-check:2] Set("DAHDI/13-1", "CALLED_BLACKLIST=1") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@app-blacklist-check:3] Return("DAHDI/13-1", "") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [7770102@from-trunk:3] Set("DAHDI/13-1", "CDR(did)=7770102") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [7770102@from-trunk:4] ExecIf("DAHDI/13-1", "1 ?Set(CALLERID(name)=)") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [7770102@from-trunk:5] Set("DAHDI/13-1", "__CALLINGPRES_SV=allowed_not_screened") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [7770102@from-trunk:6] Set("DAHDI/13-1", "CALLERPRES()=allowed_not_screened") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [7770102@from-trunk:7] Goto("DAHDI/13-1", "app-blackhole,busy,1") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Goto (app-blackhole,busy,1)
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [busy@app-blackhole:1] NoOp("DAHDI/13-1", "Blackhole Dest: Busy") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [busy@app-blackhole:2] Busy("DAHDI/13-1", "20") in new stack
[2013-08-26 23:56:06] WARNING[18545] sig_analog.c: Ring/Off-hook in strange state 7 on channel 13
[2013-08-26 23:56:09] VERBOSE[18545] pbx.c:   == Spawn extension (app-blackhole, busy, 2) exited non-zero on 'DAHDI/13-1'
[2013-08-26 23:56:09] VERBOSE[18545] sig_analog.c:     -- Hanging up on 'DAHDI/13-1'
[2013-08-26 23:56:09] VERBOSE[18545] chan_dahdi.c:     -- Hungup 'DAHDI/13-1'
[2013-08-26 23:56:11] VERBOSE[18549] sig_analog.c:     -- Starting simple switch on 'DAHDI/13-1'
...

DAHDI Не работает Busy / Hangup

FreePBX 2.10 FXO/FXS Parabel Asteroid

chan_dahdi.conf:

[channels]
language=ru
busydetect=yes
busycount=3
usecallerid=yes
callwaiting=yes
usecallingpres=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
echotraining=no
immediate=no
faxdetect=no
rxgain=0.0
txgain=0.0
callerid=asreceived
cidsignalling=bell
cidstart=ring
pulse=yes
pulsedial=no
restrictcid=no
rxflash=850
useincomingcalleridonzaptransfer=yes

Все работает кроме: если в Inbound Routes на внешнем аналоговом номере в Set Destination указано Terminate Call: Busy или Hangup. При этом звонивший не отбивается, а продолжает дозваниваться...

Лог:

[2013-08-26 23:56:01] VERBOSE[18545] sig_analog.c:     -- Starting simple switch on 'DAHDI/13-1'
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@from-zaptel:1] NoOp("DAHDI/13-1", "Entering from-dahdi with DID == ") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@from-zaptel:2] Ringing("DAHDI/13-1", "") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@from-zaptel:3] Set("DAHDI/13-1", "DID=s") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@from-zaptel:4] NoOp("DAHDI/13-1", "DID is now s") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@from-zaptel:5] GotoIf("DAHDI/13-1", "1?dahdiok:checkzap") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Goto (from-zaptel,s,9)
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@from-zaptel:9] NoOp("DAHDI/13-1", "Is a DAHDi Channel") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@from-zaptel:10] Set("DAHDI/13-1", "CHAN=13-1") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@from-zaptel:11] Set("DAHDI/13-1", "CHAN=13") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@from-zaptel:12] Macro("DAHDI/13-1", "from-dahdi-13,s,1") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@macro-from-dahdi-13:1] NoOp("DAHDI/13-1", "Entering macro-from-dahdi-13 with DID = s and setting to: 7770102") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@macro-from-dahdi-13:2] Set("DAHDI/13-1", "__FROM_DID=7770102") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@macro-from-dahdi-13:3] Goto("DAHDI/13-1", "from-trunk,7770102,1") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Goto (from-trunk,7770102,1)
[2013-08-26 23:56:05] VERBOSE[18545] app_macro.c:   == Channel 'DAHDI/13-1' jumping out of macro 'from-dahdi-13'
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [7770102@from-trunk:1] Set("DAHDI/13-1", "__FROM_DID=7770102") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [7770102@from-trunk:2] Gosub("DAHDI/13-1", "app-blacklist-check,s,1()") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@app-blacklist-check:1] GotoIf("DAHDI/13-1", "0?blacklisted") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@app-blacklist-check:2] Set("DAHDI/13-1", "CALLED_BLACKLIST=1") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@app-blacklist-check:3] Return("DAHDI/13-1", "") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [7770102@from-trunk:3] Set("DAHDI/13-1", "CDR(did)=7770102") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [7770102@from-trunk:4] ExecIf("DAHDI/13-1", "1 ?Set(CALLERID(name)=)") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [7770102@from-trunk:5] Set("DAHDI/13-1", "__CALLINGPRES_SV=allowed_not_screened") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [7770102@from-trunk:6] Set("DAHDI/13-1", "CALLERPRES()=allowed_not_screened") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [7770102@from-trunk:7] Goto("DAHDI/13-1", "app-blackhole,busy,1") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Goto (app-blackhole,busy,1)
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [busy@app-blackhole:1] NoOp("DAHDI/13-1", "Blackhole Dest: Busy") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [busy@app-blackhole:2] Busy("DAHDI/13-1", "20") in new stack
[2013-08-26 23:56:06] WARNING[18545] sig_analog.c: Ring/Off-hook in strange state 7 on channel 13
[2013-08-26 23:56:09] VERBOSE[18545] pbx.c:   == Spawn extension (app-blackhole, busy, 2) exited non-zero on 'DAHDI/13-1'
[2013-08-26 23:56:09] VERBOSE[18545] sig_analog.c:     -- Hanging up on 'DAHDI/13-1'
[2013-08-26 23:56:09] VERBOSE[18545] chan_dahdi.c:     -- Hungup 'DAHDI/13-1'
[2013-08-26 23:56:11] VERBOSE[18549] sig_analog.c:     -- Starting simple switch on 'DAHDI/13-1'
...

Как сбросить звонок с аналоговой линии средствами freepbx?

DAHDI Не работает Busy / HangupСброс аналоговой линии

FreePBX 2.10 FXO/FXS Parabel Asteroid

chan_dahdi.conf:

[channels]
language=ru
busydetect=yes
busycount=3
usecallerid=yes
callwaiting=yes
usecallingpres=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
echotraining=no
immediate=no
faxdetect=no
rxgain=0.0
txgain=0.0
callerid=asreceived
cidsignalling=bell
cidstart=ring
pulse=yes
pulsedial=no
restrictcid=no
rxflash=850
useincomingcalleridonzaptransfer=yes

Все работает кроме: если в Inbound Routes на внешнем аналоговом номере в Set Destination указано Terminate Call: Busy или Hangup. При этом звонивший не отбивается, а продолжает дозваниваться...

Лог:

[2013-08-26 23:56:01] VERBOSE[18545] sig_analog.c:     -- Starting simple switch on 'DAHDI/13-1'
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@from-zaptel:1] NoOp("DAHDI/13-1", "Entering from-dahdi with DID == ") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@from-zaptel:2] Ringing("DAHDI/13-1", "") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@from-zaptel:3] Set("DAHDI/13-1", "DID=s") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@from-zaptel:4] NoOp("DAHDI/13-1", "DID is now s") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@from-zaptel:5] GotoIf("DAHDI/13-1", "1?dahdiok:checkzap") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Goto (from-zaptel,s,9)
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@from-zaptel:9] NoOp("DAHDI/13-1", "Is a DAHDi Channel") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@from-zaptel:10] Set("DAHDI/13-1", "CHAN=13-1") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@from-zaptel:11] Set("DAHDI/13-1", "CHAN=13") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@from-zaptel:12] Macro("DAHDI/13-1", "from-dahdi-13,s,1") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@macro-from-dahdi-13:1] NoOp("DAHDI/13-1", "Entering macro-from-dahdi-13 with DID = s and setting to: 7770102") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@macro-from-dahdi-13:2] Set("DAHDI/13-1", "__FROM_DID=7770102") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@macro-from-dahdi-13:3] Goto("DAHDI/13-1", "from-trunk,7770102,1") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Goto (from-trunk,7770102,1)
[2013-08-26 23:56:05] VERBOSE[18545] app_macro.c:   == Channel 'DAHDI/13-1' jumping out of macro 'from-dahdi-13'
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [7770102@from-trunk:1] Set("DAHDI/13-1", "__FROM_DID=7770102") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [7770102@from-trunk:2] Gosub("DAHDI/13-1", "app-blacklist-check,s,1()") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@app-blacklist-check:1] GotoIf("DAHDI/13-1", "0?blacklisted") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@app-blacklist-check:2] Set("DAHDI/13-1", "CALLED_BLACKLIST=1") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [s@app-blacklist-check:3] Return("DAHDI/13-1", "") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [7770102@from-trunk:3] Set("DAHDI/13-1", "CDR(did)=7770102") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [7770102@from-trunk:4] ExecIf("DAHDI/13-1", "1 ?Set(CALLERID(name)=)") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [7770102@from-trunk:5] Set("DAHDI/13-1", "__CALLINGPRES_SV=allowed_not_screened") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [7770102@from-trunk:6] Set("DAHDI/13-1", "CALLERPRES()=allowed_not_screened") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [7770102@from-trunk:7] Goto("DAHDI/13-1", "app-blackhole,busy,1") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Goto (app-blackhole,busy,1)
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [busy@app-blackhole:1] NoOp("DAHDI/13-1", "Blackhole Dest: Busy") in new stack
[2013-08-26 23:56:05] VERBOSE[18545] pbx.c:     -- Executing [busy@app-blackhole:2] Busy("DAHDI/13-1", "20") in new stack
[2013-08-26 23:56:06] WARNING[18545] sig_analog.c: Ring/Off-hook in strange state 7 on channel 13
[2013-08-26 23:56:09] VERBOSE[18545] pbx.c:   == Spawn extension (app-blackhole, busy, 2) exited non-zero on 'DAHDI/13-1'
[2013-08-26 23:56:09] VERBOSE[18545] sig_analog.c:     -- Hanging up on 'DAHDI/13-1'
[2013-08-26 23:56:09] VERBOSE[18545] chan_dahdi.c:     -- Hungup 'DAHDI/13-1'
[2013-08-26 23:56:11] VERBOSE[18549] sig_analog.c:     -- Starting simple switch on 'DAHDI/13-1'
...

Как сбросить звонок с аналоговой линии средствами freepbx?

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