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

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

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

спросил 2011-01-24 11:59:27 +0400

Sercher Gravatar Sercher

Asterisk <> Cisco

Здравствуйте. Есть такая проблема: При соединении Астериска(Elastix) с Cisco 3660 по h323 протоколу, с помощью g723 кодека, со стороны астериска слышимость хорошая, однако со стороны циски через раз появляется искажение речи во входящем вызове(металлический тембр голос, пропуск слов, шум)

Прараметы Астериска при связи:

exten => _9XXX,1,Dial(OOH323/${EXTEN:1}@ToCisco,20) exten => _9XXX,n,Hangup()

Параметры канала ooh323 (версия 0.9)

[general] port=1720 bindaddr=10.248.xx.xx ;asterisk addr h323id=ObjSysAsterisk e164=100 callerid=Usver gatekeeper = DISABLE context=FromCisco disallow=all ;Note order of disallow/allow is important. allow=g723

[ToCisco] type=friend ip=10.248.xx.xx ;ip cisco port=1720
disallow=all allow=g723

Кодек g723 загружен и установлен согласно текущей архитектуры ПК.(iCeleron 4 -2,6/768/40) В файл /etc/asterisk/codec.conf добавил

[g723] ; 6.3Kbps stream, default sendrate=63 ; 5.3Kbps ;sendrate=53

Параметры cisco

dial-peer voice 464 voip description Asterisk destination-pattern ^464$ session target ipv4:10.248.xx.xx ;ip asterisk incoming called-number 8T dtmf-relay cisco-rtp rtp-nte h245-signal h245-alphanumeric codec g723r53 no vad

voice-port 2/0:15 no comfort-noise cptone RU bearer-cap Speech

dial-peer voice 999 pots description Main-XXX destination-pattern ^8..$ no digit-strip direct-inward-dial port 2/0:15

