[asterisk-bugs] [Asterisk 0011993]: asterisk crashes when trying to make a call from SIP endpoint to h323 endpoint registered to gnugk

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Feb 14 04:58:44 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11993 
====================================================================== 
Reported By:                tsgan
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11993
Category:                   Channels/chan_h323
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.17 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             02-14-2008 03:44 CST
Last Modified:              02-14-2008 04:58 CST
====================================================================== 
Summary:                    asterisk crashes when trying to make a call from SIP
endpoint to h323 endpoint registered to gnugk
Description: 
asterisk crashes and segmentation faults with core dump when trying to make
a call from SIP endpoint to h323 endpoint registered to gnugk.
====================================================================== 

---------------------------------------------------------------------- 
 tsgan - 02-14-08 04:58  
---------------------------------------------------------------------- 
*CLI> core set debug 10
Core debug was 0 and is now 10
*CLI> [Feb 14 19:01:12] DEBUG[4681]: chan_sip.c:4559 find_call: = No match
Their Call ID: MWU1MTE4M2ExMWY4YzJlNTgxZTFjOTY3MGRjZWE3MWE. Their Tag
6562226e Our tag: as48b85f99
[Feb 14 19:01:12] DEBUG[4681]: chan_sip.c:4559 find_call: = No match Their
Call ID: 0faeb1f77aa740cf553f0ee20b60768a at 192.168.0.233 Their Tag  Our tag:
as081a4aa1
[Feb 14 19:01:12] DEBUG[4681]: chan_sip.c:4559 find_call: = No match Their
Call ID: 099064814767f49327483c0c068e6278 at 192.168.0.233 Their Tag  Our tag:
as02800ee4
[Feb 14 19:01:12] DEBUG[4681]: chan_sip.c:4559 find_call: = No match Their
Call ID: 3b20c7bc50457bdc0f65290a626713cb at 192.168.0.233 Their Tag  Our tag:
as56fe45f7
[Feb 14 19:01:12] DEBUG[4681]: chan_sip.c:4559 find_call: = No match Their
Call ID: 5ad3051b3dce62ac07a0ec525b68a0bf at 192.168.0.233 Their Tag  Our tag:
as6e755389
[Feb 14 19:01:12] DEBUG[4681]: chan_sip.c:4559 find_call: = No match Their
Call ID: 4661e6b06c5f600170ae1f10368bf3e6 at 192.168.0.233 Their Tag  Our tag:
as02114351
[Feb 14 19:01:12] DEBUG[4681]: chan_sip.c:4559 find_call: = No match Their
Call ID: 4a7c19df602269665cfd96c9526ebd1e at 192.168.0.233 Their Tag  Our tag:
as010be152
[Feb 14 19:01:12] DEBUG[4681]: chan_sip.c:4559 find_call: = No match Their
Call ID: 5f46266b34af8c8c4cdc5b9d5ac4e37e at 192.168.0.233 Their Tag  Our tag:
as7544f211
[Feb 14 19:01:12] DEBUG[4681]: chan_sip.c:4559 find_call: = No match Their
Call ID: 5301eac03ae1b886653742933893157f at 192.168.0.233 Their Tag  Our tag:
as7e85f5db
[Feb 14 19:01:12] DEBUG[4681]: chan_sip.c:4559 find_call: = No match Their
Call ID: 53c7b46c05094cee768c584a6b81a274 at 192.168.0.233 Their Tag  Our tag:
as12b086af
[Feb 14 19:01:12] DEBUG[4681]: chan_sip.c:4559 find_call: = No match Their
Call ID: 45ddd4d64495bbf97353a3aa103e8456 at 192.168.0.233 Their Tag  Our tag:
as432f33b7
[Feb 14 19:01:12] DEBUG[4681]: chan_sip.c:4559 find_call: = No match Their
Call ID: 757126553260e86a7d419dc87c934003 at 192.168.0.233 Their Tag  Our tag:
as3c2bb7bb
[Feb 14 19:01:12] DEBUG[4681]: chan_sip.c:4506 sip_alloc: Allocating new
SIP dialog for fXtmgphVKQDTvl8t at 192.168.0.38 - REGISTER (No RTP)
[Feb 14 19:01:12] DEBUG[4681]: chan_sip.c:15163 handle_request: ****
Received REGISTER (2) - Command in SIP REGISTER
    -- Saved useragent "PHONE" for peer 1100051
