[Asterisk-Users] G729 doesn't work.

isamar at isamarmaia.org isamar at isamarmaia.org
Tue Jul 22 15:15:59 MST 2003


I got my license yesterday and I'm trying to make it work
with my Quicknet Linejack.

The last lines of asterisk's "h.323 trace 5" are:

 0:56.570                 H245:8113c78      h323neg.cxx(620)   H245
Received TerminalCapabilitySetAck: state=InProgress pduSeq=2 outSeq=2
0:56.571                 H245:8113c78      h323neg.cxx(630)   H245
TerminalCapabilitySet Sent.
0:56.571                 H245:8113c78         h323.cxx(3876)  H323
InternalEstablishedConnectionCheck:
connectionState=HasExecutedSignalConnect fastStartState=FastStartDisabled
0:56.571                 H245:8113c78         h323.cxx(3163)  H245
Received TPKT:  size=2 pos=0.0 {
20 a0
}
0:56.572                 H245:8113c78      h323pdu.cxx(474)   H245
Receiving PDU:
response masterSlaveDeterminationAck {
decision = slave <<null>>
}
0:56.572                 H245:8113c78      h323neg.cxx(406)   H245
Received MasterSlaveDeterminationAck: state=Incoming
0:56.572                 H245:8113c78         h323.cxx(3876)  H323
InternalEstablishedConnectionCheck:
connectionState=HasExecutedSignalConnect fastStartState=FastStartDisabled
0:56.572                 H245:8113c78     h323caps.cxx(1699)  H323
FindCapability: "T.120"
0:56.573                 H245:8113c78         h323.cxx(3933)  H245
Default OnSelectLogicalChannels, FastStartDisabled
0:56.573                 H245:8113c78     h323caps.cxx(1735)  H323
FindCapability: G.729A{n/a} <1>
0:56.573                 H245:8113c78         h323.cxx(3163)  H245
Received TPKT:  size=2 pos=0.0 {
4a 40                                             J@
}
0:56.574                 H245:8113c78      h323pdu.cxx(474)   H245
Receiving PDU:
command endSessionCommand disconnect <<null>>
0:56.574                 H245:8113c78       h323ep.cxx(1537)  H323
Clearing connection ip$localhost/24778 reason=EndedByRemoteUser
0:56.574                 H245:8113c78         h323.cxx(1403)  H323    Call
end reason for ip$localhost/24778 set to EndedByRemoteUser
0:56.574                 H245:8113c78         h323.cxx(1421)  H225
Sending release complete PDU: callRef=24778
0:56.576                 H245:8113c78      h323pdu.cxx(474)   H245
Sending PDU:
command endSessionCommand disconnect <<null>>
0:56.577                 H245:8113c78      h323pdu.cxx(474)   H225
Sending PDU:
{
q931pdu = {
protocolDiscriminator = 8
callReference = 24778
from = originator
messageType = ReleaseComplete
      IE: Cause - Normal call clearing = {
80 90                                              ..
}
IE: User-User = {
25 c0 06 00 08 91 4a 00  03 58 58 00 11 00 34 d6   %.....J..XX...4.
f0 ea fd ba d7 11 9c 2c  ca 60 f5 15 2c 7c 08 80   .......,.`..,|..
01 00                                              ..
}
}
h225pdu = {
h323_uu_pdu = {
h323_message_body = releaseComplete {
protocolIdentifier = 0.0.8.2250.0.3
reason = undefinedReason <<null>>
callIdentifier = {
guid =  16 octets {
34 d6 f0 ea fd ba d7 11  9c 2c ca 60 f5 15 2c 7c   4........,.`..,|
}
}
}
h245Tunneling = FALSE
}
}
}
0:56.592          H225 Caller:8101830         h323.cxx(1620)  H225
Handling PDU: ReleaseComplete callRef=24778
0:56.592          H225 Caller:8101830       h323ep.cxx(1537)  H323
Clearing connection ip$localhost/24778 reason=EndedByTransportFail
0:56.592          H225 Caller:8101830         h323.cxx(1610)  H225
Signal channel closed.
0:56.593          H225 Caller:8101830     tlibthrd.cxx(1072)  PWLib
Ended thread 0x8101830 H225 Caller:8101830
0:57.038                 H323 Cleaner   transports.cxx(1048)  H323
H323Transport::CleanUpOnTermination for H245:8113c78
0:57.038                 H323 Cleaner     tlibthrd.cxx(672)   PWLib
Destroyed thread 0x8113c78 H245:8113c78
0:57.038                 H323 Cleaner   transports.cxx(966)   H323
H323Transport::Close
  0:57.473                 H323 Cleaner   transports.cxx(1048)  H323
