[root@pbx2 tmp]# asterisk -r Asterisk 1.6.2.0-beta2, Copyright (C) 1999 - 2009 Digium, Inc. and others. Created by Mark Spencer Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.6.2.0-beta2 currently running on pbx2 (pid = 4845) Verbosity is at least 3 == Using SIP RTP CoS mark 5 -- Executing [4805176177@from-pstn:1] Verbose("SIP/grandstream1-091d4ed8", "1,Inbound call DID 4805176177") in new stack Inbound call DID 4805176177 -- Executing [4805176177@from-pstn:2] Macro("SIP/grandstream1-091d4ed8", "SET,inbound-number,4805176177") in new stack -- Executing [s@macro-SET:1] GotoIf("SIP/grandstream1-091d4ed8", "0?s-FUNCTION,1") in new stack -- Executing [s@macro-SET:2] Set("SIP/grandstream1-091d4ed8", "__inbound-number=4805176177") in new stack -- Executing [s@macro-SET:3] Set("SIP/grandstream1-091d4ed8", "DB_SET(pbx2-1243528356.0)=inbound-number,"4805176177"") in new stack [May 28 09:32:36] WARNING[4893]: func_odbc.c:183 generic_execute: SQL Execute returned an error -1: 42S01: [MySQL][ODBC 3.51 Driver][mysqld-5.0.45-log]Table 'asterisk.CallVariables' doesn't exist (88) [May 28 09:32:36] WARNING[4893]: func_odbc.c:191 generic_execute: SQL Exec Direct failed (-1)![INSERT INTO asterisk.CallVariables (uid,name,value,createdate) VALUES ('pbx2-1243528356.0','inbound-number','4805176177',NOW()) ON DUPLICATE KEY UPDATE value='4805176177'] [May 28 09:32:36] WARNING[4893]: res_odbc.c:584 ast_odbc_direct_execute: SQL Exec Direct failed. Attempting a reconnect... pbx2*CLI> Disconnected from Asterisk server /usr/sbin/safe_asterisk: line 146: 4845 Segmentation fault (core dumped) nice -n $PRIORITY ${ASTSBINDIR}/asterisk -f ${CLIARGS} ${ASTARGS} >&/dev/${TTY} < /dev/${TTY} [root@pbx2 tmp]# Asterisk ended with exit status 139 Asterisk exited on signal 11. cat: /var/run/asterisk.pid: No such file or directory Automatically restarting Asterisk. mpg123: no process killed service asterisk stop Shutting down asterisk: Asterisk ended with exit status 0 Asterisk shutdown normally.