[asterisk-bugs] [Asterisk 0017088]: app_followme + cdr_adaptive_odbc crashes when followme progresses from number set to number set

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Mar 23 15:17:51 CDT 2010


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17088 
====================================================================== 
Reported By:                whardier
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17088
Category:                   Applications/app_followme
Reproducibility:            sometimes
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.6 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-03-23 15:17 CDT
Last Modified:              2010-03-23 15:17 CDT
====================================================================== 
Summary:                    app_followme + cdr_adaptive_odbc crashes when
followme progresses from number set to number set
Description: 
When cdr_adaptive_odbc is enabled but fails for whatever reason
app_followme causes a crash in Asterisk.  cdr_adaptive_odbc for phone-phone
calls operates just fine normally (tested)

[Mar 23 12:10:45] Connected to Asterisk 1.6.2.6-0.8224 currently running
on gw01 (pid = 32244)
Verbosity is at least 3
gw01*CLI> core set verbose 10
Verbosity was 3 and is now 10
gw01*CLI> core set debug 10
Core debug was 0 and is now 10
[Mar 23 12:10:56]   == Using SIP RTP TOS bits 184
[Mar 23 12:10:56]   == Using SIP RTP CoS mark 5
[Mar 23 12:10:56]   == Using SIP VRTP TOS bits 136
[Mar 23 12:10:56]   == Using SIP VRTP CoS mark 4
[Mar 23 12:10:56]     -- Executing [0004 at from-office-fairbanks-ak:1]
FollowMe("SIP/0011-Sales-00000000", "0004,sa") in new stack
[Mar 23 12:10:56]     -- <SIP/0011-Sales-00000000> Playing
'followme/status.ulaw' (language 'en')
[Mar 23 12:10:56] NOTICE[860]: channel.c:3003 __ast_read: Dropping
incompatible voice frame on SIP/0011-Sales-00000000 of format g729 since
our native format has changed to 0x4 (ulaw)
[Mar 23 12:11:01]     -- <SIP/0011-Sales-00000000> Playing
'vm-rec-name.ulaw' (language 'en')
[Mar 23 12:11:05]     -- <SIP/0011-Sales-00000000> Playing 'beep.ulaw'
(language 'en')
[Mar 23 12:11:05]     -- x=0, open writing: 
/var/spool/asterisk/followme.gw01-1269375056.0 format: sln, 0xa3a35e0
[Mar 23 12:11:08]     -- User ended message by pressing #
[Mar 23 12:11:08]     -- <SIP/0011-Sales-00000000> Playing
'auth-thankyou.ulaw' (language 'en')
[Mar 23 12:11:09]     -- <SIP/0011-Sales-00000000> Playing
'followme/pls-hold-while-try.ulaw' (language 'en')
[Mar 23 12:11:12]     -- Started music on hold, class 'default', on
SIP/0011-Sales-00000000
[Mar 23 12:11:12]     -- calling 0054 at followme
[Mar 23 12:11:12]     -- Executing [0054 at followme:1]
NoCDR("Local/0054 at followme-6ef6;2", "") in new stack
[Mar 23 12:11:12]     -- Executing [0054 at followme:2]
Dial("Local/0054 at followme-6ef6;2", "SIP/0054,600") in new stack
[Mar 23 12:11:12]   == Using SIP RTP TOS bits 184
[Mar 23 12:11:12]   == Using SIP RTP CoS mark 5
[Mar 23 12:11:12]   == Using SIP VRTP TOS bits 136
[Mar 23 12:11:12]   == Using SIP VRTP CoS mark 4
[Mar 23 12:11:12]     -- Called 0054
[Mar 23 12:11:12]     -- SIP/0054-00000001 is ringing
[Mar 23 12:11:12]     -- Local/0054 at followme-6ef6;1 is ringing
[Mar 23 12:11:22]     -- We've hit our timeout for this step. Drop
everyone and move on to the next one. -20
[Mar 23 12:11:27] NOTICE[860]: res_odbc.c:1425 odbc_obj_connect:
Re-connecting local
[Mar 23 12:11:28] NOTICE[860]: res_odbc.c:1455 odbc_obj_connect: res_odbc:
Connected to local [MySQL-asterisk]
[Mar 23 12:11:33] WARNING[860]: cdr_adaptive_odbc.c:293 generic_prepare:
SQL Alloc Handle failed!
[Mar 23 12:11:33] NOTICE[861]: res_odbc.c:1425 odbc_obj_connect:
Re-connecting local
[Mar 23 12:11:33] WARNING[860]: res_odbc.c:723 ast_odbc_sanity_check:
Connection is down attempting to reconnect...
[Mar 23 12:11:33] NOTICE[861]: res_odbc.c:1455 odbc_obj_connect: res_odbc:
Connected to local [MySQL-asterisk]
gw01*CLI> 
Disconnected from Asterisk server
[Mar 23 12:11:38] Executing last minute cleanups


See attached backtrace.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-03-23 15:17 whardier       New Issue                                    
2010-03-23 15:17 whardier       Asterisk Version          => 1.6.2.6         
2010-03-23 15:17 whardier       Regression                => No              
2010-03-23 15:17 whardier       SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list