ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 

  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: Inet-Admins
Inet-Admins mailing list archive (inet-admins@info.east.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [inet-admins] Настройка кодека на ATA186 ...




В догонку:

Думал причина на GK.
Завязал эти ATA друг на друга путем указания gateway друг на друга.

Делаю звонок и смотря в лог вижу что опять используется G711 :(
В чем может быть дело. BTW а где почитать про описание OpFlags ?

Feb 26 21:38:41 voip-host 101 active
Feb 26 21:38:43 voip-host [0]DTMF 2
Feb 26 21:38:43 voip-host [0]DTMF 0
Feb 26 21:38:44 voip-host [0]DTMF 1
Feb 26 21:38:47 voip-host [0]DTMF #
Feb 26 21:38:47 voip-host Calling 201
Feb 26 21:38:47 voip-host SCC->(0 0) <cmd 16>
Feb 26 21:38:47 voip-host CLIP
Feb 26 21:38:47 voip-host SCC->(0 0) <cmd 2>
Feb 26 21:38:47 voip-host 0> dial<201>
Feb 26 21:38:47 voip-host >>>>>>>> TX CALLER ID : 0x1 0x80 10
Feb 26 21:38:47 voip-host Build FastStart Request
Feb 26 21:38:47 voip-host numCodec = 2
Feb 26 21:38:47 voip-host Include Fast Start
Feb 26 21:38:47 voip-host Connect to <0x....... 1720>..
Feb 26 21:38:47 voip-host Q931<-0:Setup:CRV 6052
Feb 26 21:38:47 voip-host Q931->0:Proceeding
Feb 26 21:38:47 voip-host index = 2, maxFrmCnt = 60
Feb 26 21:38:47 voip-host G711/G729: 60 fpp
Feb 26 21:38:47 voip-host pref setmode inmode> = 3 3 3
Feb 26 21:38:47 voip-host TSAPI1 <0x........ 4000>
Feb 26 21:38:47 voip-host index = 2, maxFrmCnt = 60
Feb 26 21:38:47 voip-host G711/G729: 60 fpp
Feb 26 21:38:47 voip-host pref setmode inmode> = 3 3 3
Feb 26 21:38:47 voip-host h245.c 1099 : 3
Feb 26 21:38:47 voip-host Q931<-0:H245/Facility
Feb 26 21:38:47 voip-host Q931<-0:H245/Facility
Feb 26 21:38:47 voip-host H245<-0:LcseOpen
Feb 26 21:38:47 voip-host set TX audio to G711 (3) 30 fpp
                        ^^^^^^^^^^^^^^^^^^^^^
Feb 26 21:38:47 voip-host H245->0:LcseOpenAck
Feb 26 21:38:47 voip-host fstart.c 203 : 0x0
Feb 26 21:38:47 voip-host OpenRtpRxPort(0,0x0,4000):9
Feb 26 21:38:47 voip-host RTP Rx Init: 0, 0
Feb 26 21:38:47 voip-host RTP->0:<0x........ 4000>
Feb 26 21:38:47 voip-host Q931->0:Facility
Feb 26 21:38:47 voip-host H245 in Q931msg
Feb 26 21:38:47 voip-host H245->0:Cese
Feb 26 21:38:47 voip-host RemoteAudioCap <4 3>
Feb 26 21:38:47 voip-host RemoteAudioCap <4 1>
Feb 26 21:38:47 voip-host RemoteInputCap <17 1>
Feb 26 21:38:47 voip-host RemoteInputCap <17 4>
Feb 26 21:38:47 voip-host Q931<-0:H245/Facility
Feb 26 21:38:47 voip-host Q931->0:Facility
Feb 26 21:38:47 voip-host H245 in Q931msg
Feb 26 21:38:47 voip-host H245->0:MSD: <rn tt> = <0x38246a 50>
Feb 26 21:38:47 voip-host Q931<-0:H245/Facility
Feb 26 21:38:47 voip-host Q931->0:Alerting
Feb 26 21:38:47 voip-host Q931->0:Facility
Feb 26 21:38:47 voip-host H245 in Q931msg
Feb 26 21:38:47 voip-host H245->0:CeseAck
Feb 26 21:38:47 voip-host Q931->0:Facility
Feb 26 21:38:47 voip-host H245 in Q931msg
Feb 26 21:38:47 voip-host H245->0:MsdAck
Feb 26 21:38:47 voip-host SCC:ev=10[0:0] 3 0
Feb 26 21:38:51 voip-host 3:30;
Feb 26 21:38:58 voip-host Q931->0:Connect
Feb 26 21:38:58 voip-host RTP<-0:<0x........ 4000>
Feb 26 21:38:58 voip-host Enable LEC adapt [0]=1
Feb 26 21:38:58 voip-host RTP TX[0]:SSRC_ID = b60c0600
Feb 26 21:38:58 voip-host RTP Tx Init: 0, 0
Feb 26 21:38:58 voip-host SCC:ev=12[0:0] 3 0
Feb 26 21:38:58 voip-host [0]DPKT 1st: 800 560, pt 0
Feb 26 21:39:21 voip-host 4:00;
Feb 26 21:39:21 voip-host 3,
Feb 26 21:39:21 voip-host 0,
Feb 26 21:39:21 voip-host last message repeated 2 times
Feb 26 21:39:21 voip-host
Feb 26 21:39:29 voip-host SCC->(0 0) <cmd 11>
Feb 26 21:39:29 voip-host H245<-0:EndSessionCmd 0
Feb 26 21:39:29 voip-host 0: Close RTPRX
Feb 26 21:39:29 voip-host Q931<-0:H245/Facility
Feb 26 21:39:29 voip-host Q931<-*:ReleaseComplete
Feb 26 21:39:29 voip-host SCC:ev=13[0:0] 10 0
Feb 26 21:39:29 voip-host SCC->(0 0) <cmd 1>
Feb 26 21:39:34 voip-host WStop:0

> Доброго вечера.
> 
> Собрал на столе следующую конфигурацию:
> 
> ATA186(1) <---> Internet <---> ATA186(2)
>                    |
>                    |
>                GK (AquaGatekeeper)
> 
> Настройки на ATA186(1)
> (остальные параметры IMHO не имеют значения):
> 
> UID0:  100
> PWD0:  0
> UID1:  101
> PWD1:  0
> GkOrProxy:  10.0.0.1.1719
> Gateway:  0
> GateWay2:  0.0.0.0
> UseLoginID:  0
> LoginID0:  0
> LoginID1:  0
> AltGk:  0
> AltGkTimeOut:  3600
> GkTimeToLive:  300
> GkId:  GK_TEST
> UseSIP:  0
> SIPRegInterval:  3600
> MaxRedirect:  5
> SIPRegOn:  0
> NATIP:  0.0.0.0
> SIPPort:  5060
> MediaPort:  10000
> OutBoundProxy:  0
>  
> LBRCodec:  0
> AudioMode:  0x00170017
> RxCodec:  0
> TxCodec:  0
> NumTxFrames:  2
> CallFeatures:  0xffffffff
> PaidFeatures:  0xffffffff
> CallerIdMethod:  0x00019e60
> CallWaitCallerId:  0x003c33d0
> Polarity:  0x00000000
> ConnectMode:  0x00060400
> AutMethod:  0x00000000
> TimeZone:  17
> UDPTOS:  0x000000a0
> SigTimer:  0x0148564
> OpFlags:  0x00000002
> TraceFlags:  0x00000000
> 
> Настройки на ATA186(2):
> 
> UID0:  200
> PWD0:  0
> UID1:  201
> PWD1:  0
> GkOrProxy:  10.0.0.1.1719
> Gateway:  0
> GateWay2:  0.0.0.0
> UseLoginID:  0
> LoginID0:  0
> LoginID1:  0
> AltGk:  0
> AltGkTimeOut:  3600
> GkTimeToLive:  300
> GkId:  GK_TEST
> UseSIP:  0
> SIPRegInterval:  3600
> MaxRedirect:  5
> SIPRegOn:  0
> NATIP:  0.0.0.0
> SIPPort:  5060
> MediaPort:  10000
> OutBoundProxy:  0
>   
> LBRCodec:  0
> AudioMode:  0x00170017
> RxCodec:  0
> TxCodec:  0
> NumTxFrames:  2
> CallFeatures:  0xffffffff
> PaidFeatures:  0xffffffff
> CallerIdMethod:  0x00019e60
> CallWaitCallerId:  0x003c33d0
> Polarity:  0x00000000
> ConnectMode:  0x00060400
> AutMethod:  0x00000000
> TimeZone:  17
> UDPTOS:  0x000000a0
> SigTimer:  0x0148564
> OpFlags:  0x00000002
> TraceFlags:  0x00000000
> 
> Со стороны ATA186(1) стоит телефонный аппарат, со стороны
> ATA182(2) стоит мини АТС (линия с ATA включена как CO).
> 
> Звонки нормально проходят.
> 
> Но вот только почему-то кодек используется G711.
> Вопрос - почему?
> 
> Ведь на обоих ATA указано :
> 
> LBRCodec:  0
> AudioMode:  0x00170017
> RxCodec:  0
> TxCodec:  0
> 
> Что мне нужно указать в AudioMode и ConnectMode 
> для того, что бы использовался G723?


-- 
YY18-RIPE

=============================================================================
"inet-admins" Internet access mailing list. Maintained by East Connection ISP.
Mail "unsubscribe inet-admins" to Majordomo@info.east.ru if you want to quit.
Archive is accessible on http://info.east.ru/rus/inetadm.html



 




Copyright © Lexa Software, 1996-2009.