[Asterisk-Users] H323 call dropped when answered

Krystian Filiks krystian.filiks at kfiliks.com
Wed Aug 11 16:56:44 MST 2004


Hi All.
 
I'm using RedHat 9
I configured the chan_h323 and asterisk from CVS.
 
This is the scenario  SJ_lab_phone(sip) ---------------> Asterisk
-------------> H323 GK --------------> PSTN
 
I have tried all codec's and always the same result, the called phone
will ring without dropping for how ever I allow it to but as soon as it
is answered it immediately gets disconnected.
 
Have anyone got a clue where to look for the problem?
 
Here is a Debug trace:
 
-- Executing Dial("SIP/sj1-6a47", "H323/0797617729 at xxx.xxx.xxx.xxx") in
 new stack
Allowed Codecs:
         Table:
   G.723.1{sw} <1>
 Set:
   0:
     0:
       G.723.1{sw} <1>
 
 -- Making call to 0797617729 at xxx.xxx.xxx.xxx using gatekeeper.
        == New H.323 Connection created.
        -- sj1 is calling host 0797617729 at xxx.xxx.xxx.xxx
        -- Call token is ip$localhost/28087
        -- Call reference is 28087
    -- Called 0797617729 at xxx.xxx.xxx.xxx
  1:56.153          H225 Caller:813bbe0    h323trans.cxx(656)   Trans
Timeout
on request seqnum=14213, try #1 of 2
  1:59.163          H225 Caller:813bbe0    h323trans.cxx(656)   Trans
Timeout
on request seqnum=14213, try #2 of 2
        -- Sending SETUP message
        -- Received Facility message...
        -- Received Facility message...
        -- Received Facility message...
        -- Received Facility message...
        -- Received Facility message...
        =*= In CreateRealTimeLogicalChannel for call 28087
                -- externalIpAddress: xxx.xxx.xxx.xxx
                -- externalPort: 15702
                -- SessionID: 1
                -- Direction: IsReceiver
         -- Started logical channel: receiving G.723.1{sw}
                -- channelsOpen = 1
        -- Ringing phone for "xxx.xxx.xxx.xxx"
    -- H323/xxx.xxx.xxx.xxx is ringing
  2:10.228          H225 Caller:813bbe0         h323.cxx(2898)  H225
Received
 connect PDU.
        =*= In CreateRealTimeLogicalChannel for call 28087
                -- externalIpAddress: xxx.xxx.xxx.xxx
                -- externalPort: 15702
                -- SessionID: 1
                -- Direction: IsTransmitter
         -- Started logical channel: sending G.723.1{sw}
                -- channelsOpen = 2
        -- Connection Established with "Tenor Gateway [xxx.xxx.xxx.xxx]"
    -- H323/xxx.xxx.xxx.xxx answered SIP/sj1-6a47
        -- Received Facility message...
        -- ClearCall: Request to clear call with token
ip$localhost/28087
        -- Sending RELEASE COMPLETE
  == Spawn extension (default, 0797617729, 1) exited non-zero on
'SIP/sj1-6a47'
    -- Executing Dial("SIP/sj1-6a47", "H323/h at xxx.xxx.xxx.xxx") in new
stack
Allowed Codecs:
         Table:
   G.723.1{sw} <1>
 Set:
   0:
     0:
       G.723.1{sw} <1>
 
                channelsOpen = 1
 -- Making call to h at xxx.xxx.xxx.xxx using gatekeeper.
                channelsOpen = 0
  2:10.385          H225 Caller:813bbe0      h323pdu.cxx(1159)  H225
Read err
or (0):
        == New H.323 Connection created.
        -- sj1 is calling host h at xxx.xxx.xxx.xxx
        -- Call token is ip$localhost/28088
        -- Call reference is 28088
    -- Called h at xxx.xxx.xxx.xxx
        -- ClearCall: Request to clear call with token
ip$localhost/28088
        -- Sending RELEASE COMPLETE
  == Spawn extension (default, h, 1) exited non-zero on 'SIP/sj1-6a47'
  2:10.404           Transactor:8140c30    h323trans.cxx(678)   Trans
admissio
nRequest rejected: requestDenied
  2:10.406          H225 Caller:8152bb8         h323.cxx(2660)  H225
Gatekeep
er refused admission: requestDenied
  2:10.423                 H323 Cleaner         h323.cxx(1542)  H323
Connecti
on ip$localhost/28087 terminated.
 -- Call with Tenor Gateway [xxx.xxx.xxx.xxx] completed
(EndedByLocalUser)
        == H.323 Connection deleted.
  2:10.431                 H323 Cleaner         h323.cxx(1542)  H323
Connecti
on ip$localhost/28088 terminated.
 -- Call with h completed (EndedByLocalUser)
        == H.323 Connection deleted.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040811/10297f67/attachment.htm


More information about the asterisk-users mailing list