1 | изначальная версия редактировать | |
Установлен Asterisk 1.8 + плата OpenVox AE1610P
Есть 2 аналоговые линии подключенные на плату AE1610P.
Входящие звонки принимаю без проблем. А позвонить с аналоговых линий проблема! При наборе номера постоянно идет длинный сигнал.
Как можно решить данную проблему?
Настройки chan_dahdi.conf
; Copied from DAHDI Module of FreePBX
[general]
; generated by module #include chandahdigeneral.conf
; for user additions not provided by module #include chandahdigeneral_custom.conf
[channels]
language=ru
context=form-pstn ;signalling=fxs_ks rxgain=30% ; Увеличение входящей громкости динамик txgain=30% ; Увеличение исходящей громкости микрофон
context=form-internal ;signalling=pri_cpe
rxwink=300 ;Atlas seems tu use long (250ms) lines ; ; Whether or not to do distinctive ring detection on FXO lines ; ;usedistinctiveringdetection=yes busydetect=yes busycount=10 usecallerid=yes hidecallerid=no callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes cancallforward=yes callreturn=yes
;echocancel=yes echocancel=256 echotraining=800
echocancelwhenbridged=yes
;echotraining=no pulsedial=yes relaxdtmf=yes busydetect=yes busycount=3
rxgain=10.0 ; Увеличение входящей громкости txgain=1.0 ; Увеличение исходящей громкости
;group=0 ;callgroup=l ;pickupgroup=l ;immediate=no
;faxdetect=both ;faxdetect=incoming ;faxdetect=outgoing ;faxdetect=no
;group=0,1 ;context=from-trunk ;switchtype = euroisdn ;signalling = pri_net ;channel => 1-15,17-31 ;context = default group = 63
;group=l
;Include AMP configs #include chandahdiadditional.conf
#include dahdi-channels.conf
; for user additions not provided by module #include chandahdichannels_custom.conf
; include dahdi groups defined by DAHDI module of FreePBX
;#include chandahdigroups.conf
; include dahdi extensions defined in FreePBX
;#include chandahdiadditional.conf
2 | No.2 Revision редактировать |
Установлен Asterisk 1.8 + плата OpenVox AE1610P
Есть 2 аналоговые линии подключенные на плату AE1610P.
Входящие звонки принимаю без проблем. А позвонить с аналоговых линий проблема! При наборе номера постоянно идет длинный сигнал.
Как можно решить данную проблему?
Настройки chan_dahdi.conf
; Copied from DAHDI Module of FreePBX
[general]
; generated by module #include chandahdigeneral.conf
; for user additions not provided by module #include chandahdigeneral_custom.conf
[channels]
language=ru
context=form-pstn ;signalling=fxs_ks rxgain=30% ; Увеличение входящей громкости динамик txgain=30% ; Увеличение исходящей громкости микрофон
context=form-internal ;signalling=pri_cpe
rxwink=300 ;Atlas seems tu use long (250ms) lines ; ; Whether or not to do distinctive ring detection on FXO lines ; ;usedistinctiveringdetection=yes busydetect=yes busycount=10 usecallerid=yes hidecallerid=no callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes cancallforward=yes callreturn=yes
;echocancel=yes echocancel=256 echotraining=800
echocancelwhenbridged=yes
;echotraining=no pulsedial=yes relaxdtmf=yes busydetect=yes busycount=3
rxgain=10.0 ; Увеличение входящей громкости txgain=1.0 ; Увеличение исходящей громкости
;group=0 ;callgroup=l ;pickupgroup=l ;immediate=no
;faxdetect=both ;faxdetect=incoming ;faxdetect=outgoing ;faxdetect=no
;group=0,1 ;context=from-trunk ;switchtype = euroisdn ;signalling = pri_net ;channel => 1-15,17-31 ;context = default group = 63
;group=l
;Include AMP configs #include chandahdiadditional.conf
#include dahdi-channels.conf
; for user additions not provided by module #include chandahdichannels_custom.conf
; include dahdi groups defined by DAHDI module of FreePBX
;#include chandahdigroups.conf
; include dahdi extensions defined in FreePBX
;#include chandahdiadditional.conf
3 | No.3 Revision редактировать |
Установлен Asterisk 1.8 + плата OpenVox AE1610P
Есть 2 аналоговые линии подключенные на плату AE1610P.
Входящие звонки принимаю без проблем. А позвонить с аналоговых линий проблема! При наборе номера постоянно идет длинный сигнал.
Как можно решить данную проблему?
Настройки chan_dahdi.conf
; Copied from DAHDI Module of FreePBX [general]
FreePBX
[general]
; generated by module
#include chandahdigeneral.conf chan_dahdi_general.conf
; for user additions not provided by module
#include chandahdigeneral_custom.conf [channels]
language=ru
chan_dahdi_general_custom.conf
[channels]
language=ru
context=form-pstn
;signalling=fxs_ks
rxgain=30% ; Увеличение входящей громкости динамик
txgain=30% ; Увеличение исходящей громкости микрофон микрофон
context=form-internal
;signalling=pri_cpe ;signalling=pri_cpe
rxwink=300 ;Atlas seems tu use long (250ms) lines
;
; Whether or not to do distinctive ring detection on FXO lines
;
;usedistinctiveringdetection=yes
busydetect=yes
busycount=10
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes callreturn=yes
;echocancel=yes
echocancel=256
echotraining=800 echocancelwhenbridged=yes
echotraining=800
echocancelwhenbridged=yes
;echotraining=no
pulsedial=yes
relaxdtmf=yes
busydetect=yes
busycount=3 busycount=3
rxgain=10.0 ; Увеличение входящей громкости
txgain=1.0 ; Увеличение исходящей громкости громкости
;group=0
;callgroup=l
;pickupgroup=l
;immediate=no ;immediate=no
;faxdetect=both
;faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no ;faxdetect=no
;group=0,1
;context=from-trunk
;switchtype = euroisdn
;signalling = pri_net
;channel => 1-15,17-31
;context = default
group = 63 ;group=l
63
;group=l
;Include AMP configs
#include chandahdiadditional.conf #include dahdi-channels.conf
chan_dahdi_additional.conf
#include dahdi-channels.conf
; for user additions not provided by module
#include chandahdichannels_custom.conf chan_dahdi_channels_custom.conf
; include dahdi groups defined by DAHDI module of FreePBX FreePBX
;#include chandahdigroups.conf chan_dahdi_groups.conf
; include dahdi extensions defined in FreePBX FreePBX
;#include chandahdiadditional.confchan_dahdi_additional.conf
4 | No.4 Revision редактировать |
Установлен Asterisk 1.8 + плата OpenVox AE1610P
Есть 2 аналоговые линии подключенные на плату AE1610P.
Входящие звонки принимаю без проблем. А позвонить с аналоговых линий проблема! При наборе номера постоянно идет длинный сигнал.
Как можно решить данную проблему?
Настройки chan_dahdi.conf
; Copied from DAHDI Module of FreePBX
[general]
; generated by module
#include chan_dahdi_general.conf
; for user additions not provided by module
#include chan_dahdi_general_custom.conf
[channels]
language=ru
context=form-pstn
;signalling=fxs_ks
rxgain=30% ; Увеличение входящей громкости динамик
txgain=30% ; Увеличение исходящей громкости микрофон
context=form-internal
;signalling=pri_cpe
rxwink=300 ;Atlas seems tu use long (250ms) lines
;
; Whether or not to do distinctive ring detection on FXO lines
;
;usedistinctiveringdetection=yes
busydetect=yes
busycount=10
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
;echocancel=yes
echocancel=256
echotraining=800
echocancelwhenbridged=yes
;echotraining=no
pulsedial=yes
relaxdtmf=yes
busydetect=yes
busycount=3
rxgain=10.0 ; Увеличение входящей громкости
txgain=1.0 ; Увеличение исходящей громкости
;group=0
;callgroup=l
;pickupgroup=l
;immediate=no
;faxdetect=both
;faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no
;group=0,1
;context=from-trunk
;switchtype = euroisdn
;signalling = pri_net
;channel => 1-15,17-31
;context = default
group = 63
;group=l
;Include AMP configs
#include chan_dahdi_additional.conf
#include dahdi-channels.conf
; for user additions not provided by module
#include chan_dahdi_channels_custom.conf
; include dahdi groups defined by DAHDI module of FreePBX
;#include chan_dahdi_groups.conf
; include dahdi extensions defined in FreePBX
;#include chan_dahdi_additional.conf
Настройки dahdi-channels.conf
; Span 1: OPVXA24XX/24 "OpenVox A1610 Board 25" (MASTER) ;;; line="1 OPVXA24XX/24/0 FXSKS" signalling=fxo_ks callerid="Channel 1" <4001> mailbox=4001 group=0 context=from-internal channel => 1 callerid= mailbox= group= context=default
;;; line="2 OPVXA24XX/24/1 FXSKS" signalling=fxo_ks callerid="Channel 2" <4002> mailbox=4002 group=5 context=from-internal channel => 2 callerid= mailbox= group= context=default
;;; line="3 OPVXA24XX/24/2 FXSKS" signalling=fxo_ks callerid="Channel 3" <4003> mailbox=4003 group=0 context=from-internal channel => 3 callerid= mailbox= group= context=default
;;; line="4 OPVXA24XX/24/3 FXSKS" signalling=fxo_ks callerid="Channel 4" <4004> mailbox=4004 group=0 context=from-internal channel => 4 callerid= mailbox= group= context=default
;;; line="5 OPVXA24XX/24/4 FXSKS" signalling=fxs_ks callerid=asreceived group=0 context=from-pstn channel => 5 callerid= group= context=default
;;; line="6 OPVXA24XX/24/5 FXSKS" signalling=fxs_ks callerid=asreceived group=0 context=from-pstn channel => 6 callerid= group= context=default
;;; line="7 OPVXA24XX/24/6 FXSKS" signalling=fxs_ks callerid=asreceived group=0 context=from-pstn channel => 7 callerid= group= context=default
;;; line="8 OPVXA24XX/24/7 FXSKS" signalling=fxs_ks callerid=asreceived group=0 context=from-pstn channel => 8 callerid= group= context=default
5 | No.5 Revision редактировать |
Установлен Asterisk 1.8 + плата OpenVox AE1610P
Есть 2 аналоговые линии подключенные на плату AE1610P.
Входящие звонки принимаю без проблем. А позвонить с аналоговых линий проблема! При наборе номера постоянно идет длинный сигнал.
Как можно решить данную проблему?
Настройки chan_dahdi.conf
; Copied from DAHDI Module of FreePBX
[general]
; generated by module
#include chan_dahdi_general.conf
; for user additions not provided by module
#include chan_dahdi_general_custom.conf
[channels]
language=ru
context=form-pstn
;signalling=fxs_ks
rxgain=30% ; Увеличение входящей громкости динамик
txgain=30% ; Увеличение исходящей громкости микрофон
context=form-internal
;signalling=pri_cpe
rxwink=300 ;Atlas seems tu use long (250ms) lines
;
; Whether or not to do distinctive ring detection on FXO lines
;
;usedistinctiveringdetection=yes
busydetect=yes
busycount=10
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
;echocancel=yes
echocancel=256
echotraining=800
echocancelwhenbridged=yes
;echotraining=no
pulsedial=yes
relaxdtmf=yes
busydetect=yes
busycount=3
rxgain=10.0 ; Увеличение входящей громкости
txgain=1.0 ; Увеличение исходящей громкости
;group=0
;callgroup=l
;pickupgroup=l
;immediate=no
;faxdetect=both
;faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no
;group=0,1
;context=from-trunk
;switchtype = euroisdn
;signalling = pri_net
;channel => 1-15,17-31
;context = default
group = 63
;group=l
;Include AMP configs
#include chan_dahdi_additional.conf
#include dahdi-channels.conf
; for user additions not provided by module
#include chan_dahdi_channels_custom.conf
; include dahdi groups defined by DAHDI module of FreePBX
;#include chan_dahdi_groups.conf
; include dahdi extensions defined in FreePBX
;#include chan_dahdi_additional.conf
Настройки dahdi-channels.conf
; Span 1: OPVXA24XX/24 "OpenVox A1610 Board 25" (MASTER)
;;; line="1 OPVXA24XX/24/0 FXSKS"
signalling=fxo_ks
callerid="Channel 1" <4001>
mailbox=4001
group=0
context=from-internal
channel => 1
callerid=
mailbox=
group=
6 | No.6 Revision редактировать |
Установлен Asterisk 1.8 + плата OpenVox AE1610P
Есть 2 аналоговые линии подключенные на плату AE1610P.
Входящие звонки принимаю без проблем. А позвонить с аналоговых линий проблема! При наборе номера постоянно идет длинный сигнал.
Как можно решить данную проблему?
Настройки chan_dahdi.conf
; Copied from DAHDI Module of FreePBX
[general]
; generated by module
#include chan_dahdi_general.conf
; for user additions not provided by module
#include chan_dahdi_general_custom.conf
[channels]
language=ru
context=form-pstn
;signalling=fxs_ks
rxgain=30% ; Увеличение входящей громкости динамик
txgain=30% ; Увеличение исходящей громкости микрофон
context=form-internal
;signalling=pri_cpe
rxwink=300 ;Atlas seems tu use long (250ms) lines
;
; Whether or not to do distinctive ring detection on FXO lines
;
;usedistinctiveringdetection=yes
busydetect=yes
busycount=10
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
;echocancel=yes
echocancel=256
echotraining=800
echocancelwhenbridged=yes
;echotraining=no
pulsedial=yes
relaxdtmf=yes
busydetect=yes
busycount=3
rxgain=10.0 ; Увеличение входящей громкости
txgain=1.0 ; Увеличение исходящей громкости
;group=0
;callgroup=l
;pickupgroup=l
;immediate=no
;faxdetect=both
;faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no
;group=0,1
;context=from-trunk
;switchtype = euroisdn
;signalling = pri_net
;channel => 1-15,17-31
;context = default
group = 63
;group=l
;Include AMP configs
#include chan_dahdi_additional.conf
#include dahdi-channels.conf
; for user additions not provided by module
#include chan_dahdi_channels_custom.conf
; include dahdi groups defined by DAHDI module of FreePBX
;#include chan_dahdi_groups.conf
; include dahdi extensions defined in FreePBX
;#include chan_dahdi_additional.conf
Настройки dahdi-channels.conf
; Span 1: OPVXA24XX/24 "OpenVox A1610 Board 25" (MASTER)
;;; line="1 OPVXA24XX/24/0 FXSKS"
signalling=fxo_ks
callerid="Channel 1" <4001>
mailbox=4001
group=0
context=from-internal
channel => 1
callerid=
mailbox=
group=
context=default
;;; line="2 OPVXA24XX/24/1 FXSKS"
signalling=fxo_ks
callerid="Channel 2" <4002>
mailbox=4002
group=5
context=from-internal
channel => 2
callerid=
mailbox=
group=
context=default
;;; line="3 OPVXA24XX/24/2 FXSKS"
signalling=fxo_ks
callerid="Channel 3" <4003>
mailbox=4003
group=0
context=from-internal
channel => 3
callerid=
mailbox=
group=
context=default
;;; line="4 OPVXA24XX/24/3 FXSKS"
signalling=fxo_ks
callerid="Channel 4" <4004>
mailbox=4004
group=0
context=from-internal
channel => 4
callerid=
mailbox=
group=
context=default
;;; line="5 OPVXA24XX/24/4 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 5
callerid=
group=
context=default
;;; line="6 OPVXA24XX/24/5 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 6
callerid=
group=
context=default
;;; line="7 OPVXA24XX/24/6 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 7
callerid=
group=
context=default
;;; line="8 OPVXA24XX/24/7 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 8
callerid=
group=
context=default
Настройки extensions.conf
[from-internal]
;Исходящие очереди exten => 9,1,Dial(dahdi/5/{EXTEN}) exten => 9,n,Dial(dahdi/6/{EXTEN}) exten => 9,n,Dial(dahdi/7/{EXTEN}) exten => 9,n,Dial(dahdi/8/{EXTEN}) exten => 9,n,Hangup()
;Аналоговая линия 3 exten => 83,1,Set(CALLERID(num)=3805447XXXXX) exten => 1,1,Dial(dahdi/5/101); Экстренная служба 101 exten => 2,1,Dial(dahdi/5/102); Экстренная служба 102 exten => 3,1,Dial(dahdi/5/103); Экстренная Служба 103 exten => 83,2,Dial(dahdi/5/{EXTEN}) exten => 83,3,Hangup()
;Мобильный оператор exten => 88,1,Set(CALLERID(num)=38067XXXXX) exten => 88,2,Dial(dahdi/6/{EXTEN}) exten => 88,3,Hangup()
;Аналоговая линия 1 exten => 81,1,Set(CALLERID(num)=3805447XXXXX) exten => 1,1,Dial(dahdi/7/101); Экстренная служба 101 exten => 2,1,Dial(dahdi/7/102); Экстренная служба 102 exten => 3,1,Dial(dahdi/7/103); Экстренная Служба 103 exten => 81,2,Dial(dahdi/7/{EXTEN}) exten => 81,3,Hangup()
;Аналоговая линия 2 exten => 82,1,Set(CALLERID(num)=3805447XXXXX) exten => 1,1,Dial(dahdi/8/101); Экстренная служба 101 exten => 2,1,Dial(dahdi/8/102); Экстренная служба 102 exten => 3,1,Dial(dahdi/8/103); Экстренная Служба 103 exten => 82,2,Dial(dahdi/8/{EXTEN}) exten => 82,3,Hangup()
7 | No.7 Revision редактировать |
Установлен Asterisk 1.8 + плата OpenVox AE1610P
Есть 2 аналоговые линии подключенные на плату AE1610P.
Входящие звонки принимаю без проблем. А позвонить с аналоговых линий проблема! При наборе номера постоянно идет длинный сигнал.
Как можно решить данную проблему?
Настройки chan_dahdi.conf
; Copied from DAHDI Module of FreePBX
[general]
; generated by module
#include chan_dahdi_general.conf
; for user additions not provided by module
#include chan_dahdi_general_custom.conf
[channels]
language=ru
context=form-pstn
;signalling=fxs_ks
rxgain=30% ; Увеличение входящей громкости динамик
txgain=30% ; Увеличение исходящей громкости микрофон
context=form-internal
;signalling=pri_cpe
rxwink=300 ;Atlas seems tu use long (250ms) lines
;
; Whether or not to do distinctive ring detection on FXO lines
;
;usedistinctiveringdetection=yes
busydetect=yes
busycount=10
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
;echocancel=yes
echocancel=256
echotraining=800
echocancelwhenbridged=yes
;echotraining=no
pulsedial=yes
relaxdtmf=yes
busydetect=yes
busycount=3
rxgain=10.0 ; Увеличение входящей громкости
txgain=1.0 ; Увеличение исходящей громкости
;group=0
;callgroup=l
;pickupgroup=l
;immediate=no
;faxdetect=both
;faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no
;group=0,1
;context=from-trunk
;switchtype = euroisdn
;signalling = pri_net
;channel => 1-15,17-31
;context = default
group = 63
;group=l
;Include AMP configs
#include chan_dahdi_additional.conf
#include dahdi-channels.conf
; for user additions not provided by module
#include chan_dahdi_channels_custom.conf
; include dahdi groups defined by DAHDI module of FreePBX
;#include chan_dahdi_groups.conf
; include dahdi extensions defined in FreePBX
;#include chan_dahdi_additional.conf
Настройки dahdi-channels.conf
; Span 1: OPVXA24XX/24 "OpenVox A1610 Board 25" (MASTER)
;;; line="1 OPVXA24XX/24/0 FXSKS"
signalling=fxo_ks
callerid="Channel 1" <4001>
mailbox=4001
group=0
context=from-internal
channel => 1
callerid=
mailbox=
group=
context=default
;;; line="2 OPVXA24XX/24/1 FXSKS"
signalling=fxo_ks
callerid="Channel 2" <4002>
mailbox=4002
group=5
context=from-internal
channel => 2
callerid=
mailbox=
group=
context=default
;;; line="3 OPVXA24XX/24/2 FXSKS"
signalling=fxo_ks
callerid="Channel 3" <4003>
mailbox=4003
group=0
context=from-internal
channel => 3
callerid=
mailbox=
group=
context=default
;;; line="4 OPVXA24XX/24/3 FXSKS"
signalling=fxo_ks
callerid="Channel 4" <4004>
mailbox=4004
group=0
context=from-internal
channel => 4
callerid=
mailbox=
group=
context=default
;;; line="5 OPVXA24XX/24/4 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 5
callerid=
group=
context=default
;;; line="6 OPVXA24XX/24/5 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 6
callerid=
group=
context=default
;;; line="7 OPVXA24XX/24/6 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 7
callerid=
group=
context=default
;;; line="8 OPVXA24XX/24/7 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 8
callerid=
group=
context=default
Настройки extensions.conf
[from-internal]
[from-internal]
;Исходящие очереди
exten => 9,1,Dial(dahdi/5/{EXTEN})
exten => 9,n,Dial(dahdi/6/{EXTEN})
exten => 9,n,Dial(dahdi/7/{EXTEN})
exten => 9,n,Dial(dahdi/8/{EXTEN})
exten => 8 | No.8 Revision редактировать |
Установлен Asterisk 1.8 + плата OpenVox AE1610P
Есть 2 аналоговые линии подключенные на плату AE1610P.
Входящие звонки принимаю без проблем. А позвонить с аналоговых линий проблема! При наборе номера постоянно идет длинный сигнал.
Как можно решить данную проблему?
Настройки chan_dahdi.conf
; Copied from DAHDI Module of FreePBX
[general]
; generated by module
#include chan_dahdi_general.conf
; for user additions not provided by module
#include chan_dahdi_general_custom.conf
[channels]
language=ru
context=form-pstn
;signalling=fxs_ks
rxgain=30% ; Увеличение входящей громкости динамик
txgain=30% ; Увеличение исходящей громкости микрофон
context=form-internal
;signalling=pri_cpe
rxwink=300 ;Atlas seems tu use long (250ms) lines
;
; Whether or not to do distinctive ring detection on FXO lines
;
;usedistinctiveringdetection=yes
busydetect=yes
busycount=10
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
;echocancel=yes
echocancel=256
echotraining=800
echocancelwhenbridged=yes
;echotraining=no
pulsedial=yes
relaxdtmf=yes
busydetect=yes
busycount=3
rxgain=10.0 ; Увеличение входящей громкости
txgain=1.0 ; Увеличение исходящей громкости
;group=0
;callgroup=l
;pickupgroup=l
;immediate=no
;faxdetect=both
;faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no
;group=0,1
;context=from-trunk
;switchtype = euroisdn
;signalling = pri_net
;channel => 1-15,17-31
;context = default
group = 63
;group=l
;Include AMP configs
#include chan_dahdi_additional.conf
#include dahdi-channels.conf
; for user additions not provided by module
#include chan_dahdi_channels_custom.conf
; include dahdi groups defined by DAHDI module of FreePBX
;#include chan_dahdi_groups.conf
; include dahdi extensions defined in FreePBX
;#include chan_dahdi_additional.conf
Настройки dahdi-channels.conf
; Span 1: OPVXA24XX/24 "OpenVox A1610 Board 25" (MASTER)
;;; line="1 OPVXA24XX/24/0 FXSKS"
signalling=fxo_ks
callerid="Channel 1" <4001>
mailbox=4001
group=0
context=from-internal
channel => 1
callerid=
mailbox=
group=
context=default
;;; line="2 OPVXA24XX/24/1 FXSKS"
signalling=fxo_ks
callerid="Channel 2" <4002>
mailbox=4002
group=5
context=from-internal
channel => 2
callerid=
mailbox=
group=
context=default
;;; line="3 OPVXA24XX/24/2 FXSKS"
signalling=fxo_ks
callerid="Channel 3" <4003>
mailbox=4003
group=0
context=from-internal
channel => 3
callerid=
mailbox=
group=
context=default
;;; line="4 OPVXA24XX/24/3 FXSKS"
signalling=fxo_ks
callerid="Channel 4" <4004>
mailbox=4004
group=0
context=from-internal
channel => 4
callerid=
mailbox=
group=
context=default
;;; line="5 OPVXA24XX/24/4 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 5
callerid=
group=
context=default
;;; line="6 OPVXA24XX/24/5 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 6
callerid=
group=
context=default
;;; line="7 OPVXA24XX/24/6 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 7
callerid=
group=
context=default
;;; line="8 OPVXA24XX/24/7 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 8
callerid=
group=
context=default
Настройки extensions.conf
[from-internal]
;Исходящие очереди
exten => 9,1,Dial(dahdi/5/{EXTEN})
exten => 9,n,Dial(dahdi/6/{EXTEN})
exten => 9,n,Dial(dahdi/7/{EXTEN})
exten => 9,n,Dial(dahdi/8/{EXTEN})
exten => 9,n,Hangup()
;Аналоговая линия 3
exten => 83,1,Set(CALLERID(num)=3805447XXXXX)
exten => 1,1,Dial(dahdi/5/101); Экстренная служба 101
exten => 2,1,Dial(dahdi/5/102); Экстренная служба 102
exten => 3,1,Dial(dahdi/5/103); Экстренная Служба 103
exten => 83,2,Dial(dahdi/5/{EXTEN})
exten => 83,3,Hangup()
;Мобильный оператор
exten => 88,1,Set(CALLERID(num)=38067XXXXX)
exten => 88,2,Dial(dahdi/6/{EXTEN})
exten => 88,3,Hangup()
;Аналоговая линия 1
exten => 81,1,Set(CALLERID(num)=3805447XXXXX)
exten => 1,1,Dial(dahdi/7/101); Экстренная служба 101
exten => 2,1,Dial(dahdi/7/102); Экстренная служба 102
exten => 3,1,Dial(dahdi/7/103); Экстренная Служба 103
exten => 81,2,Dial(dahdi/7/{EXTEN})
exten => 81,3,Hangup()
;Аналоговая линия 2
exten => 82,1,Set(CALLERID(num)=3805447XXXXX)
exten => 1,1,Dial(dahdi/8/101); Экстренная служба 101
exten => 2,1,Dial(dahdi/8/102); Экстренная служба 102
exten => 3,1,Dial(dahdi/8/103); Экстренная Служба 103
exten => 82,2,Dial(dahdi/8/{EXTEN})
exten => 82,3,Hangup()
В логе: tail -f /var/log/asterisk/full
[Dec 12 10:57:45] WARNING[22078] chan_dahdi.c: Unable to request echo training on channel 7: Invalid argument [Dec 12 10:57:49] DTMF[22078] channel.c: DTMF begin '0' received on SIP/27-0000001c [Dec 12 10:57:49] DTMF[22078] channel.c: DTMF begin passthrough '0' on SIP/27-0000001c [Dec 12 10:57:49] DTMF[22078] channel.c: DTMF end '0' received on SIP/27-0000001c, duration 260 ms [Dec 12 10:57:49] DTMF[22078] channel.c: DTMF end accepted with begin '0' on SIP/27-0000001c [Dec 12 10:57:49] DTMF[22078] channel.c: DTMF end passthrough '0' on SIP/27-0000001c [Dec 12 10:57:51] DTMF[22078] channel.c: DTMF begin '9' received on SIP/27-0000001c [Dec 12 10:57:51] DTMF[22078] channel.c: DTMF begin passthrough '9' on SIP/27-0000001c [Dec 12 10:57:51] DTMF[22078] channel.c: DTMF end '9' received on SIP/27-0000001c, duration 260 ms [Dec 12 10:57:51] DTMF[22078] channel.c: DTMF end accepted with begin '9' on SIP/27-0000001c [Dec 12 10:57:51] DTMF[22078] channel.c: DTMF end passthrough '9' on SIP/27-0000001c [Dec 12 10:57:52] DTMF[22078] channel.c: DTMF begin '7' received on SIP/27-0000001c [Dec 12 10:57:52] DTMF[22078] channel.c: DTMF begin passthrough '7' on SIP/27-0000001c [Dec 12 10:57:53] DTMF[22078] channel.c: DTMF end '7' received on SIP/27-0000001c, duration 260 ms [Dec 12 10:57:53] DTMF[22078] channel.c: DTMF end accepted with begin '7' on SIP/27-0000001c [Dec 12 10:57:53] DTMF[22078] channel.c: DTMF end passthrough '7' on SIP/27-0000001c [Dec 12 10:57:54] DTMF[22078] channel.c: DTMF begin '5' received on SIP/27-0000001c [Dec 12 10:57:54] DTMF[22078] channel.c: DTMF begin passthrough '5' on SIP/27-0000001c [Dec 12 10:57:54] DTMF[22078] channel.c: DTMF end '5' received on SIP/27-0000001c, duration 260 ms [Dec 12 10:57:54] DTMF[22078] channel.c: DTMF end accepted with begin '5' on SIP/27-0000001c [Dec 12 10:57:54] DTMF[22078] channel.c: DTMF end passthrough '5' on SIP/27-0000001c [Dec 12 10:57:55] DTMF[22078] channel.c: DTMF begin '6' received on SIP/27-0000001c [Dec 12 10:57:55] DTMF[22078] channel.c: DTMF begin passthrough '6' on SIP/27-0000001c [Dec 12 10:57:55] DTMF[22078] channel.c: DTMF end '6' received on SIP/27-0000001c, duration 260 ms [Dec 12 10:57:55] DTMF[22078] channel.c: DTMF end accepted with begin '6' on SIP/27-0000001c [Dec 12 10:57:55] DTMF[22078] channel.c: DTMF end passthrough '6' on SIP/27-0000001c [Dec 12 10:57:59] DTMF[22078] channel.c: DTMF begin '7' received on SIP/27-0000001c [Dec 12 10:57:59] DTMF[22078] channel.c: DTMF begin passthrough '7' on SIP/27-0000001c [Dec 12 10:57:59] DTMF[22078] channel.c: DTMF end '7' received on SIP/27-0000001c, duration 260 ms [Dec 12 10:57:59] DTMF[22078] channel.c: DTMF end accepted with begin '7' on SIP/27-0000001c [Dec 12 10:57:59] DTMF[22078] channel.c: DTMF end passthrough '7' on SIP/27-0000001c [Dec 12 10:58:00] DTMF[22078] channel.c: DTMF begin '4' received on SIP/27-0000001c [Dec 12 10:58:00] DTMF[22078] channel.c: DTMF begin passthrough '4' on SIP/27-0000001c [Dec 12 10:58:00] DTMF[22078] channel.c: DTMF end '4' received on SIP/27-0000001c, duration 260 ms [Dec 12 10:58:00] DTMF[22078] channel.c: DTMF end accepted with begin '4' on SIP/27-0000001c [Dec 12 10:58:00] DTMF[22078] channel.c: DTMF end passthrough '4' on SIP/27-0000001c [Dec 12 10:58:01] DTMF[22078] channel.c: DTMF begin '1' received on SIP/27-0000001c [Dec 12 10:58:01] DTMF[22078] channel.c: DTMF begin passthrough '1' on SIP/27-0000001c [Dec 12 10:58:01] DTMF[22078] channel.c: DTMF end '1' received on SIP/27-0000001c, duration 260 ms [Dec 12 10:58:01] DTMF[22078] channel.c: DTMF end accepted with begin '1' on SIP/27-0000001c [Dec 12 10:58:01] DTMF[22078] channel.c: DTMF end passthrough '1' on SIP/27-0000001c [Dec 12 10:58:02] DTMF[22078] channel.c: DTMF begin '1' received on SIP/27-0000001c [Dec 12 10:58:02] DTMF[22078] channel.c: DTMF begin passthrough '1' on SIP/27-0000001c [Dec 12 10:58:02] DTMF[22078] channel.c: DTMF end '1' received on SIP/27-0000001c, duration 260 ms [Dec 12 10:58:02] DTMF[22078] channel.c: DTMF end accepted with begin '1' on SIP/27-0000001c [Dec 12 10:58:02] DTMF[22078] channel.c: DTMF end passthrough '1' on SIP/27-0000001c
9 | No.9 Revision редактировать |
Установлен Asterisk 1.8 + плата OpenVox AE1610P
Есть 2 аналоговые линии подключенные на плату AE1610P.
Входящие звонки принимаю без проблем. А позвонить с аналоговых линий проблема! При наборе номера постоянно идет длинный сигнал.
Как можно решить данную проблему?
Настройки chan_dahdi.conf
; Copied from DAHDI Module of FreePBX
[general]
; generated by module
#include chan_dahdi_general.conf
; for user additions not provided by module
#include chan_dahdi_general_custom.conf
[channels]
language=ru
context=form-pstn
;signalling=fxs_ks
rxgain=30% ; Увеличение входящей громкости динамик
txgain=30% ; Увеличение исходящей громкости микрофон
context=form-internal
;signalling=pri_cpe
rxwink=300 ;Atlas seems tu use long (250ms) lines
;
; Whether or not to do distinctive ring detection on FXO lines
;
;usedistinctiveringdetection=yes
busydetect=yes
busycount=10
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
;echocancel=yes
echocancel=256
echotraining=800
echocancelwhenbridged=yes
;echotraining=no
pulsedial=yes
relaxdtmf=yes
busydetect=yes
busycount=3
rxgain=10.0 ; Увеличение входящей громкости
txgain=1.0 ; Увеличение исходящей громкости
;group=0
;callgroup=l
;pickupgroup=l
;immediate=no
;faxdetect=both
;faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no
;group=0,1
;context=from-trunk
;switchtype = euroisdn
;signalling = pri_net
;channel => 1-15,17-31
;context = default
group = 63
;group=l
;Include AMP configs
#include chan_dahdi_additional.conf
#include dahdi-channels.conf
; for user additions not provided by module
#include chan_dahdi_channels_custom.conf
; include dahdi groups defined by DAHDI module of FreePBX
;#include chan_dahdi_groups.conf
; include dahdi extensions defined in FreePBX
;#include chan_dahdi_additional.conf
Настройки dahdi-channels.conf
; Span 1: OPVXA24XX/24 "OpenVox A1610 Board 25" (MASTER)
;;; line="1 OPVXA24XX/24/0 FXSKS"
signalling=fxo_ks
callerid="Channel 1" <4001>
mailbox=4001
group=0
context=from-internal
channel => 1
callerid=
mailbox=
group=
context=default
;;; line="2 OPVXA24XX/24/1 FXSKS"
signalling=fxo_ks
callerid="Channel 2" <4002>
mailbox=4002
group=5
context=from-internal
channel => 2
callerid=
mailbox=
group=
context=default
;;; line="3 OPVXA24XX/24/2 FXSKS"
signalling=fxo_ks
callerid="Channel 3" <4003>
mailbox=4003
group=0
context=from-internal
channel => 3
callerid=
mailbox=
group=
context=default
;;; line="4 OPVXA24XX/24/3 FXSKS"
signalling=fxo_ks
callerid="Channel 4" <4004>
mailbox=4004
group=0
context=from-internal
channel => 4
callerid=
mailbox=
group=
context=default
;;; line="5 OPVXA24XX/24/4 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 5
callerid=
group=
context=default
;;; line="6 OPVXA24XX/24/5 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 6
callerid=
group=
context=default
;;; line="7 OPVXA24XX/24/6 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 7
callerid=
group=
context=default
;;; line="8 OPVXA24XX/24/7 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 8
callerid=
group=
context=default
Настройки extensions.conf
[from-internal]
;Исходящие очереди
exten => 9,1,Dial(dahdi/5/{EXTEN})
exten => 9,n,Dial(dahdi/6/{EXTEN})
exten => 9,n,Dial(dahdi/7/{EXTEN})
exten => 9,n,Dial(dahdi/8/{EXTEN})
exten => 9,n,Hangup()
;Аналоговая линия 3
exten => 83,1,Set(CALLERID(num)=3805447XXXXX)
exten => 1,1,Dial(dahdi/5/101); Экстренная служба 101
exten => 2,1,Dial(dahdi/5/102); Экстренная служба 102
exten => 3,1,Dial(dahdi/5/103); Экстренная Служба 103
exten => 83,2,Dial(dahdi/5/{EXTEN})
exten => 83,3,Hangup()
;Мобильный оператор
exten => 88,1,Set(CALLERID(num)=38067XXXXX)
exten => 88,2,Dial(dahdi/6/{EXTEN})
exten => 88,3,Hangup()
;Аналоговая линия 1
exten => 81,1,Set(CALLERID(num)=3805447XXXXX)
exten => 1,1,Dial(dahdi/7/101); Экстренная служба 101
exten => 2,1,Dial(dahdi/7/102); Экстренная служба 102
exten => 3,1,Dial(dahdi/7/103); Экстренная Служба 103
exten => 81,2,Dial(dahdi/7/{EXTEN})
exten => 81,3,Hangup()
;Аналоговая линия 2
exten => 82,1,Set(CALLERID(num)=3805447XXXXX)
exten => 1,1,Dial(dahdi/8/101); Экстренная служба 101
exten => 2,1,Dial(dahdi/8/102); Экстренная служба 102
exten => 3,1,Dial(dahdi/8/103); Экстренная Служба 103
exten => 82,2,Dial(dahdi/8/{EXTEN})
exten => 82,3,Hangup()
В логе: tail -f /var/log/asterisk/full
[Dec 12 10:57:45] WARNING[22078] chan_dahdi.c: Unable to request echo training on channel 7: Invalid argument
[Dec 12 10:57:49] DTMF[22078] channel.c: DTMF begin '0' received on SIP/27-0000001c
[Dec 12 10:57:49] DTMF[22078] channel.c: DTMF begin passthrough '0' on SIP/27-0000001c
[Dec 12 10:57:49] DTMF[22078] channel.c: DTMF end '0' received on SIP/27-0000001c, duration 260 ms
[Dec 12 10:57:49] DTMF[22078] channel.c: DTMF end accepted with begin '0' on SIP/27-0000001c
[Dec 12 10:57:49] DTMF[22078] channel.c: DTMF end passthrough '0' on SIP/27-0000001c
[Dec 12 10:57:51] DTMF[22078] channel.c: DTMF begin '9' received on SIP/27-0000001c
[Dec 12 10:57:51] DTMF[22078] channel.c: DTMF begin passthrough '9' on SIP/27-0000001c
[Dec 12 10:57:51] DTMF[22078] channel.c: DTMF end '9' received on SIP/27-0000001c, duration 260 ms
[Dec 12 10:57:51] DTMF[22078] channel.c: DTMF end accepted with begin '9' on SIP/27-0000001c
[Dec 12 10:57:51] DTMF[22078] channel.c: DTMF end passthrough '9' on SIP/27-0000001c
[Dec 12 10:57:52] DTMF[22078] channel.c: DTMF begin '7' received on SIP/27-0000001c
[Dec 12 10:57:52] DTMF[22078] channel.c: DTMF begin passthrough '7' on SIP/27-0000001c
[Dec 12 10:57:53] DTMF[22078] channel.c: DTMF end '7' received on SIP/27-0000001c, duration 260 ms
[Dec 12 10:57:53] DTMF[22078] channel.c: DTMF end accepted with begin '7' on SIP/27-0000001c
[Dec 12 10:57:53] DTMF[22078] channel.c: DTMF end passthrough '7' on SIP/27-0000001c
[Dec 12 10:57:54] DTMF[22078] channel.c: DTMF begin '5' received on SIP/27-0000001c
[Dec 12 10:57:54] DTMF[22078] channel.c: DTMF begin passthrough '5' on SIP/27-0000001c
[Dec 12 10:57:54] DTMF[22078] channel.c: DTMF end '5' received on SIP/27-0000001c, duration 260 ms
[Dec 12 10:57:54] DTMF[22078] channel.c: DTMF end accepted with begin '5' on SIP/27-0000001c
[Dec 12 10:57:54] DTMF[22078] channel.c: DTMF end passthrough '5' on SIP/27-0000001c
[Dec 12 10:57:55] DTMF[22078] channel.c: DTMF begin '6' received on SIP/27-0000001c
[Dec 12 10:57:55] DTMF[22078] channel.c: DTMF begin passthrough '6' on SIP/27-0000001c
[Dec 12 10:57:55] DTMF[22078] channel.c: DTMF end '6' received on SIP/27-0000001c, duration 260 ms
[Dec 12 10:57:55] DTMF[22078] channel.c: DTMF end accepted with begin '6' on SIP/27-0000001c
[Dec 12 10:57:55] DTMF[22078] channel.c: DTMF end passthrough '6' on SIP/27-0000001c
[Dec 12 10:57:59] DTMF[22078] channel.c: DTMF begin '7' received on SIP/27-0000001c
[Dec 12 10:57:59] DTMF[22078] channel.c: DTMF begin passthrough '7' on SIP/27-0000001c
[Dec 12 10:57:59] DTMF[22078] channel.c: DTMF end '7' received on SIP/27-0000001c, duration 260 ms
[Dec 12 10:57:59] DTMF[22078] channel.c: DTMF end accepted with begin '7' on SIP/27-0000001c
[Dec 12 10:57:59] DTMF[22078] channel.c: DTMF end passthrough '7' on SIP/27-0000001c
[Dec 12 10:58:00] DTMF[22078] channel.c: DTMF begin '4' received on SIP/27-0000001c
[Dec 12 10:58:00] DTMF[22078] channel.c: DTMF begin passthrough '4' on SIP/27-0000001c
[Dec 12 10:58:00] DTMF[22078] channel.c: DTMF end '4' received on SIP/27-0000001c, duration 260 ms
[Dec 12 10:58:00] DTMF[22078] channel.c: DTMF end accepted with begin '4' on SIP/27-0000001c
[Dec 12 10:58:00] DTMF[22078] channel.c: DTMF end passthrough '4' on SIP/27-0000001c
[Dec 12 10:58:01] DTMF[22078] channel.c: DTMF begin '1' received on SIP/27-0000001c
[Dec 12 10:58:01] DTMF[22078] channel.c: DTMF begin passthrough '1' on SIP/27-0000001c
[Dec 12 10:58:01] DTMF[22078] channel.c: DTMF end '1' received on SIP/27-0000001c, duration 260 ms
[Dec 12 10:58:01] DTMF[22078] channel.c: DTMF end accepted with begin '1' on SIP/27-0000001c
[Dec 12 10:58:01] DTMF[22078] channel.c: DTMF end passthrough '1' on SIP/27-0000001c
[Dec 12 10:58:02] DTMF[22078] channel.c: DTMF begin '1' received on SIP/27-0000001c
[Dec 12 10:58:02] DTMF[22078] channel.c: DTMF begin passthrough '1' on SIP/27-0000001c
[Dec 12 10:58:02] DTMF[22078] channel.c: DTMF end '1' received on SIP/27-0000001c, duration 260 ms
[Dec 12 10:58:02] DTMF[22078] channel.c: DTMF end accepted with begin '1' on SIP/27-0000001c
[Dec 12 10:58:02] DTMF[22078] channel.c: DTMF end passthrough '1' on Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании
Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией
GNU GPL.