[Home]

Summary:ASTERISK-10051: One-way audio (one-way perfect and one-way distorted)
Reporter:Jeanneth Cordova (jeanneth)Labels:
Date Opened:2007-08-09 01:03:27Date Closed:2011-06-07 14:02:51
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Channels/chan_h323
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I make ---[H323]-----> asterisk --[SIP]----> sip client but is not working proprely  I have One-way audio (one-way perfect and one-way distorted)



****** ADDITIONAL INFORMATION ******

isis*CLI== New H.323 Connection created.
       --Received SETUP message
   -- Setting up Call
   --          Call token:  [ip$200.6.248.126:50049/10904]
   --          Calling party name:  [ . test]
   --          Calling party number:  []
   --          Called party name:  [51298907]
   --          Called party number:  [51298907]
   --          Calling party IP:  [200.6.248.126]
Setting capabilities to 0x4010f (g723|gsm|ulaw|alaw|g729|h261)
Capabilities in preference order is ()
Allowed Codecs:
        Table:
  G.723.1A <1>
  G.723.1 <2>
  GSM-06.10 <3>
  G.711-uLaw-64k <4>
  G.711-ALaw-64k <5>
  G.729A <6>
  G.729 <7>
  UserInput/hookflash <8>
  UserInput/RFC2833 <9>
  UserInput/dtmf <10>
Set:
  0:
    0:
      G.723.1A <1>
      G.723.1 <2>
      GSM-06.10 <3>
      G.711-uLaw-64k <4>
      G.711-ALaw-64k <5>
      G.729A <6>
      G.729 <7>
    1:
      UserInput/hookflash <8>
    2:
      UserInput/RFC2833 <9>
      UserInput/dtmf <10>

       =-= In OnAnswerCall for call 10904
               - Progress Indicator: 0
               - Inserting PI of 0 into ALERTING message
   -- Executing [51298907@h323:1] Dial("H323/ip$200.6.248.126:50049/10904", "SIP/23535970/51298907") in new stack
   -- Called 23535970/51298907
   -- SIP/23535970-08f351d0 is ringing
       Sending alerting
   -- SIP/23535970-08f351d0 answered H323/ip$200.6.248.126:50049/10904
       Answering call ip$200.6.248.126:50049/10904
Peer capability is G.711-ALaw-64k <2>
Found peer capability G.711-ALaw-64k <2>, Asterisk code is 8, frame size (in ms) is 20
Peer capability is G.711-uLaw-64k <3>
Found peer capability G.711-uLaw-64k <3>, Asterisk code is 4, frame size (in ms) is 20
Peer capability is G.723.1 <4>
Found peer capability G.723.1 <4>, Asterisk code is 1, frame size (in ms) is 300
Peer capabilities = 0xd (g723|ulaw|alaw), ordered list is (alaw|ulaw|g723)
isis*CLI-- Started logical channel: sending G.723.1
               -- channelsOpen = 1
       =-= In OnConnectionEstablished for call 10904
               -- Connection Established with " . test [200.6.248.126]"
       -- Started logical channel: receiving G.711-uLaw-64k
               -- channelsOpen = 2
               External RTP Session Starting
               RTP channel id 1 parameters:
               -- remoteIpAddress: 200.6.248.126
               -- remotePort: 49596
               -- ExternalIpAddress: 216.144.238.254
               -- ExternalPort: 16606
isis*CLIMyH323_ExternalRTPChannel::OnReceivedAckPDU
               -- remoteIpAddress: 200.6.248.126
               -- remotePort: 49596
               External RTP Session Starting
               RTP channel id 1 parameters:
               -- remoteIpAddress: 200.6.248.126
               -- remotePort: 49596
               -- ExternalIpAddress: 216.144.238.254
               -- ExternalPort: 16606
[Aug  9 00:22:40] NOTICE[14802]: rtp.c:783 process_rfc3389: Comfort noise support incomplete in Asterisk (RFC 3389). Please turn off on client if possible. Client IP: 200.12.235.169
 == Spawn extension (h323, 51298907, 1) exited non-zero on 'H323/ip$200.6.248.126:50049/10904'
       -- Sending RELEASE COMPLETE
       -- ClearCall: Request to clear call with token ip$200.6.248.126:50049/10904, cause EndedByRemoteUser
isis*CLI>       channelsOpen = 1
isis*CLI>       channelsOpen = 0
isis*CLIExternalRTPChannel Destroyed
isis*CLIExternalRTPChannel Destroyed
isis*CLI-- ClearCall: Request to clear call with token ip$200.6.248.126:50049/10904, cause EndedByTransportFail
--  . test [200.6.248.126] has cleared the call
       == H.323 Connection deleted.
Comments:By: Jason Parker (jparker) 2007-08-09 10:47:44

Is this the same as issue 10350 that you reported?

By: Jeanneth Cordova (jeanneth) 2007-08-09 11:40:13

no, this with openH323 the other is with ooh323, ooh323 is not working

By: Jason Parker (jparker) 2007-08-09 11:43:40

The "distorted audio" is probably a result of CNG (comfort noise generation), as evidenced by this warning message:

[Aug 9 00:22:40] NOTICE[14802]: rtp.c:783 process_rfc3389: Comfort noise support incomplete in Asterisk (RFC 3389). Please turn off on client if possible. Client IP: 200.12.235.169

Turn it off in your client, then try again.