[Feb 14 19:01:12] DEBUG[4681]: devicestate.c:304
__ast_device_state_changed_literal: Notification of state change to be
queued on device/channel SIP/1100051
[Feb 14 19:01:12] DEBUG[4681]: devicestate.c:161 ast_device_state: No
provider found, checking channel drivers for SIP - 1100051
[Feb 14 19:01:12] DEBUG[4681]: chan_sip.c:15797 sip_devicestate: Checking
device state for peer 1100051
[Feb 14 19:01:12] DEBUG[4681]: devicestate.c:287 do_state_change: Changing
state for SIP/1100051 - state 1 (Not in use)
[Feb 14 19:01:12] DEBUG[4681]: app_queue.c:589 handle_statechange: Device
'SIP/1100051' changed to state '1' (Not in use) but we don't care because
they're not a member of any queue.

*CLI> [Feb 14 19:01:17] DEBUG[4681]: chan_sip.c:4506 sip_alloc: Allocating
new SIP dialog for (No Call-ID) - NOTIFY (No RTP)
[Feb 14 19:01:17] DEBUG[4681]: chan_sip.c:4559 find_call: = Found Their
Call ID: 7d4f57dc787107bc66e65b45659a3325 at 192.168.0.233 Their Tag  Our tag:
as70d2f149
[Feb 14 19:01:17] DEBUG[4681]: chan_sip.c:2169 __sip_ack: Stopping
retransmission on '7d4f57dc787107bc66e65b45659a3325 at 192.168.0.233' of
Request 102: Match Not Found
Really destroying SIP dialog
'7d4f57dc787107bc66e65b45659a3325 at 192.168.0.233' Method: NOTIFY
[Feb 14 19:01:25] DEBUG[4681]: chan_sip.c:2090 __sip_autodestruct: Auto
destroying SIP dialog '757126553260e86a7d419dc87c934003 at 192.168.0.233'
[Feb 14 19:01:25] DEBUG[4681]: chan_sip.c:3280 sip_destroy: Destroying SIP
dialog 757126553260e86a7d419dc87c934003 at 192.168.0.233
Really destroying SIP dialog
'757126553260e86a7d419dc87c934003 at 192.168.0.233' Method: NOTIFY
[Feb 14 19:01:25] DEBUG[4681]: chan_sip.c:2090 __sip_autodestruct: Auto
destroying SIP dialog '45ddd4d64495bbf97353a3aa103e8456 at 192.168.0.233'
[Feb 14 19:01:25] DEBUG[4681]: chan_sip.c:3280 sip_destroy: Destroying SIP
dialog 45ddd4d64495bbf97353a3aa103e8456 at 192.168.0.233
Really destroying SIP dialog
'45ddd4d64495bbf97353a3aa103e8456 at 192.168.0.233' Method: NOTIFY
[Feb 14 19:01:25] DEBUG[4681]: chan_sip.c:2090 __sip_autodestruct: Auto
destroying SIP dialog '53c7b46c05094cee768c584a6b81a274 at 192.168.0.233'
[Feb 14 19:01:25] DEBUG[4681]: chan_sip.c:3280 sip_destroy: Destroying SIP
dialog 53c7b46c05094cee768c584a6b81a274 at 192.168.0.233
Really destroying SIP dialog
'53c7b46c05094cee768c584a6b81a274 at 192.168.0.233' Method: NOTIFY
[Feb 14 19:01:25] DEBUG[4681]: chan_sip.c:2090 __sip_autodestruct: Auto
destroying SIP dialog '5301eac03ae1b886653742933893157f at 192.168.0.233'
[Feb 14 19:01:25] DEBUG[4681]: chan_sip.c:3280 sip_destroy: Destroying SIP
dialog 5301eac03ae1b886653742933893157f at 192.168.0.233
Really destroying SIP dialog
'5301eac03ae1b886653742933893157f at 192.168.0.233' Method: NOTIFY
[Feb 14 19:01:25] DEBUG[4681]: chan_sip.c:2090 __sip_autodestruct: Auto
destroying SIP dialog '5f46266b34af8c8c4cdc5b9d5ac4e37e at 192.168.0.233'
[Feb 14 19:01:25] DEBUG[4681]: chan_sip.c:3280 sip_destroy: Destroying SIP
dialog 5f46266b34af8c8c4cdc5b9d5ac4e37e at 192.168.0.233
Really destroying SIP dialog
'5f46266b34af8c8c4cdc5b9d5ac4e37e at 192.168.0.233' Method: NOTIFY
[Feb 14 19:01:25] DEBUG[4681]: chan_sip.c:2090 __sip_autodestruct: Auto
destroying SIP dialog '4a7c19df602269665cfd96c9526ebd1e at 192.168.0.233'
[Feb 14 19:01:25] DEBUG[4681]: chan_sip.c:3280 sip_destroy: Destroying SIP
dialog 4a7c19df602269665cfd96c9526ebd1e at 192.168.0.233
Really destroying SIP dialog
'4a7c19df602269665cfd96c9526ebd1e at 192.168.0.233' Method: NOTIFY
[Feb 14 19:01:25] DEBUG[4681]: chan_sip.c:2090 __sip_autodestruct: Auto
destroying SIP dialog '4661e6b06c5f600170ae1f10368bf3e6 at 192.168.0.233'
[Feb 14 19:01:25] DEBUG[4681]: chan_sip.c:3280 sip_destroy: Destroying SIP
dialog 4661e6b06c5f600170ae1f10368bf3e6 at 192.168.0.233
Really destroying SIP dialog
'4661e6b06c5f600170ae1f10368bf3e6 at 192.168.0.233' Method: NOTIFY
[Feb 14 19:01:25] DEBUG[4681]: chan_sip.c:2090 __sip_autodestruct: Auto
destroying SIP dialog '5ad3051b3dce62ac07a0ec525b68a0bf at 192.168.0.233'
[Feb 14 19:01:25] DEBUG[4681]: chan_sip.c:3280 sip_destroy: Destroying SIP
dialog 5ad3051b3dce62ac07a0ec525b68a0bf at 192.168.0.233
Really destroying SIP dialog
'5ad3051b3dce62ac07a0ec525b68a0bf at 192.168.0.233' Method: NOTIFY
[Feb 14 19:01:25] DEBUG[4681]: chan_sip.c:2090 __sip_autodestruct: Auto
destroying SIP dialog '3b20c7bc50457bdc0f65290a626713cb at 192.168.0.233'
[Feb 14 19:01:25] DEBUG[4681]: chan_sip.c:3280 sip_destroy: Destroying SIP
dialog 3b20c7bc50457bdc0f65290a626713cb at 192.168.0.233
Really destroying SIP dialog
'3b20c7bc50457bdc0f65290a626713cb at 192.168.0.233' Method: NOTIFY
[Feb 14 19:01:25] DEBUG[4681]: chan_sip.c:2090 __sip_autodestruct: Auto
destroying SIP dialog '099064814767f49327483c0c068e6278 at 192.168.0.233'
[Feb 14 19:01:25] DEBUG[4681]: chan_sip.c:3280 sip_destroy: Destroying SIP
dialog 099064814767f49327483c0c068e6278 at 192.168.0.233
Really destroying SIP dialog
'099064814767f49327483c0c068e6278 at 192.168.0.233' Method: NOTIFY
[Feb 14 19:01:25] DEBUG[4681]: chan_sip.c:2090 __sip_autodestruct: Auto
destroying SIP dialog '0faeb1f77aa740cf553f0ee20b60768a at 192.168.0.233'
[Feb 14 19:01:25] DEBUG[4681]: chan_sip.c:3280 sip_destroy: Destroying SIP
dialog 0faeb1f77aa740cf553f0ee20b60768a at 192.168.0.233
Really destroying SIP dialog
'0faeb1f77aa740cf553f0ee20b60768a at 192.168.0.233' Method: NOTIFY
[Feb 14 19:01:26] DEBUG[4681]: chan_sip.c:2090 __sip_autodestruct: Auto
destroying SIP dialog 'MWU1MTE4M2ExMWY4YzJlNTgxZTFjOTY3MGRjZWE3MWE.'
[Feb 14 19:01:26] DEBUG[4681]: chan_sip.c:3280 sip_destroy: Destroying SIP
dialog MWU1MTE4M2ExMWY4YzJlNTgxZTFjOTY3MGRjZWE3MWE.
Really destroying SIP dialog
'MWU1MTE4M2ExMWY4YzJlNTgxZTFjOTY3MGRjZWE3MWE.' Method: REGISTER
[Feb 14 19:01:27] DEBUG[4681]: chan_sip.c:4559 find_call: = No match Their
Call ID: fXtmgphVKQDTvl8t at 192.168.0.38 Their Tag NXUSwtKMEQge1EyN Our tag:
as17cccbf3
[Feb 14 19:01:27] DEBUG[4681]: chan_sip.c:2732 do_setnat: Setting NAT on
RTP to Off
[Feb 14 19:01:27] DEBUG[4681]: chan_sip.c:4506 sip_alloc: Allocating new
SIP dialog for qxiNiMz1gt6w4V0i at 192.168.0.38 - INVITE (With RTP)
[Feb 14 19:01:27] DEBUG[4681]: chan_sip.c:15163 handle_request: ****
Received INVITE (5) - Command in SIP INVITE
[Feb 14 19:01:27] DEBUG[4681]: chan_sip.c:2732 do_setnat: Setting NAT on
RTP to Off
[Feb 14 19:01:27] DEBUG[4681]: chan_sip.c:5399 process_sdp: T38 state
changed to 0 on channel <none>
[Feb 14 19:01:27] DEBUG[4681]: chan_sip.c:5488 process_sdp: We're settling
with these formats: 0xc (ulaw|alaw)
[Feb 14 19:01:27] DEBUG[4681]: chan_sip.c:13843 handle_request_invite:
Checking SIP call limits for device 1100051
[Feb 14 19:01:27] DEBUG[4681]: chan_sip.c:3171 update_call_counter:
Updating call counter for incoming call
[Feb 14 19:01:27] DEBUG[4681]: chan_sip.c:4025 sip_new: This channel will
not be able to handle video.
[Feb 14 19:01:27] DEBUG[4681]: chan_sip.c:8279 build_route: build_route:
Contact hop: <sip:1100051 at 192.168.0.38:5060>
[Feb 14 19:01:27] DEBUG[4681]: chan_sip.c:13922 handle_request_invite:
SIP/1100051-29ad0000: New call is still down.... Trying... 
[Feb 14 19:01:27] DEBUG[4681]: devicestate.c:304
__ast_device_state_changed_literal: Notification of state change to be
queued on device/channel SIP/1100051-29ad0000
[Feb 14 19:01:27] DEBUG[4681]: devicestate.c:161 ast_device_state: No
provider found, checking channel drivers for SIP - 1100051
[Feb 14 19:01:27] DEBUG[4681]: chan_sip.c:15797 sip_devicestate: Checking
device state for peer 1100051
[Feb 14 19:01:27] DEBUG[4681]: devicestate.c:287 do_state_change: Changing
state for SIP/1100051 - state 1 (Not in use)
[Feb 14 19:01:27] DEBUG[4681]: pbx.c:1831 pbx_extension_helper: Launching
'Dial'
    -- Executing [0011002 at default:1] Dial("SIP/1100051-29ad0000",
"H323/0011002") in new stack
[Feb 14 19:01:27] DEBUG[4681]: app_queue.c:589 handle_statechange: Device
'SIP/1100051' changed to state '1' (Not in use) but we don't care because
they're not a member of any queue.
Segmentation fault (core dumped)
daemon1# 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-14-08 04:58  tsgan          Note Added: 0082232                          
======================================================================




More information about the asterisk-bugs mailing list