Страница 2 из 2

Re: Транк с AVAYA. В некоторых случаях нет голоса

Добавлено: 06 июл 2015, 15:36
ded
debirs писал(а):что касается схемы - у меня SIP не используется, используется H232.
debug rtp - пакеты ходят и туда и сюда, IP - только внутренние
Про Н323: как это можно было понять из Вашего первого сообщения?
По RTP: судя по

Sent RTP packet to 10.0.5.5:2464 (type 08, seq 039968, ts 381920, len 000160)
Got RTP packet from 10.0.5.5:2472 (type 08, seq 002388, ts 382080, len 000160)
Sent RTP packet to 10.0.5.5:2464 (type 08, seq 039969, ts 382080, len 000160)
Got RTP packet from 10.0.5.5:2472 (type 08, seq 002389, ts 382240, len 000160)
тут только одно плечо - от 10.0.5.5: и до 10.0.5.5:
А где второе?

Проблемы с голосом регулируются в Н323 двумя параметрами
faststart=yes|no
h245 tunneling =yes|no

Поиск рулит!
http://forum.asterisk.ru/viewtopic.php? ... aya#p58905

Re: Транк с AVAYA. В некоторых случаях нет голоса

Добавлено: 06 июл 2015, 17:18
debirs
Про Н323: как это можно было понять из Вашего первого сообщения?
Извиняюсь, что-то упустил этот момент
По RTP: судя по

Sent RTP packet to 10.0.5.5:2464 (type 08, seq 039968, ts 381920, len 000160)
Got RTP packet from 10.0.5.5:2472 (type 08, seq 002388, ts 382080, len 000160)
Sent RTP packet to 10.0.5.5:2464 (type 08, seq 039969, ts 382080, len 000160)
Got RTP packet from 10.0.5.5:2472 (type 08, seq 002389, ts 382240, len 000160)
тут только одно плечо - от 10.0.5.5: и до 10.0.5.5:
А где второе?
Так выдает rtp set debug on