H323Transport::CleanUpOnTermination for H225 Caller:8101830
  0:57.474                 H323 Cleaner     tlibthrd.cxx(672)   PWLib
Destroyed thread 0x8101830 H225 Caller:8101830
  0:57.474                 H323 Cleaner         h323.cxx(1518)  H323
Connection ip$localhost/24778 terminated.
  0:57.474                 H323 Cleaner         h323.cxx(1353)  H323
Connection ip$localhost/24778 deleted.
  0:57.474                 H323 Cleaner       h323ep.cxx(1594)  H323
Cleaning up connections
    -- H323/Hermann answered Phone/phone0
WARNING[15376]: File res_parking.c, Line 209 (ast_bridge_call): Bridge
failed on channels Phone/phone0 and H323/Hermann
  == Spawn extension (demo, s, 4) exited non-zero on 'Phone/phone0'
NOTICE[15376]: File channel.c, Line 1296 (ast_set_write_format): Unable to
find
a path from 0 to 69
    -- Hungup 'Phone/phone0'


The other side is a Planet VIP-400 VOIP box(http://www.planet.com.tw)
Its logs are:

 2- HSSM 2 HSMU 0: SM "WAIT TELE CONNECT" ==> "H225 WAIT CONNECT"
   0- HSSM 2 HSMU 0: SM "H225 WAIT CONNECT" <- "H225_connect"
   1- HSSM 2 HSMU 0: SM "H225 WAIT CONNECT" ==> "H245 WAIT COMPLETE"
   0- HSMU 2 HSMU 0: Product ID = "The NuFone Network's H.323 Channel
Driver for Asterisk", netmeeting 0
   1- HSMU 2 HSMU 0: Version ID = "0.1.0 (OpenH323 v1.11.7)"
   0- HSMU 2 HSMU 0: Starting Capabilities Exchange
  21- HSMU 2 HSMU 0: set timer for 90000 in state H245 WAIT COMPLETE
 430- RADH 2 HSMU RAD: cmHookInConnect
   0- RADH 2 HSMU RAD: cmHookClose
   2- RAD 2 HSMU 0:
cmEvCallControlStateChanged(cmControlStateTransportConnected, - )
  10- RADH 2 HSMU RAD: cmHookSend(terminalCapabilitySet)
  10- RADH 2 HSMU RAD: cmHookSend(masterSlaveDetermination)
  17- RADH 2 HSMU RAD: cmHookRecv(terminalCapabilitySet)
   8- RAD 2 HSMU 0: cmEvCallCapabilities
   0- HSMU 0
   0- HSMU 0 Capability Set
   0- HSMU 0      [1] g729AnnexA: Audio Receive
   1- RAD 2 HSMU 0: cmEvCallCapabilitiesExt
   4- RADH 2 HSMU RAD: cmHookSend(terminalCapabilitySetAck)
   6- RADH 2 HSMU RAD: cmHookRecv(masterSlaveDetermination)
  15- RADH 2 HSMU RAD: cmHookSend(masterSlaveDeterminationAck)
  11- HSMU 0 Remote capabilities list:
   0- HSMU 0      [1] g729AnnexA: Audio Receive
   0- HSMU 0 Try matching local element:
   0- HSMU 0      [1] g7231: Audio Receive and Transmit
   0- HSMU 0 Try matching local element:
   0- HSMU 0      [2] g729: Audio Receive and Transmit
   1- HSMU 0 Try matching local element:
   0- HSMU 0      [3] g711Ulaw64k: Audio Receive and Transmit
   0- HSMU 0 Try matching local element:
   0- HSMU 0      [4] t38fax: Data Receive and Transmit
   0- HSMU 0 Try matching local element:
   0- HSMU 0      [5] g729: Audio Receive and Transmit
   0- HSMU 3 HSMU 0: Capabilities: NO MATCH FOUND!
   0- HSSM 2 HSMU 0: SM "H245 WAIT COMPLETE" <- "error release"
   0- HSMU 2 HSMU 0: abort timer in state H245 WAIT COMPLETE
   0- HSSM 2 HSMU 0: SM "H245 WAIT COMPLETE" ==> "RELEASING"
  10- RADH 2 HSMU RAD: cmHookSend(endSessionCommand)
   3- RAD 2 HSMU 0:
cmEvCallControlStateChanged(cmControlStateTransportDisconnected, - )
   2- RADH 2 HSMU RAD: cmHookClose
   7- RADH 2 HSMU RAD: cmHookSend(releaseComplete)
   7- RAD 2 HSMU 0: cmEvCallStateChanged(State = cmCallStateDisconnected,
cmCallStateModeDisconnectedLocal) - remote
   5- RAD 2 HSMU 0: cmEvCallStateChanged(State = cmCallStateIdle,
cmCallStateTransfering) - remote
   2- HSSM 2 HSMU 0: release >> PSU
   0- HSSM 2 HSMU 0: RELEASE: release reason 11
   2- NMM 2 NMM: 0, get_tone_table_entry(Tone_id=20) Using Default tone
table
   0- NMM 4 NMM: 0, states: oper=NORMAL, admin=NORMAL, call=TEAR_DOWN
   0- NMM 2 NMM: 0, Call Record received  '', DSP 0:0
   0- NMM 2  Originated: remote

   0- NMM 2  Terminated: local
   1- NMM 2  Call state: TEAR_DOWN
   0- NMM 2  Release reason: GG_REL_BUSY
   0- NMM 2  Seized ts       = 4448146 msec (since system startup)
   0- NMM 2  Connected ts    =   4826 msec (since line seizure)
   0- NMM 2  Call duration   =   6026 msec (since line seizure)
   0- NMM 2                  =   1200 msec (since connected ts)
   0- NMM 2  Neg. coding     =      0, ts =   20 msec (since line seizure)
   1- HSSM 1 HSMU 0: Double release (IF)
   0- HSSM 2 HSMU 0: SM "RELEASING" ==> "WAIT RELEASE RESPONSE"
   0- HSMU 2 HSMU 0: CapabilitiesExt_msg
   0- HSSM 2 HSMU 0: SM "WAIT RELEASE RESPONSE" <- "H323_disconnect"
   4- RADH 2 HSMU RAD: cmHookClose
   5- HSSM 2 HSMU 0: SM "WAIT RELEASE RESPONSE" <- "H323_idle"
   0- HSSM 2 HSMU 0: << release response
   0- HSSM 2 HSMU 0: SM "WAIT RELEASE RESPONSE" <- "psu_release_response"
   0- HSSM 2 HSMU 0: SM "WAIT RELEASE RESPONSE" ==> "IDLE"
2488- NMM 2 NMM: 0, get_tone_table_entry(Tone_id=20) Using Default tone
table
   1- NMM 4 NMM: 0, states: oper=NORMAL, admin=NORMAL, call=TEAR_DOWN
1000- NMM 4 NMM: 0, states: oper=NORMAL, admin=NORMAL, call=IDLE

Looks like a problem in the protocol in Asterisk's end because it
receives a "reason=EndedByTransportFail".
The Planet's box is 200.221.36.67. The extension 0800781800 can be
called by anyone who wants to make a test....
or I need necessarily a Digium's Board to make it working ;-)

Isamar








More information about the asterisk-users mailing list