Логии канала ooh323 (Астериск) 07:58:24:341 Processing MakeCall command ooh323co2 07:58:24:341 Created a new call (outgoing, ooh323co2) 07:58:24:352 Added local alias 109 to call. (outgoing, ooh323co2) 07:58:24:352 Added remote alias 841 to call. (outgoing, ooh323co2) 07:58:24:352 Enabled RFC2833 DTMF capability for (outgoing, ooh323co2) 07:58:24:352 Adding call specific capability OOG7231. (outgoing, ooh323co2) 07:58:24:352 Configured mediainfo for cap OOG7231 (outgoing, ooh323co2) 07:58:24:352 Configured mediainfo for cap OOG7231 (outgoing, ooh323co2) 07:58:24:353 Parsing destination 10.248.цифря.цифря :1720 07:58:24:353 Generated callRef 77 07:58:24:353 Trying to connect to remote endpoint(10.248.160.5:1720) to setup H2250 channel (outgoing, ooh323co2) 07:58:24:369 H2250 transmiter channel creation - succesful (outgoing, ooh323co2) 07:58:24:369 Preffered capability at index 0 is OOG7231. (outgoing, ooh323co2) 07:58:24:369 Using call specific capabilities in faststart of setup message. (outgoing, ooh323co2) 07:58:24:369 Building olcs with capability OOG7231. (outgoing, ooh323co2) 07:58:24:369 Building OpenLogicalChannel for Receive Capability (outgoing, ooh323co2) 07:58:24:369 Adding new media channel for cap 9 dir receive (outgoing, ooh323co2) 07:58:24:369 Adding new channel with cap 9 (outgoing, ooh323co2) 07:58:24:369 Using configured media info (outgoing, ooh323co2) 07:58:24:369 Created new logical channel entry (outgoing, ooh323co2) 07:58:24:369 Building reverse olc. (outgoing, ooh323co2) 07:58:24:369 Receive channel of type audio started (outgoing, ooh323co2) 07:58:24:384 Added RX fs element 1 with capability OOG7231(outgoing, ooh323co2) 07:58:24:384 Building OpenLogicalChannel for transmit Capability (outgoing, ooh323co2) … 07:58:24:384 Adding new media channel for cap 9 dir transmit (outgoing, ooh323co2) 07:58:24:384 Adding new channel with cap 9 (outgoing, ooh323co2) 07:58:24:384 Using configured media info (outgoing, ooh323co2) 07:58:24:384 Created new logical channel entry (outgoing, ooh323co2) 07:58:24:384 Building forward olc. (outgoing, ooh323co2) 07:58:24:384 FastStart Element = { …. 07:58:24:393 Added TX fs element 2 with capability OOG7231(outgoing, ooh323co2) 07:58:24:393 Added 2 fast start elements to SETUP message (outgoing, ooh323co2) 07:58:24:393 Built SETUP message (outgoing, ooh323co2) 07:58:24:393 UserInfo encoding - successful 07:58:24:393 Q931 Message = { …. 07:58:24:427 UUIE decode successful …. 07:58:28:151 Unsupported cap type encountered. Ignoring. (outgoing, ooh323co2) 07:58:28:151 Not adding to joint capabilities. (outgoing, ooh323co2) 07:58:28:151 Processing CapabilityTable Entry 1 (outgoing, ooh323co2) 07:58:28:151 Unsupported cap type encountered. Ignoring. (outgoing, ooh323co2) 07:58:28:151 checking whether we need to add cap to joint capabilities(outgoing, ooh323co2) 07:58:28:151 Unsupported cap type encountered. Ignoring. (outgoing, ooh323co2) 07:58:28:151 Not adding to joint capabilities. (outgoing, ooh323co2) 07:58:28:151 Processing CapabilityTable Entry 2 (outgoing, ooh323co2) 07:58:28:151 Unsupported cap type encountered. Ignoring. (outgoing, ooh323co2) 07:58:28:151 checking whether we need to add cap to joint capabilities(outgoing, ooh323co2) 07:58:28:151 Unsupported cap type encountered. Ignoring. (outgoing, ooh323co2) 07:58:28:151 Not adding to joint capabilities. (outgoing, ooh323co2) 07:58:28:151 Processing CapabilityTable Entry 3 (outgoing, ooh323co2) 07:58:28:151 Unsupported cap type encountered. Ignoring. (outgoing, ooh323co2) 07:58:28:151 checking whether we need to add cap to joint capabilities(outgoing, ooh323co2) 07:58:28:151 Unsupported cap type encountered. Ignoring. (outgoing, ooh323co2) 07:58:28:151 Not adding to joint capabilities. (outgoing, ooh323co2) 07:58:28:151 Processing CapabilityTable Entry 4 (outgoing, ooh323co2) 07:58:28:151 Unsupported cap type encountered. Ignoring. (outgoing, ooh323co2) 07:58:28:151 checking whether we need to add cap to joint capabilities(outgoing, ooh323co2) 07:58:28:151 Unsupported cap type encountered. Ignoring. (outgoing, ooh323co2) 07:58:28:151 Not adding to joint capabilities. (outgoing, ooh323co2) 07:58:28:151 Processing CapabilityTable Entry 5 (outgoing, ooh323co2) 07:58:28:151 checking whether we need to add cap to joint capabilities(outgoing, ooh323co2) 07:58:28:152 Determined Simple audio data type to be of type OOG7231. Searching for matching capability.(outgoing, ooh323co2) 07:58:28:152 Local cap being compared OOG7231. (outgoing, ooh323co2) 07:58:28:152 Found matching simple audio capability type OOG7231. Comparing other parameters. (outgoing, ooh323co2) 07:58:28:152 We can transmit Simple capability OOG7231. (outgoing, ooh323co2) 07:58:28:152 Reducing framesPerPkt for transmission of Simple capability from 4 to 1 to match receive capability of remote endpoint.(outgoing, ooh323co2) 07:58:28:152 Returning copy of matched transmit capability OOG7231.(outgoing, 07:58:57:732 UUIE decode successful 07:58:57:732 Decoded Q931 message (outgoing, ooh323co2) 07:58:57:732 } 07:58:57:732 H.225 Release Complete message received (outgoing, ooh323co2) 07:58:57:732 Cause of Release Complete is 1f. (outgoing, ooh323co2) 07:58:57:732 Closing H.245 connection (outgoing, ooh323co2) 07:58:57:732 Closed H245 connection. (outgoing, ooh323co2) 07:58:57:732 In ooEndCall call state is - OOCALLCLEARED (outgoing, ooh323co2) 07:58:57:732 Cleaning Call (outgoing, ooh323co2)- reason:OOREASONUNKNOWN 07:58:57:732 Removed call (outgoing, ooh323co2) from list

В логах астериска никакой брани или даже замечаний нет.

Asterisk <> Cisco

Здравствуйте. Есть такая проблема: При соединении Астериска(Elastix) с Cisco 3660 по h323 протоколу, с помощью g723 кодека, со стороны астериска слышимость хорошая, однако со стороны циски через раз появляется искажение речи во входящем вызове(металлический тембр голос, пропуск слов, шум)

Прараметы Астериска при связи:

exten => _9XXX,1,Dial(OOH323/${EXTEN:1}@ToCisco,20) exten => _9XXX,n,Hangup()

Параметры канала ooh323 (версия 0.9)

[general] port=1720 bindaddr=10.248.xx.xx ;asterisk addr h323id=ObjSysAsterisk e164=100 callerid=Usver gatekeeper = DISABLE context=FromCisco disallow=all ;Note order of disallow/allow is important. allow=g723

[ToCisco] type=friend ip=10.248.xx.xx ;ip cisco port=1720
disallow=all allow=g723

Кодек g723 загружен и установлен согласно текущей архитектуры ПК.(iCeleron 4 -2,6/768/40) В файл /etc/asterisk/codec.conf добавил

[g723] ; 6.3Kbps stream, default sendrate=63 ; 5.3Kbps ;sendrate=53

Параметры cisco

dial-peer voice 464 voip description Asterisk destination-pattern ^464$ session target ipv4:10.248.xx.xx ;ip asterisk incoming called-number 8T dtmf-relay cisco-rtp rtp-nte h245-signal h245-alphanumeric codec g723r53 no vad

voice-port 2/0:15 no comfort-noise cptone RU bearer-cap Speech

dial-peer voice 999 pots description Main-XXX destination-pattern ^8..$ no digit-strip direct-inward-dial port 2/0:152/0:15

Логии канала ooh323 (Астериск)
07:58:24:341  Processing MakeCall command ooh323co2
07:58:24:341  Created a new call (outgoing, ooh323co2)
07:58:24:352  Added local alias 109 to call. (outgoing, ooh323co2)
07:58:24:352  Added remote alias 841 to call. (outgoing, ooh323co2)
07:58:24:352  Enabled RFC2833 DTMF capability for (outgoing, ooh323co2) 
07:58:24:352  Adding call specific capability OOG7231. (outgoing, ooh323co2)
07:58:24:352  Configured mediainfo for cap OOG7231 (outgoing, ooh323co2)
07:58:24:352  Configured mediainfo for cap OOG7231 (outgoing, ooh323co2)
07:58:24:353  Parsing destination 10.248.цифря.цифря :1720
07:58:24:353  Generated callRef 77
07:58:24:353  Trying to connect to remote endpoint(10.248.160.5:1720) to setup H2250 channel (outgoing, ooh323co2)
07:58:24:369  H2250 transmiter channel creation - succesful (outgoing, ooh323co2)
07:58:24:369  Preffered capability at index 0 is OOG7231. (outgoing, ooh323co2)
07:58:24:369  Using call specific capabilities in faststart of setup message. (outgoing, ooh323co2)
07:58:24:369  Building olcs with capability OOG7231. (outgoing, ooh323co2)
07:58:24:369  Building OpenLogicalChannel for Receive  Capability (outgoing, ooh323co2)
07:58:24:369  Adding new media channel for cap 9 dir receive (outgoing, ooh323co2)
07:58:24:369  Adding new channel with cap 9 (outgoing, ooh323co2)
07:58:24:369  Using configured media info (outgoing, ooh323co2)
07:58:24:369  Created new logical channel entry (outgoing, ooh323co2)
07:58:24:369  Building reverse olc. (outgoing, ooh323co2)
07:58:24:369  Receive channel of type audio started (outgoing, ooh323co2)
07:58:24:384  Added RX fs element 1 with capability OOG7231(outgoing, ooh323co2)
07:58:24:384  Building OpenLogicalChannel for transmit Capability (outgoing, ooh323co2)
…
07:58:24:384  Adding new media channel for cap 9 dir transmit (outgoing, ooh323co2)
07:58:24:384  Adding new channel with cap 9 (outgoing, ooh323co2)
07:58:24:384  Using configured media info (outgoing, ooh323co2)
07:58:24:384  Created new logical channel entry (outgoing, ooh323co2)
07:58:24:384  Building forward olc. (outgoing, ooh323co2)
07:58:24:384  FastStart Element = {
….
07:58:24:393  Added TX fs element 2 with capability OOG7231(outgoing, ooh323co2)
07:58:24:393  Added 2 fast start elements to SETUP message (outgoing, ooh323co2)
07:58:24:393  Built SETUP message (outgoing, ooh323co2)
07:58:24:393  UserInfo encoding - successful
07:58:24:393  Q931 Message = {
….
07:58:24:427  UUIE decode successful
….
07:58:28:151  Unsupported cap type encountered. Ignoring. (outgoing, ooh323co2)
07:58:28:151  Not adding to joint capabilities. (outgoing, ooh323co2)
07:58:28:151  Processing CapabilityTable Entry 1 (outgoing, ooh323co2)
07:58:28:151  Unsupported cap type encountered. Ignoring. (outgoing, ooh323co2)
07:58:28:151  checking whether we need to add cap to joint capabilities(outgoing, ooh323co2)
07:58:28:151  Unsupported cap type encountered. Ignoring. (outgoing, ooh323co2)
07:58:28:151  Not adding to joint capabilities. (outgoing, ooh323co2)
07:58:28:151  Processing CapabilityTable Entry 2 (outgoing, ooh323co2)
07:58:28:151  Unsupported cap type encountered. Ignoring. (outgoing, ooh323co2)
07:58:28:151  checking whether we need to add cap to joint capabilities(outgoing, ooh323co2)
07:58:28:151  Unsupported cap type encountered. Ignoring. (outgoing, ooh323co2)
07:58:28:151  Not adding to joint capabilities. (outgoing, ooh323co2)
07:58:28:151  Processing CapabilityTable Entry 3 (outgoing, ooh323co2)
07:58:28:151  Unsupported cap type encountered. Ignoring. (outgoing, ooh323co2)
07:58:28:151  checking whether we need to add cap to joint capabilities(outgoing, ooh323co2)
07:58:28:151  Unsupported cap type encountered. Ignoring. (outgoing, ooh323co2)
07:58:28:151  Not adding to joint capabilities. (outgoing, ooh323co2)
07:58:28:151  Processing CapabilityTable Entry 4 (outgoing, ooh323co2)
07:58:28:151  Unsupported cap type encountered. Ignoring. (outgoing, ooh323co2)
07:58:28:151  checking whether we need to add cap to joint capabilities(outgoing, ooh323co2)
07:58:28:151  Unsupported cap type encountered. Ignoring. (outgoing, ooh323co2)
07:58:28:151  Not adding to joint capabilities. (outgoing, ooh323co2)
07:58:28:151  Processing CapabilityTable Entry 5 (outgoing, ooh323co2)
07:58:28:151  checking whether we need to add cap to joint capabilities(outgoing, ooh323co2)
07:58:28:152  Determined Simple audio data type to be of type OOG7231. Searching for matching capability.(outgoing, ooh323co2)
07:58:28:152  Local cap being compared OOG7231. (outgoing, ooh323co2)
07:58:28:152  Found matching simple audio capability type OOG7231. Comparing other parameters. (outgoing, ooh323co2)
07:58:28:152  We can transmit Simple capability OOG7231. (outgoing, ooh323co2)
07:58:28:152  Reducing framesPerPkt for transmission of Simple capability from 4 to 1 to match receive capability of remote endpoint.(outgoing, ooh323co2)
07:58:28:152  Returning copy of matched transmit capability OOG7231.(outgoing, 
07:58:57:732  UUIE decode successful
07:58:57:732  Decoded Q931 message (outgoing, ooh323co2)
07:58:57:732  }
07:58:57:732  H.225 Release Complete message received (outgoing, ooh323co2)
07:58:57:732  Cause of Release Complete is 1f. (outgoing, ooh323co2)
07:58:57:732  Closing H.245 connection (outgoing, ooh323co2)
07:58:57:732  Closed H245 connection. (outgoing, ooh323co2)
07:58:57:732  In ooEndCall call state is - OOCALLCLEARED (outgoing, ooh323co2)
07:58:57:732  Cleaning Call (outgoing, ooh323co2)- reason:OOREASONUNKNOWN
07:58:57:732  Removed call (outgoing, ooh323co2) from list

list В логах астериска никакой брани или даже замечаний нет.

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