[Asterisk-Users] H.323 to SIP extension

Brian K. Hershey admin at cryptednetworks.com
Thu Jan 6 09:46:35 MST 2005


Greetings All-

I have an * box with the NuFone H.323 channel driver installed.
I also have an Altigen VoIP system with a PRI to the PSTN.
I can sucessfully make a call from a SIP extension (snom190)
to an H.323 extension (altigen phone)
The thing I can't seem to make work is a call from a H.323 phone
to a SIP extension.

Here's the layout:

<snom190{1235}>==[192.168.0.0/24]==<asterisk>==[IPSEC VPN 192.168.0.0/24 
- 10.0.0.0/24]
==<altigen server>==[10.0.0.0/24]==<altigen phone{8810}>

It seems that the altigen is sending a ReleaseComplete and dropping the 
call before it
gets routed to the snom190.

Here's an h.323 trace 9:

  0:26.489          H225 Answer:9a33350   transports.cxx(1136)  H225    
Incoming call, first PDU: callReference=1471
  0:26.492          H225 Answer:9a33350     h323caps.cxx(1942)  H323    
Added capability: G.711-uLaw-64k <1>
  0:26.496          H225 Answer:9a33350     h323caps.cxx(1942)  H323    
Added capability: UserInput/hookflash <2>
  0:26.499          H225 Answer:9a33350     h323caps.cxx(1942)  H323    
Added capability: UserInput/dtmf <3>
  0:26.502          H225 Answer:9a33350     h323caps.cxx(2004)  H323    
FindCapability: 1
  0:26.505          H225 Answer:9a33350     h323caps.cxx(2008)  H323    
Found capability: G.711-uLaw-64k <1>
  0:26.508          H225 Answer:9a33350     h323caps.cxx(2004)  H323    
FindCapability: 2
  0:26.511          H225 Answer:9a33350     h323caps.cxx(2008)  H323    
Found capability: UserInput/hookflash <2>
  0:26.514          H225 Answer:9a33350     h323caps.cxx(2004)  H323    
FindCapability: 3
  0:26.517          H225 Answer:9a33350     h323caps.cxx(2008)  H323    
Found capability: UserInput/dtmf <3>
  0:26.520          H225 Answer:9a33350      rfc2833.cxx(81)    RFC2833 
Handler created
        == New H.323 Connection created.
  0:26.523          H225 Answer:9a33350       h323ep.cxx(2227)  H323    
Created new connection: ip$10.0.0.5:1447/1471
  0:26.526          H225 Answer:9a33350         h323.cxx(1761)  H225    
Handling PDU: Setup callRef=1471
  0:26.530          H225 Answer:9a33350      h323neg.cxx(334)   H245    
Stopping MasterSlaveDetermination: state=Idle
  0:26.533          H225 Answer:9a33350      h323neg.cxx(561)   H245    
Stopping TerminalCapabilitySet: state=Idle
        --Received SETUP message
    -- Setting up Call
    --  Call token:  [ip$10.0.0.5:1447/1471]
    --  Calling party name:  [AltiServ VoIP Line(00: 0)]
    --  Calling party number:  [8810]
    --  Called party name:  [1235]
    --  Called party number:  [1235]
        -- Call Failed
        -- ClearCall: Request to clear call with token 
ip$10.0.0.5:1447/1471, cause 7
  0:26.537          H225 Answer:9a33350       h323ep.cxx(1898)  H323    
Clearing connection ip$10.0.0.5:1447/1471 reason=EndedByTransportFail
  0:26.541          H225 Answer:9a33350         h323.cxx(1540)  H323    
Call end reason for ip$10.0.0.5:1447/1471 set to EndedByTransportFail
  0:26.546          H225 Answer:9a33350         h323.cxx(1558)  H225    
Sending release complete PDU: callRef=1471
        -- Sending RELEASE COMPLETE
  0:26.550          H225 Answer:9a33350      h323pdu.cxx(517)   H225    
Sending PDU:
  {
    q931pdu = {
      protocolDiscriminator = 8
      callReference = 1471
      from = destination
      messageType = ReleaseComplete
      IE: User-User = {
        25 c0 06 00 08 91 4a 00  04 58 08 11 00 ba 8b ea   %.....J..X......
        28 6d 5e d9 11 8d 2c 00  0b 6a 59 ee 0c 02 80 01   (m^...,..jY.....
        00                                                 .
      }
    }
    h225pdu = {
      h323_uu_pdu = {
        h323_message_body = releaseComplete {
          protocolIdentifier = 0.0.8.2250.0.4
          reason = undefinedReason <<null>>
          callIdentifier = {
            guid =  16 octets {
              ba 8b ea 28 6d 5e d9 11  8d 2c 00 0b 6a 59 ee 0c   
...(m^...,..jY..
            }
          }
        }
        h245Tunneling = FALSE
      }
    }
  }
Raw PDU:
  08 02 85 bf 5a 7e 00 22  05 25 c0 06 00 08 91 4a   ....Z~.".%.....J
  00 04 58 08 11 00 ba 8b  ea 28 6d 5e d9 11 8d 2c   ..X......(m^...,
  00 0b 6a 59 ee 0c 02 80  01 00                     ..jY......
  0:26.586                 H323 Cleaner       h323ep.cxx(1955)  H323    
Cleaning up connections
  0:26.586                 H323 Cleaner         h323.cxx(1595)  H323    
Connection ip$10.0.0.5:1447/1471 closing: connectionState=NoConnectionActive
  0:26.586                 H323 Cleaner      h323neg.cxx(334)   H245    
Stopping MasterSlaveDetermination: state=Idle
  0:26.587                 H323 Cleaner      h323neg.cxx(561)   H245    
Stopping TerminalCapabilitySet: state=Idle
  0:26.587                 H323 Cleaner   transports.cxx(1109)  H323    
H323Transport::Close
  0:26.587          H225 Answer:9a33350   transports.cxx(1166)  H225    
Signal channel stopped on first PDU.
  0:26.649                 H323 Cleaner   transports.cxx(1191)  H323    
H323Transport::CleanUpOnTermination for H225 Answer:9a33350
  0:26.649                 H323 Cleaner         h323.cxx(1659)  H323    
Connection ip$10.0.0.5:1447/1471 terminated.
-- Call with  ended abnormally
        == H.323 Connection deleted.
  0:26.650                 H323 Cleaner         h323.cxx(1490)  H323    
Connection ip$10.0.0.5:1447/1471 deleted.






More information about the asterisk-users mailing list