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

Asterisk <> Cisco

0

Здравствуйте. Есть такая проблема: При соединении Астериска(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

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

удалить закрыть спам изменить тег редактировать

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

Sercher Gravatar Sercher
1 1 2 2

обновил 2011-01-24 12:58:40 +0400

Comments

добавь логи в <pre><code> или Ctrl-K или ткни на иконку с 101 010 , вообщем приведи текст в порядок. :) alexcr ( 2011-01-24 12:03:34 +0400 )редактировать

1 Ответ

0

Такое было на пансе, косяк с ДТФМ кодами... Или игратся с настройками ДТФМ или сменить кодек на хотя бы 729...

ссылка удалить спам редактировать

ответил 2011-01-24 13:17:28 +0400

CheeZ Gravatar CheeZ
1205 7 6 25

Ваш ответ

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[скрыть предварительный просмотр]

Закладки и информация

Добавить закладку

подписаться на rss ленту новостей

Статистика

Задан: 2011-01-24 11:59:27 +0400

Просмотрен: 38,062 раз

Обновлен: Jan 24 '11

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