By: Jeanneth Cordova (jeanneth) 2007-08-09 12:37:32

I have the same notice in SIP but in sip is working perfect, !!!!

By: Jeanneth Cordova (jeanneth) 2007-08-09 15:58:59

I turn off CNG comfort noise generation but the same

By: Jeanneth Cordova (jeanneth) 2007-08-09 16:03:37

isis*CLI== New H.323 Connection created.
       --Received SETUP message
   -- Setting up Call
   --          Call token:  [ip$200.6.248.126:51600/4096]
   --          Calling party name:  [unknown]
   --          Calling party number:  [24845678]
   --          Called party name:  [51298907]
   --          Called party number:  [51298907]
   --          Calling party IP:  [200.6.248.126]
Setting capabilities to 0x4010f (g723|gsm|ulaw|alaw|g729|h261)
Capabilities in preference order is ()
Allowed Codecs:
        Table:
  G.723.1A <1>
  G.723.1 <2>
  GSM-06.10 <3>
  G.711-uLaw-64k <4>
  G.711-ALaw-64k <5>
  G.729A <6>
  G.729 <7>
  UserInput/hookflash <8>
  UserInput/RFC2833 <9>
  UserInput/dtmf <10>
Set:
  0:
    0:
      G.723.1A <1>
      G.723.1 <2>
      GSM-06.10 <3>
      G.711-uLaw-64k <4>
      G.711-ALaw-64k <5>
      G.729A <6>
      G.729 <7>
    1:I>
      UserInput/hookflash <8>
    2:
      UserInput/RFC2833 <9>
      UserInput/dtmf <10>

isis*CLI=-= In OnAnswerCall for call 4096
               - Progress Indicator: 0
               - Inserting PI of 0 into ALERTING message
       -- Started logical channel: sending GSM-06.10
               -- channelsOpen = 1
               External RTP Session Starting
               RTP channel id 1 parameters:
               -- remoteIpAddress: 200.6.248.126
               -- remotePort: 49154
               -- ExternalIpAddress: 216.144.238.254
               -- ExternalPort: 5378
       -- Started logical channel: receiving GSM-06.10
               -- channelsOpen = 2
               External RTP Session Starting
               RTP channel id 1 parameters:
               -- remoteIpAddress: 200.6.248.126
               -- remotePort: 49154
               -- ExternalIpAddress: 216.144.238.254
               -- ExternalPort: 5378
       ExternalRTPChannel Destroyed
       ExternalRTPChannel Destroyed
       ExternalRTPChannel Destroyed
       ExternalRTPChannel Destroyed
       -- Transmitting RFC2833 on payload 101
Peer capability is GSM-06.10 <1>
Found peer capability GSM-06.10 <1>, Asterisk code is 2, frame size (in ms) is 20
Peer capability is G.711-ALaw-64k <4>
Found peer capability G.711-ALaw-64k <4>, Asterisk code is 8, frame size (in ms) is 20
Peer capability is G.711-uLaw-64k <5>
Found peer capability G.711-uLaw-64k <5>, Asterisk code is 4, frame size (in ms) is 20
Peer capabilities = 0xe (gsm|ulaw|alaw), ordered list is (gsm|alaw|ulaw)
   -- Executing [51298907@h323:1] Dial("H323/ip$200.6.248.126:51600/4096", "SIP/23535970/51298907") in new stack
   -- Called 23535970/51298907
isis*CLI-- Received Facility message...
Using 216.144.238.254 for outbound H.245 transport
Peer capability is GSM-06.10 <1>
Found peer capability GSM-06.10 <1>, Asterisk code is 2, frame size (in ms) is 20
Peer capability is G.711-ALaw-64k <4>
Found peer capability G.711-ALaw-64k <4>, Asterisk code is 8, frame size (in ms) is 20
Peer capability is G.711-uLaw-64k <5>
Found peer capability G.711-uLaw-64k <5>, Asterisk code is 4, frame size (in ms) is 20
Peer capabilities = 0xe (gsm|ulaw|alaw), ordered list is (gsm|alaw|ulaw)
isis*CLI-- Received Facility message...
  -- SIP/23535970-08f898d0 answered H323/ip$200.6.248.126:51600/4096
       Answering call ip$200.6.248.126:51600/4096
       =-= In OnConnectionEstablished for call 4096
               -- Connection Established with "unknown [200.6.248.126]"
 == Spawn extension (h323, 51298907, 1) exited non-zero on 'H323/ip$200.6.248.126:51600/4096'
       -- Sending RELEASE COMPLETE
       -- ClearCall: Request to clear call with token ip$200.6.248.126:51600/4096, cause EndedByRemoteUser
isis*CLI>       channelsOpen = 1
               channelsOpen = 0
isis*CLIExternalRTPChannel Destroyed
isis*CLIExternalRTPChannel Destroyed
isis*CLI-- ClearCall: Request to clear call with token ip$200.6.248.126:51600/4096, cause EndedByTransportFail
-- unknown [200.6.248.126] has cleared the call
       == H.323 Connection deleted.

By: Jeanneth Cordova (jeanneth) 2007-08-09 23:33:52

well, the problem with this it not CNG, is how my client send me the codec and NAT ......!!!!so thanks, before three weeks finaly i have h323 and the qualify is very good, thanks

By: Jason Parker (jparker) 2007-12-07 16:24:53.000-0600

Closing, per reporter.