Вот еще фрагмент лога h232:
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER: Вот еще фрагмент лога h232
---------Date 06---------
13:35:48:915 Signalling IP address is set to 10.0.5.223
13:35:48:916 Listen port number is set to 1720
13:35:48:916 TCP port range initialize - successful
13:35:48:916 H323 listener creation - successful
13:35:48:919 H.323 Endpoint Configuration is as follows:
13:35:48:919 Trace File: /var/log/asterisk/h323_log
13:35:48:919 FastStart - enabled
13:35:48:919 H245 Tunneling - enabled
13:35:48:919 MediaWaitForConnect - disabled
13:35:48:919 AutoAnswer - disabled
13:35:48:919 Terminal Type - 60
13:35:48:919 T35 CountryCode - 184
13:35:48:919 T35 Extension - 0
13:35:48:919 Manufacturer Code - 39
13:35:48:919 ProductID - ooh323
13:35:48:919 VersionID - v0.8.3m
13:35:48:919 Local signalling IP address - 10.0.5.223
13:35:48:919 H225 ListenPort - 1720
13:35:48:919 CallerID - Asterisk PBX
13:35:48:919 Call Establishment Timeout - 60 seconds
13:35:48:919 MasterSlaveDetermination Timeout - 30 seconds
13:35:48:919 TerminalCapabilityExchange Timeout - 30 seconds
13:35:48:919 LogicalChannel Timeout - 30 seconds
13:35:48:919 Session Timeout - 15 seconds
13:36:03:408 New connection at H225 receiver
13:36:03:408 Created a new call (incoming, ooh323c_1)
13:36:03:409 Using Local IP address 10.0.5.223 (IPv4) for incoming call (incoming, ooh323c_1)
13:36:03:422 Received SETUP message (incoming, ooh323c_1)
13:36:03:422 Call has tunneling active (incoming,ooh323c_1)
13:36:03:422 FastStart enabled for call(incoming, ooh323c_1)
13:36:03:422 Enabled RTP/CISCO DTMF capability for (incoming, ooh323c_1)
13:36:03:422 Enabled RFC2833 DTMF capability for (incoming, ooh323c_1)
13:36:03:422 Dtmf mode set to H.245(alphanumeric) for (incoming, ooh323c_1)
13:36:03:422 Dtmf mode set to H.245(signal) for (incoming, ooh323c_1)
13:36:03:432 Receive Channel data type supported
13:36:03:432 Built Call Proceeding(incoming, ooh323c_1)
13:36:03:432 Sending Q931 message (incoming, ooh323c_1)
13:36:03:432 Sent Message - CallProceeding (incoming, ooh323c_1)
13:36:03:671 Processing MakeCall command ooh323c_o_1
13:36:03:672 Created a new call (outgoing, ooh323c_o_1)
13:36:03:672 Enabled RTP/CISCO DTMF capability for (outgoing, ooh323c_o_1)
13:36:03:672 Enabled RFC2833 DTMF capability for (outgoing, ooh323c_o_1)
13:36:03:672 Dtmf mode set to H.245(alphanumeric) for (outgoing, ooh323c_o_1)
13:36:03:672 Dtmf mode set to H.245(signal) for (outgoing, ooh323c_o_1)
13:36:03:673 INFO: FinCall returned b7624288 for call: ooh323c_o_1
13:36:03:686 INFO: FinCall returned b7624288 for call: ooh323c_o_1
13:36:03:686 INFO: FinCall returned b7624288 for call: ooh323c_o_1
13:36:03:686 INFO: create cmd connect for call: b7624288
13:36:03:688 Processing MakeCall command ooh323c_o_1
13:36:03:688 INFO: FinCall returned b7624288 for call: ooh323c_o_1
13:36:03:688 Parsing destination 10.0.5.10:1720
13:36:03:688 Trying to connect to remote endpoint(10.0.5.10:1720) (IPv4) to setup H2250 channel (outgoing, ooh323c_o_1)
13:36:03:690 H2250 transmiter channel creation - successful (outgoing, ooh323c_o_1)
13:36:03:690 Building OpenLogicalChannel for Receive Capability (outgoing, ooh323c_o_1)
13:36:03:690 Created new logical channel entry (outgoing, ooh323c_o_1)
13:36:03:690 Receive channel of type audio started (outgoing, ooh323c_o_1)
13:36:03:690 Building OpenLogicalChannel for transmit Capability (outgoing, ooh323c_o_1)
13:36:03:690 Created new logical channel entry (outgoing, ooh323c_o_1)
13:36:03:690 Added 2 fast start elements to SETUP message (outgoing, ooh323c_o_1)
13:36:03:690 Built SETUP message (outgoing, ooh323c_o_1)
13:36:03:691 Sending Q931 message (outgoing, ooh323c_o_1)
13:36:03:691 Sent Message - Setup (outgoing, ooh323c_o_1)
13:36:03:723 H.225 Call Proceeding message received (outgoing, ooh323c_o_1)
13:36:03:732 H.225 Progress message received (outgoing, ooh323c_o_1)
13:36:03:732 Remote endpoint changed forwardLogicalChannelNumber from 1001 to 101 (outgoing, ooh323c_o_1)
13:36:03:732 Built terminal capability set message (outgoing, ooh323c_o_1)
13:36:03:732 Building Facility message for tunneling OOTerminalCapabilitySet (outgoing, ooh323c_o_1)
13:36:03:732 INFO: FinCall returned b46b8a60 for call: ooh323c_1
13:36:03:732 INFO: create cmd connect for call: b46b8a60
13:36:03:733 Sending Q931 message (outgoing, ooh323c_o_1)
13:36:03:733 Sent Message - Facility(OOTerminalCapabilitySet) (outgoing, ooh323c_o_1)
13:36:03:733 Tunneled Message - TerminalCapabilitySet (outgoing, ooh323c_o_1)
13:36:03:734 H.225 Status message received (outgoing, ooh323c_o_1)
13:36:03:774 H.225 Facility message Received (outgoing, ooh323c_o_1)
13:36:03:775 Unsupported cap type encountered. Ignoring. (outgoing, ooh323c_o_1)
13:36:03:775 Unsupported cap type encountered. Ignoring. (outgoing, ooh323c_o_1)
13:36:03:775 Unsupported cap type encountered. Ignoring. (outgoing, ooh323c_o_1)
13:36:03:775 Built TerminalCapabilitySet Ack (outgoing, ooh323c_o_1)
13:36:03:775 Building Facility message for tunneling OOTerminalCapabilitySetAck (outgoing, ooh323c_o_1)
13:36:03:775 H.225 Facility message Received (outgoing, ooh323c_o_1)
13:36:03:775 Master Slave Determination received (outgoing, ooh323c_o_1)
13:36:03:775 Built MasterSlave determination Ack (outgoing, ooh323c_o_1)
13:36:03:775 Building Facility message for tunneling OOMasterSlaveAck (outgoing, ooh323c_o_1)
13:36:03:775 MasterSlaveDetermination done - Slave(outgoing, ooh323c_o_1)
13:36:03:775 Sending Q931 message (outgoing, ooh323c_o_1)
13:36:03:775 Sent Message - Facility(OOTerminalCapabilitySetAck) (outgoing, ooh323c_o_1)
13:36:03:775 Tunneled Message - TerminalCapabilitySetAck (outgoing, ooh323c_o_1)
13:36:03:775 Sending Q931 message (outgoing, ooh323c_o_1)
13:36:03:775 Sent Message - Facility(OOMasterSlaveAck) (outgoing, ooh323c_o_1)
13:36:03:775 Tunneled Message - MasterSlaveDeterminationAck (outgoing, ooh323c_o_1)
13:36:03:775 H.225 Facility message Received (outgoing, ooh323c_o_1)
13:36:03:798 H.225 Facility message Received (outgoing, ooh323c_o_1)
13:36:03:799 Listing logical channel 101 cap 2 state 3 for (outgoing, ooh323c_o_1)
13:36:03:799 Listing logical channel 1002 cap 2 state 3 for (outgoing, ooh323c_o_1)
13:36:03:839 H.225 Facility message Received (outgoing, ooh323c_o_1)
13:36:03:839 Unhandled indication message received.(outgoing, ooh323c_o_1)
13:36:05:535 Receive Channel data type supported
13:36:05:535 Building OpenLogicalChannel for Receive Capability (incoming, ooh323c_1)
13:36:05:535 Created new logical channel entry (incoming, ooh323c_1)
13:36:05:535 Receive channel of type audio started (incoming, ooh323c_1)
13:36:05:535 Receive channel of type audio started (incoming, ooh323c_1)
13:36:05:536 Transmit Channel data type supported
13:36:05:536 Building OpenLogicalChannel for transmit Capability (incoming, ooh323c_1)
13:36:05:536 Created new logical channel entry (incoming, ooh323c_1)
13:36:05:536 Transmit channel of type audio started (incoming, ooh323c_1)
13:36:05:536 Added 2 fast start elements to message (incoming, ooh323c_1)
13:36:05:536 Built Progress (incoming, ooh323c_1)
13:36:05:536 Built terminal capability set message (incoming, ooh323c_1)
13:36:05:536 Building Facility message for tunneling OOTerminalCapabilitySet (incoming, ooh323c_1)
13:36:05:536 Sending Q931 message (incoming, ooh323c_1)
13:36:05:536 Sent Message - Alerting (incoming, ooh323c_1)
13:36:05:536 Sending Q931 message (incoming, ooh323c_1)
13:36:05:536 Sent Message - Facility(OOTerminalCapabilitySet) (incoming, ooh323c_1)
13:36:05:536 Tunneled Message - TerminalCapabilitySet (incoming, ooh323c_1)
13:36:05:558 H.225 Facility message Received (incoming, ooh323c_1)
13:36:05:558 Unsupported cap type encountered. Ignoring. (incoming, ooh323c_1)
13:36:05:558 Unsupported cap type encountered. Ignoring. (incoming, ooh323c_1)
13:36:05:558 Unsupported cap type encountered. Ignoring. (incoming, ooh323c_1)
13:36:05:558 Built TerminalCapabilitySet Ack (incoming, ooh323c_1)
13:36:05:559 Building Facility message for tunneling OOTerminalCapabilitySetAck (incoming, ooh323c_1)
13:36:05:559 Sending Q931 message (incoming, ooh323c_1)
13:36:05:559 Sent Message - Facility(OOTerminalCapabilitySetAck) (incoming, ooh323c_1)
13:36:05:559 Tunneled Message - TerminalCapabilitySetAck (incoming, ooh323c_1)
13:36:05:559 H.225 Facility message Received (incoming, ooh323c_1)
13:36:05:559 Master Slave Determination received (incoming, ooh323c_1)
13:36:05:559 Built MasterSlave determination Ack (incoming, ooh323c_1)
13:36:05:559 Building Facility message for tunneling OOMasterSlaveAck (incoming, ooh323c_1)
13:36:05:559 MasterSlaveDetermination done - Slave(incoming, ooh323c_1)
13:36:05:559 Sending Q931 message (incoming, ooh323c_1)
13:36:05:559 Sent Message - Facility(OOMasterSlaveAck) (incoming, ooh323c_1)
13:36:05:559 Tunneled Message - MasterSlaveDeterminationAck (incoming, ooh323c_1)
13:36:05:564 H.225 Facility message Received (incoming, ooh323c_1)
13:36:05:578 H.225 Facility message Received (incoming, ooh323c_1)
13:36:05:578 Listing logical channel 101 cap 2 state 3 for (incoming, ooh323c_1)
13:36:05:578 Listing logical channel 1001 cap 2 state 3 for (incoming, ooh323c_1)
13:36:05:580 H.225 Facility message Received (incoming, ooh323c_1)
13:36:05:580 Unhandled indication message received.(incoming, ooh323c_1)
13:36:05:581 H.225 Facility message Received (incoming, ooh323c_1)
13:36:05:581 Created new logical channel entry (incoming, ooh323c_1)
13:36:05:581 Built OpenLogicalChannelAck (incoming, ooh323c_1)
13:36:05:581 Building Facility message for tunneling OOOpenLogicalChannelAck (incoming, ooh323c_1)
13:36:05:581 Receive channel of type OO_G711ALAW64K started at 10.0.5.223:10070(incoming, ooh323c_1)
13:36:05:581 Listing logical channel 101 cap 2 state 3 for (incoming, ooh323c_1)
13:36:05:581 Listing logical channel 1001 cap 2 state 3 for (incoming, ooh323c_1)
13:36:05:581 Sending Q931 message (incoming, ooh323c_1)
13:36:05:582 Sent Message - Facility(OOOpenLogicalChannelAck) (incoming, ooh323c_1)
13:36:05:582 Tunneled Message - OpenLogicalChannelAck(101) (incoming,ooh323c_1)
13:36:30:117 H.225 Connect message received (outgoing, ooh323c_o_1)
13:36:30:138 INFO: FinCall returned b46b8a60 for call: ooh323c_1
13:36:30:139 Built Alerting (incoming, ooh323c_1)
13:36:30:139 Sending Q931 message (incoming, ooh323c_1)
13:36:30:139 Sent Message - Alerting (incoming, ooh323c_1)
13:36:30:141 INFO: FinCall returned b46b8a60 for call: ooh323c_1
13:36:30:141 Built H.225 Connect message (incoming, ooh323c_1)
13:36:30:141 Sending Q931 message (incoming, ooh323c_1)
13:36:30:142 Sent Message - Connect (incoming, ooh323c_1)
13:36:43:444 H.225 Facility message Received (incoming, ooh323c_1)
13:36:43:444 Received EndSession command (incoming, ooh323c_1)
13:36:43:444 In response to received EndSessionCommand - Clearing all logical channels. (incoming, ooh323c_1)
13:36:43:444 Clearing all logical channels (incoming, ooh323c_1)
13:36:43:444 Stopped Receive channel 101 (incoming, ooh323c_1)
13:36:43:444 Stopped Receive channel 101 (incoming, ooh323c_1)
13:36:43:445 Stopped Transmit channel 1001 (incoming, ooh323c_1)
13:36:43:445 ERROR: No Open LogicalChannels - Failed FindLogicalChannelByChannelNo (incoming, ooh323c_1
13:36:43:445 Built EndSession Command (incoming, ooh323c_1)
13:36:43:445 Building Facility message for tunneling OOEndSessionCommand (incoming, ooh323c_1)
13:36:43:446 In ooEndCall call state is - OO_CALL_CLEAR (incoming, ooh323c_1)
13:36:43:447 Built EndSession Command (incoming, ooh323c_1)
13:36:43:447 Building Facility message for tunneling OOEndSessionCommand (incoming, ooh323c_1)
13:36:43:447 Building Release Complete message to send(incoming, ooh323c_1)
13:36:43:447 Built Release Complete message (incoming, ooh323c_1)
13:36:43:448 H.225 Release Complete message received (incoming, ooh323c_1)
13:36:43:448 Cause of Release Complete is 10. (incoming, ooh323c_1)
13:36:43:448 Closing H.245 connection (incoming, ooh323c_1)
13:36:43:448 Warning:Call marked for cleanup. Can not send message.(incoming, ooh323c_1)
13:36:43:448 In ooEndCall call state is - OO_CALL_CLEARED (incoming, ooh323c_1)
13:36:43:448 Cleaning Call (incoming, ooh323c_1)- reason:OO_REASON_REMOTE_CLEARED
13:36:43:448 Removing call b46b8a60: ooh323c_1
13:36:43:448 Removed call (incoming, ooh323c_1) from list
13:36:43:463 Ending Call Monitor thread
13:36:43:466 INFO: FinCall returned b7624288 for call: ooh323c_o_1
13:36:43:467 Processing Hang call command ooh323c_o_1 with q931 cause 28253492
13:36:43:467 INFO: FinCall returned b7624288 for call: ooh323c_o_1
13:36:43:467 Hanging up call (outgoing, ooh323c_o_1)
13:36:43:467 In ooEndCall call state is - OO_CALL_CLEAR (outgoing, ooh323c_o_1)
13:36:43:467 Clearing all logical channels. (outgoing, ooh323c_o_1)
13:36:43:467 Clearing all logical channels (outgoing, ooh323c_o_1)
13:36:43:467 Stopped Receive channel 101 (outgoing, ooh323c_o_1)
13:36:43:469 Stopped Transmit channel 1002 (outgoing, ooh323c_o_1)
13:36:43:469 ERROR: No Open LogicalChannels - Failed FindLogicalChannelByChannelNo (outgoing, ooh323c_o_1
13:36:43:469 Built EndSession Command (outgoing, ooh323c_o_1)
13:36:43:469 Building Facility message for tunneling OOEndSessionCommand (outgoing, ooh323c_o_1)
13:36:43:469 Building Release Complete message to send(outgoing, ooh323c_o_1)
13:36:43:469 Built Release Complete message (outgoing, ooh323c_o_1)
13:36:43:469 Sending Q931 message (outgoing, ooh323c_o_1)
13:36:43:469 Sent Message - ReleaseComplete (outgoing, ooh323c_o_1)
13:36:43:470 In ooEndCall call state is - OO_CALL_CLEAR_RELEASESENT (outgoing, ooh323c_o_1)
13:36:43:470 Cleaning Call (outgoing, ooh323c_o_1)- reason:OO_REASON_REMOTE_CLEARED
13:36:43:470 Closing H.245 connection (outgoing, ooh323c_o_1)
13:36:43:470 Removing call b7624288: ooh323c_o_1
13:36:43:470 Removed call (outgoing, ooh323c_o_1) from list
13:36:43:470 Ending Call Monitor thread
Конфиг H232:
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER: Конфиг H232
[general]
disallow=all
allow=alaw

port=1720
bindaddr=10.0.5.223
dtmfmode=inband
faststart=yes
h245tunneling=no
mediawaitforconnect=no
context=default
progress_setup=8
progress_alert=8



[avaya]
type=friend
context=from-internal
ip=10.0.5.10
port=1720
disallow=all
allow=alaw
dtmfmode=inband
faststart=yes
h245tunneling=no
mediawaitforconnect=no
directrtp=no
directrtpsetup=no
directmedia=no
canreinvite=no
Я уже всю голову сломал,
вот эти факты мне наиболее интересны:

1-при звонке с аваи 09хххххх на городской номер, когда на авае звонок идет через транк E1, голос идет в обе стороны
2-при звонке с аваи 09хххххх на городской номер, когда на авае звонок идет через транк E1, вызывающий слышит сигнал посылки вызова не от городской АТС (как было бы, если звонить в город напрямую через транк E1, без астериска), а от аваи
3-при звонке с аваи 09хххххх на мобильныйномер, когда на авае звонок идет через CO транк, ни голоса, ни сигнала посылки вызова нет

Re: Транк с AVAYA. В некоторых случаях нет голоса

Добавлено: 06 июл 2015, 17:36
debirs
В общем, сделал следующий конфиг:
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER: конфиг
[general]

tracelevel=4
disallow=all
allow=alaw

port=1720
bindaddr=10.0.5.223
dtmfmode=inband
faststart=yes
h245tunneling=yes

context=default
progress_setup=8
progress_alert=8

canreinvite=no



[avaya]
type=friend
context=from-internal
ip=10.0.5.10
port=1720
disallow=all

allow=alaw

dtmfmode=inband

faststart=no

h245tunneling=yes

canreinvite=no
и все заработало.

Но все же интересно, почему при звонке на городской номер по E1 сигнал вызова дает авая, а не город...


Всем огромное спасибо за помощь!!!