Вход | Регистрация
Вы здесь: Главная / Форум / Главный форум по Asterisk / Конфигурация и настройка / Asterisk addpac КПВ

Asterisk addpac КПВ

не слышно КПВ при ожидании ответа
Сообщений: 16

Asterisk addpac КПВ

добрый день всем.

имеем - asterisk 1.4.24.1
addpac 1100F (8FXO)

в настоящий момент настроен и используется только один порт на аддпаке.

! FXO
voice-port 0/3
input gain 2
output gain 4
connection plar 711111
ring detect-timeout 50
caller-id enable
caller-id type etsi
caller-id name disable

dial-peer voice 3 pots
destination-pattern T
port 0/3
forward-digits from 0
preference 1

dial-peer voice 2 voip
destination-pattern 7T
session target 192.168.10.1
session protocol sip
voice-class codec 1
vad
no dtmf-relay
fax protocol t38 redundancy 0
fax rate 9600


в sip.conf addpac прописан так:

[mygw]
type=friend
host=192.168.10.2
disallow=all
allow=alaw
allow=ulaw
allow=g723.1
allow=g729
dtmfmode=rfc2833
context = default
nat=no

в extension.conf
в default контексте прописано

exten => 711111,1,Answer()
exten => 711111,n,Dial(SIP/1003,60)
exten => 711111,n,Hangup()

так вот. есть такая проблема. во время дозвона при звонке с тфоп на sip клиента астерикса
не слышно КПВ.
раз что то "вякнет-хрюкнет" и далее тишина в трубке, пока sip клиент не ответит.
в чем может быть проблема?

и должен ли быть вообще КПВ средствами сети тфоп или его "создавать" на * ?
(caller id работает и определяется правильно)
2009-11-22 23:12

Avatara of zzuz
Откуда: SPb
Сообщений: 1307

Re: Asterisk addpac КПВ

Dial(SIP/1003,60,r) на астериске

inband-ringback-tone на адпаке

вообще бывает что удаленное оборудование не генерит кпв.. а должно
http://линия24.рф - Астериск и прочие бубны!
2009-11-22 23:55

Сообщений: 16

Re: Asterisk addpac КПВ

не помогло... :(
мне кажется что кпв идет от *, но только сразу "глушится"...
надо дебаг включать...

ставил также m опцию когда * выполняет Started music on hold, class 'default', on SIP/192.168.10.2-08c7fca8

но играет... полсекунды и тишина наступает...
2009-11-23 00:38

Сообщений: 6521

Re: Asterisk addpac КПВ

А к чему тут
exten => 711111,1,Answer() ?
Что мешает сразу
exten => 711111,Dial(SIP/1003) ?
2009-11-23 01:01

Сообщений: 16

Re: Asterisk addpac КПВ

убрал Answer

не помогло... :(
также. при параметре m в Dial музыка только начинается и сразу тухнет

мне думается что проблема с адпаком...

!
version 8.30R
!
hostname AP1100F
!
!
no bridge spanning-tree
!
dhcp-list 1 type server
dhcp-list 1 address server 10.1.1.2 10.1.1.126 255.255.255.128
!
!
ip-share enable
ip-share interface net-side ether0.0
ip-share interface local-side ether1.0
!
interface ether0.0
ip address 192.168.10.2 255.255.255.0
!
interface ether1.0
no ip address
!
snmp name AP1100F
snmp enable-trap dn-register 300 forcely-block
!
no arp reset
!
route 0.0.0.0 0.0.0.0 192.168.10.1
!
ntp version 3
ntp refresh 60
ntp offset 03:00
ntp server 81.171.44.131
ntp server 83.229.210.18
!
service ntp
! VoIP configuration.
!
!
! Voice service voip configuration.
!
voice service voip
fax protocol t38 redundancy 0
fax rate 9600
h323 call start fast
h323 call tunnel enable
inband-ringback-tone

!
!
! Voice port configuration.
!
! FXO
voice-port 0/0
no caller-id enable
!
!
! FXO
voice-port 0/1
no caller-id enable
!
!
! FXO
voice-port 0/2
no caller-id enable
!
!
! FXO
voice-port 0/3
input gain 2
output gain 4
connection plar 711111
ring detect-timeout 50
caller-id enable
caller-id type etsi
caller-id name disable
!
!
! FXO
voice-port 1/0
connection plar 711111
ring detect-timeout 50
caller-id enable
caller-id type etsi
caller-id name disable
!
!
! FXO
voice-port 1/1
no caller-id enable
!
!
! FXO
voice-port 1/2
no caller-id enable
!
!
! FXO
voice-port 1/3
no caller-id enable
!
!
!
!
! Pots peer configuration.
!
dial-peer voice 1 pots
port 1/0
!
dial-peer voice 3 pots
destination-pattern T
port 0/3
forward-digits from 0
preference 1
!
!
!
! Voip peer configuration.
!
dial-peer voice 2 voip
destination-pattern 7T
session target 192.168.10.1
session protocol sip
voice-class codec 1
vad
no dtmf-relay
fax protocol t38 redundancy 0
fax rate 9600
!
!
!
!
!
!
gatekeeper
!
!
! Gateway configuration.
!
gateway
h323-id voip.192.168.10.2
no ignore-msg-from-other-gk
!
!
! Codec classes configuration.
!
voice class codec 1
codec preference 1 g711alaw
codec preference 2 g711ulaw
codec preference 3 g7231r53
codec preference 4 g7231r63
codec preference 5 g729
!
!
!
! SIP UA configuration.
!
sip-ua
!
!
! MGCP configuration.
!
mgcp
codec g711ulaw
vad
!
!
! Tones
voice class clear-down-tone 0 450 0 500 500

2009-11-23 01:30

Сообщений: 16

Re: Asterisk addpac КПВ

всем спасибо.

решилась проблема параметром no vad :)
2009-11-23 01:35

Добавить страницу в закладки:  Delicious Google Slashdot Yahoo Yandex.ru Reddit Digg Technorati Bobrdobr.ru Newsland.ru Smi2.ru Rumarkz.ru Vaau.ru Memori.ru Rucity.com Moemesto.ru News2.ru Mister-Wong.ru Myscoop.ru 100zakladok.ru