[Home]

Summary:ASTERISK-00995: Pressing flash to transfer in h323 phone crashes Asterisk
Reporter:jmerlino (jmerlino)Labels:
Date Opened:2004-02-05 07:37:37.000-0600Date Closed:2004-09-25 02:56:59
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:When users press flash they get dialtone from asterisk (regardles of the T or t setting in the dial command) and then, if they dial any extension Asterisk craches.


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

This is the debug of an established h323 call which then attemps to transfer using flash:

== Create Connection: callReference=25681
       == New H.323 Connection created: callReference=25681
       -- Received SETUP message
   -- Setting up Call
   --     Call token:  [ip$192.168.3.1:33460/25681]
   --     Calling party name:  [Planet-FXS]
   --     Calling party number:  [133]
   --     Called  party name:  [189]
   --     Called  party number:  [189]
   -- Executing Macro("H323/ip$192.168.3.1:33460/25681", "callto_sip|101|gstream2@pbxip.net") in new stack
   -- Executing Dial("H323/ip$192.168.3.1:33460/25681", "SIP/gstream2@pbxip.net| 20| tm") in new stack
   -- parse_srv: SRV mapped to host sip.pbxip.net, port 5060
   -- Called gstream2@pbxip.net
   -- Started music on hold, class 'default', on H323/ip$192.168.3.1:33460/25681
       =*= In CreateRealTimeLogicalChannel for call 25681
               -- externalIpAddress: 192.168.3.1
               -- externalPort: 11046
               -- SessionID: 1
               -- Direction: IsReceiver
       =*= In CreateRealTimeLogicalChannel for call 25681
               -- externalIpAddress: 192.168.3.1
               -- externalPort: 11046
               -- SessionID: 1
               -- Direction: IsTransmitter
        -- Started logical channel: sending G.711-uLaw-64k{sw}
               -- channelsOpen = 1
               -- remoteIpAddress: 192.168.3.10
               -- remotePort: 30004
               -- ExternalIpAddress: 192.168.3.1
               -- ExternalPort: 11046
        -- Started logical channel: receiving G.711-uLaw-64k{sw}
               -- channelsOpen = 2
               -- remoteIpAddress: 192.168.3.10
               -- remotePort: 30004
               -- ExternalIpAddress: 192.168.3.1
               -- ExternalPort: 11046
   -- SIP/pbxip.net-c03d is ringing
       -- Received Facility message...
   -- SIP/pbxip.net-c03d answered H323/ip$192.168.3.1:33460/25681
   -- Stopped music on hold on H323/ip$192.168.3.1:33460/25681
       -- Connection Established with "Planet-FXS (Planet0-fxs, 133) [192.168.3.1]"
Feb  5 10:07:18 NOTICE[442392]: rtp.c:264 process_rfc3389: RFC3389 support incomplete.  Turn off on client if possible
       == Create Connection: callReference=12939
       == New H.323 Connection created: callReference=12939
       -- Received Facility message...
Feb  5 10:07:18 ERROR[475163]: chan_h323.c:964 create_connection: Unable to allocate private structure, this is very bad.
Segmentation fault
[root@pbx root]# Ouch ... error while writing audio data: : Broken pipe


This is the backtrace:

#0  0x434f0b71 in MyH323Connection::CreateRealTimeLogicalChannel(H323Capability const&, H323Channel::Directions, unsigned, H245_H2250LogicalChannelParameters const*) () from /usr/lib/asterisk/modules/chan_h323.so
Comments:By: Brian West (bkw918) 2004-02-05 09:29:52.000-0600

You have this same bug with patches on 629 please verify that fixes it or if its still a problem.