root@asterisk:~/install/asterisk-1.4# gdb /usr/sbin/asterisk GNU gdb 6.5 Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i486-slackware-linux"...Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) set args -vvvvv -g -ddddd (gdb) run Starting program: /usr/sbin/asterisk -vvvvv -g -ddddd Failed to read a valid object file image from memory. [Thread debugging using libthread_db enabled] [New Thread -1210574624 (LWP 13531)] Asterisk SVN-branch-1.4-r74476M, Copyright (C) 1999 - 2007 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. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': Parsing /etc/asterisk/asterisk.conf Found == Parsing '/etc/asterisk/extconfig.conf': Parsing /etc/asterisk/extconfig.conf Found [New Thread -1210578000 (LWP 13534)] [Thread -1210578000 (LWP 13534) exited] [New Thread -1210578000 (LWP 13535)] == Parsing '/etc/asterisk/logger.conf': Parsing /etc/asterisk/logger.conf Found Asterisk Event Logger Started /var/log/asterisk/event_log Asterisk Dynamic Loader Starting: == Parsing '/etc/asterisk/modules.conf': Found == Parsing '/etc/asterisk/dnsmgr.conf': Found == Parsing '/etc/asterisk/http.conf': Found == Manager registered action Ping == Manager registered action Events == Manager registered action Logoff == Manager registered action Hangup == Manager registered action Status == Manager registered action Setvar == Manager registered action Getvar == Manager registered action GetConfig == Manager registered action UpdateConfig == Manager registered action Redirect == Manager registered action Originate == Manager registered action Command == Manager registered action ExtensionState == Manager registered action AbsoluteTimeout == Manager registered action MailboxStatus == Manager registered action MailboxCount == Manager registered action ListCommands == Manager registered action UserEvent == Manager registered action WaitEvent == Parsing '/etc/asterisk/manager.conf': Found == Parsing '/etc/asterisk/cdr.conf': Found [Jul 11 13:13:48] NOTICE[13531]: cdr.c:1359 do_reload: CDR simple logging enabled. [New Thread -1210823760 (LWP 13536)] == Parsing '/etc/asterisk/rtp.conf': Found == RTP Allocating from port range 10000 -> 20000 == Parsing '/etc/asterisk/udptl.conf': Found == UDPTL allocating from port range 4000 -> 4999 Asterisk PBX Core Initializing Registering builtin applications: [Answer] == Registered application 'Answer' [BackGround] == Registered application 'BackGround' [Busy] == Registered application 'Busy' [Congestion] == Registered application 'Congestion' [Goto] == Registered application 'Goto' [GotoIf] == Registered application 'GotoIf' [GotoIfTime] == Registered application 'GotoIfTime' [ExecIfTime] == Registered application 'ExecIfTime' [Hangup] == Registered application 'Hangup' [NoOp] == Registered application 'NoOp' [Progress] == Registered application 'Progress' [ResetCDR] == Registered application 'ResetCDR' [Ringing] == Registered application 'Ringing' [SayNumber] == Registered application 'SayNumber' [SayDigits] == Registered application 'SayDigits' [SayAlpha] == Registered application 'SayAlpha' [SayPhonetic] == Registered application 'SayPhonetic' [SetAMAFlags] == Registered application 'SetAMAFlags' [SetGlobalVar] == Registered application 'SetGlobalVar' [Set] == Registered application 'Set' [ImportVar] == Registered application 'ImportVar' [Wait] == Registered application 'Wait' [WaitExten] == Registered application 'WaitExten' == Manager registered action DBGet == Manager registered action DBPut == Parsing '/etc/asterisk/enum.conf': Found Asterisk Dynamic Loader Starting: == Parsing '/etc/asterisk/modules.conf': Found [Jul 11 13:13:48] NOTICE[13531]: loader.c:831 load_modules: 138 modules will be loaded. == Registered application 'MusicOnHold' == Registered application 'WaitMusicOnHold' == Registered application 'SetMusicOnHold' == Registered application 'StartMusicOnHold' == Registered application 'StopMusicOnHold' == Parsing '/etc/asterisk/musiconhold.conf': Found [Jul 11 13:13:48] WARNING[13531]: res_musiconhold.c:638 get_mohbyname: Music on Hold class 'default' not found res_musiconhold.so => (Music On Hold Resource) == Parsing '/etc/asterisk/adsi.conf': Found res_adsi.so => (ADSI Resource) == Registered application 'DeadAGI' == Registered application 'EAGI' == Registered application 'AGI' res_agi.so => (Asterisk Gateway Interface (AGI)) -- Loaded PUBLIC key 'freeworlddialup' -- Loaded PUBLIC key 'iaxtel' res_crypto.so => (Cryptographic Digital Signatures) == Parsing '/etc/asterisk/features.conf': Found -- Registered extension context 'parkedcalls' -- Added extension '700' priority 1 to parkedcalls [New Thread -1212843088 (LWP 13537)] == Registered application 'ParkedCall' == Registered application 'Park' == Manager registered action ParkedCalls == Manager registered action Park res_features.so => (Call Features Resource) == Parsing '/etc/asterisk/indications.conf': Found -- Registered indication country 'at' -- Registered indication country 'au' -- Registered indication country 'bg' -- Registered indication country 'br' -- Registered indication country 'be' -- Registered indication country 'ch' -- Registered indication country 'cl' -- Registered indication country 'cn' -- Registered indication country 'cz' -- Registered indication country 'de' -- Registered indication country 'dk' -- Registered indication country 'ee' -- Registered indication country 'es' -- Registered indication country 'fi' -- Registered indication country 'fr' -- Registered indication country 'gr' -- Registered indication country 'hu' -- Registered indication country 'il' -- Registered indication country 'in' -- Registered indication country 'it' -- Registered indication country 'lt' -- Registered indication country 'jp' -- Registered indication country 'mx' -- Registered indication country 'my' -- Registered indication country 'nl' -- Registered indication country 'no' -- Registered indication country 'nz' -- Registered indication country 'ph' -- Registered indication country 'pl' -- Registered indication country 'pt' -- Registered indication country 'ru' -- Registered indication country 'se' -- Registered indication country 'sg' -- Registered indication country 'th' -- Registered indication country 'uk' -- Registered indication country 'us' -- Registered indication country 'us-o' -- Registered indication country 'tw' -- Registered indication country 've' -- Registered indication country 'za' -- Setting default indication country to 'us' == Registered application 'PlayTones' == Registered application 'StopPlayTones' res_indications.so => (Indications Resource) == Registered application 'Monitor' == Registered application 'StopMonitor' == Registered application 'ChangeMonitor' == Registered application 'PauseMonitor' == Registered application 'UnpauseMonitor' == Manager registered action Monitor == Manager registered action StopMonitor == Manager registered action ChangeMonitor == Manager registered action PauseMonitor == Manager registered action UnpauseMonitor res_monitor.so => (Call Monitoring Resource) == Parsing '/etc/asterisk/smdi.conf': Found [Jul 11 13:13:48] WARNING[13531]: res_smdi.c:722 load_module: No SMDI interfaces are available to listen on, not starting SDMI listener. res_speech.so => (Generic Speech Recognition API) res_clioriginate.so => (Call origination from the CLI) res_convert.so => (File format conversion CLI command) == Registered channel type 'Agent' (Call Agent Proxy Channel) == Parsing '/etc/asterisk/agents.conf': Found == Parsing '/etc/asterisk/users.conf': Found == Registered application 'AgentLogin' == Registered application 'AgentCallbackLogin' == Registered application 'AgentMonitorOutgoing' == Manager registered action Agents == Manager registered action AgentLogoff == Manager registered action AgentCallbackLogin == Registered custom function AGENT chan_agent.so => (Agent Proxy Channel) == Registered custom function IAXPEER == Registered application 'IAX2Provision' == Manager registered action IAXpeers == Manager registered action IAXnetstats == Parsing '/etc/asterisk/iax.conf': Found == Using TOS bits 0 == Binding IAX2 to default address 0.0.0.0:4569 == Parsing '/etc/asterisk/users.conf': Found > doing dnsmgr_lookup for '216.207.245.47' == Registered channel type 'IAX2' (Inter Asterisk eXchange Driver (Ver 2)) [New Thread -1214645328 (LWP 13538)] [New Thread -1214891088 (LWP 13539)] [New Thread -1215136848 (LWP 13540)] [New Thread -1215382608 (LWP 13541)] [New Thread -1215628368 (LWP 13542)] [New Thread -1215874128 (LWP 13543)] [New Thread -1216119888 (LWP 13544)] [New Thread -1216365648 (LWP 13545)] [New Thread -1216611408 (LWP 13546)] [New Thread -1216857168 (LWP 13547)] [New Thread -1217102928 (LWP 13548)] [New Thread -1217348688 (LWP 13549)] == 10 helper threaads started == IAX Ready and Listening == Loaded firmware 'iaxy.bin' == Parsing '/etc/asterisk/iaxprov.conf': Found -- Loaded provisioning template 'default' chan_iax2.so => (Inter Asterisk eXchange (Ver 2)) == Registered channel type 'Local' (Local Proxy Channel Driver) chan_local.so => (Local Proxy Channel) == Parsing '/etc/asterisk/mgcp.conf': Found == MGCP Listening on 0.0.0.0:2727 == Using TOS bits 0 == Registered channel type 'MGCP' (Media Gateway Control Protocol (MGCP)) [New Thread -1217823824 (LWP 13550)] chan_mgcp.so => (Media Gateway Control Protocol (MGCP)) mISDN_close: fid(14) isize(131072) inbuf(0xb75bf008) irp(0xb75bf008) iend(0xb75bf008) == Parsing '/etc/asterisk/misdn.conf': Found [Jul 11 13:13:49] WARNING[13531]: misdn_config.c:921 _build_general_config: misdn.conf: "l1watcher_timeout=0" (section: general) invalid or out of range. Please edit your misdn.conf and then do a "misdn reload". [Jul 11 13:13:49] WARNING[13531]: misdn_config.c:977 _build_port_config: misdn.conf: "pp_l2_check=no" (section: default) invalid or out of range. Please edit your misdn.conf and then do a "misdn reload". [Jul 11 13:13:49] WARNING[13531]: misdn_config.c:977 _build_port_config: misdn.conf: "echocancelwhenbridged=no" (section: default) invalid or out of range. Please edit your misdn.conf and then do a "misdn reload". [Jul 11 13:13:49] WARNING[13531]: misdn_config.c:977 _build_port_config: misdn.conf: "echotraining=no" (section: default) invalid or out of range. Please edit your misdn.conf and then do a "misdn reload". [Jul 11 13:13:49] WARNING[13531]: misdn_config.c:969 _build_port_config: misdn.conf: "ports=(null)" (section: intern) invalid or out of range. Please edit your misdn.conf and then do a "misdn reload". [Jul 11 13:13:49] WARNING[13531]: misdn_config.c:969 _build_port_config: misdn.conf: "ports=(null)" (section: internPP) invalid or out of range. Please edit your misdn.conf and then do a "misdn reload". [Jul 11 13:13:49] WARNING[13531]: misdn_config.c:969 _build_port_config: misdn.conf: "ports=(null)" (section: first_extern) invalid or out of range. Please edit your misdn.conf and then do a "misdn reload". [Jul 11 13:13:49] WARNING[13531]: misdn_config.c:969 _build_port_config: misdn.conf: "ports=(null)" (section: second_extern) invalid or out of range. Please edit your misdn.conf and then do a "misdn reload". P[ 0] Got: 1 from get_ports [New Thread -1218712656 (LWP 13552)] [New Thread -1227101264 (LWP 13553)] == Registered channel type 'mISDN' (Channel driver for mISDN Support (Bri/Pri)) == Registered application 'misdn_set_opt' == Registered application 'misdn_facility' == Registered application 'misdn_check_l2l1' P[ 0] -- mISDN Channel Driver Registered -- chan_misdn.so => (Channel driver for mISDN Support (BRI/PRI)) == Parsing '/etc/asterisk/oss.conf': Found [New Thread -1235571792 (LWP 13554)] [New Thread -1235817552 (LWP 13555)] == Registered channel type 'Console' (OSS Console Channel Driver) chan_oss.so => (OSS Console Channel Driver) == Parsing '/etc/asterisk/phone.conf': Found == Registered channel type 'Phone' (Standard Linux Telephony API Driver) [New Thread -1236096080 (LWP 13556)] chan_phone.so => (Linux Telephony API Support) == Parsing '/etc/asterisk/sip.conf': Found == Parsing '/etc/asterisk/users.conf': Found == SIP Listening on 0.0.0.0:5060 == Using SIP TOS: none == Parsing '/etc/asterisk/sip_notify.conf': Found == Registered channel type 'SIP' (Session Initiation Protocol (SIP)) == Registered application 'SIPDtmfMode' == Registered application 'SIPAddHeader' == Registered custom function SIP_HEADER == Registered custom function SIPPEER == Registered custom function SIPCHANINFO == Registered custom function CHECKSIPDOMAIN == Manager registered action SIPpeers == Manager registered action SIPshowpeer [New Thread -1236755536 (LWP 13557)] chan_sip.so => (Session Initiation Protocol (SIP)) == Parsing '/etc/asterisk/skinny.conf': Found == Skinny listening on 0.0.0.0:2000 [New Thread -1237083216 (LWP 13558)] == Registered channel type 'Skinny' (Skinny Client Control Protocol (Skinny)) [New Thread -1237328976 (LWP 13559)] [Jul 11 13:13:49] NOTICE[13531]: pbx_ael.c:3964 pbx_load_module: Starting AEL load process. [Jul 11 13:13:49] NOTICE[13531]: pbx_ael.c:3971 pbx_load_module: AEL load process: calculated config file name '/etc/asterisk/extensions.ael'. [Jul 11 13:13:49] WARNING[13531]: ael.y:205 ael_yyparse: ==== File: /etc/asterisk/extensions.ael, Line 112, Cols: 34-34: Warning! The empty context ael-dundi-e164-canonical will be IGNORED! [Jul 11 13:13:49] WARNING[13531]: ael.y:205 ael_yyparse: ==== File: /etc/asterisk/extensions.ael, Line 120, Cols: 34-34: Warning! The empty context ael-dundi-e164-customers will be IGNORED! [Jul 11 13:13:49] WARNING[13531]: ael.y:205 ael_yyparse: ==== File: /etc/asterisk/extensions.ael, Line 128, Cols: 33-33: Warning! The empty context ael-dundi-e164-via-pstn will be IGNORED! [Jul 11 13:13:49] NOTICE[13531]: pbx_ael.c:3979 pbx_load_module: AEL load process: parsed config file name '/etc/asterisk/extensions.ael'. [Jul 11 13:13:49] WARNING[13531]: pbx_ael.c:838 check_includes: Warning: file /etc/asterisk/extensions.ael, line 141-145: The included context 'ael-dundi-e164-canonical' cannot be found. [Jul 11 13:13:49] WARNING[13531]: pbx_ael.c:838 check_includes: Warning: file /etc/asterisk/extensions.ael, line 141-145: The included context 'ael-dundi-e164-customers' cannot be found. [Jul 11 13:13:49] WARNING[13531]: pbx_ael.c:838 check_includes: Warning: file /etc/asterisk/extensions.ael, line 141-145: The included context 'ael-dundi-e164-via-pstn' cannot be found. [Jul 11 13:13:49] WARNING[13531]: pbx_ael.c:838 check_includes: Warning: file /etc/asterisk/extensions.ael, line 276-283: The included context 'ael-parkedcalls' cannot be found. [Jul 11 13:13:49] NOTICE[13531]: pbx_ael.c:3982 pbx_load_module: AEL load process: checked config file name '/etc/asterisk/extensions.ael'. == Setting global variable 'CONSOLE' to 'Console/dsp' == Setting global variable 'IAXINFO' to 'guest' == Setting global variable 'TRUNK' to 'Zap/g2' == Setting global variable 'TRUNKMSD' to '1' -- Registered extension context 'ael-dundi-e164-local' -- Including context 'ael-dundi-e164-canonical' in context 'ael-dundi-e164-local' -- Including context 'ael-dundi-e164-customers' in context 'ael-dundi-e164-local' -- Including context 'ael-dundi-e164-via-pstn' in context 'ael-dundi-e164-local' -- Registered extension context 'ael-dundi-e164-switch' -- Including switch 'DUNDi/e164' in context 'ael-dundi-e164-switch' -- Registered extension context 'ael-dundi-e164-lookup' -- Including context 'ael-dundi-e164-local' in context 'ael-dundi-e164-lookup' -- Including context 'ael-dundi-e164-switch' in context 'ael-dundi-e164-lookup' -- Registered extension context 'macro-ael-dundi-e164' -- Registered extension context 'ael-iaxtel700' -- Registered extension context 'ael-iaxprovider' -- Registered extension context 'ael-trunkint' -- Including context 'ael-dundi-e164-lookup' in context 'ael-trunkint' -- Registered extension context 'ael-trunkld' -- Including context 'ael-dundi-e164-lookup' in context 'ael-trunkld' -- Registered extension context 'ael-trunklocal' -- Registered extension context 'ael-trunktollfree' -- Registered extension context 'ael-international' -- Including context 'ael-longdistance' in context 'ael-international' -- Including context 'ael-trunkint' in context 'ael-international' -- Registered extension context 'ael-longdistance' -- Including context 'ael-local' in context 'ael-longdistance' -- Including context 'ael-trunkld' in context 'ael-longdistance' -- Registered extension context 'ael-local' -- Including context 'ael-default' in context 'ael-local' -- Including context 'ael-parkedcalls' in context 'ael-local' -- Including context 'ael-trunklocal' in context 'ael-local' -- Including context 'ael-iaxtel700' in context 'ael-local' -- Including context 'ael-trunktollfree' in context 'ael-local' -- Including context 'ael-iaxprovider' in context 'ael-local' -- Registered extension context 'macro-ael-std-exten-ael' -- Registered extension context 'ael-demo' -- Registered extension context 'ael-default' -- Including context 'ael-demo' in context 'ael-default' -- Added extension 's' priority 1 to macro-ael-dundi-e164 -- Added extension 's' priority 2 to macro-ael-dundi-e164 -- Added extension '_91700XXXXXXX' priority 1 to ael-iaxtel700 -- Added extension '_9011.' priority 1 to ael-trunkint -- Added extension '_9011.' priority 2 to ael-trunkint -- Added extension '_91NXXNXXXXXX' priority 1 to ael-trunkld -- Added extension '_91NXXNXXXXXX' priority 2 to ael-trunkld -- Added extension '_9NXXXXXX' priority 1 to ael-trunklocal -- Added extension '_91800NXXXXXX' priority 1 to ael-trunktollfree -- Added extension '_91888NXXXXXX' priority 1 to ael-trunktollfree -- Added extension '_91877NXXXXXX' priority 1 to ael-trunktollfree -- Added extension '_91866NXXXXXX' priority 1 to ael-trunktollfree -- Added extension 's' priority 1 to macro-ael-std-exten-ael -- Added extension 's' priority 2 to macro-ael-std-exten-ael -- Added extension 's' priority 3 to macro-ael-std-exten-ael -- Added extension 's' priority 4 to macro-ael-std-exten-ael -- Added extension 's' priority 5 to macro-ael-std-exten-ael -- Added extension 'a' priority 1 to macro-ael-std-exten-ael -- Added extension 'a' priority 2 to macro-ael-std-exten-ael -- Added extension 'a' priority 3 to macro-ael-std-exten-ael -- Added extension '_sw-1-.' priority 10 to macro-ael-std-exten-ael -- Added extension '_sw-1-.' priority 11 to macro-ael-std-exten-ael -- Added extension 'sw-1-BUSY' priority 10 to macro-ael-std-exten-ael -- Added extension 'sw-1-BUSY' priority 11 to macro-ael-std-exten-ael -- Added extension 's' priority 1 to ael-demo -- Added extension 's' priority 2 to ael-demo -- Added extension 's' priority 3 to ael-demo -- Added extension 's' priority 4 to ael-demo -- Added extension 's' priority 5 to ael-demo -- Added extension 's' priority 6 to ael-demo -- Added extension 's' priority 7 to ael-demo -- Added extension 's' priority 8 to ael-demo -- Added extension 's' priority 9 to ael-demo -- Added extension 's' priority 10 to ael-demo -- Added extension 's' priority 11 to ael-demo -- Added extension 's' priority 12 to ael-demo -- Added extension '2' priority 1 to ael-demo -- Added extension '2' priority 2 to ael-demo -- Added extension '3' priority 1 to ael-demo -- Added extension '3' priority 2 to ael-demo -- Added extension '1000' priority 1 to ael-demo -- Added extension '500' priority 1 to ael-demo -- Added extension '500' priority 2 to ael-demo -- Added extension '500' priority 3 to ael-demo -- Added extension '500' priority 4 to ael-demo -- Added extension '600' priority 1 to ael-demo -- Added extension '600' priority 2 to ael-demo -- Added extension '600' priority 3 to ael-demo -- Added extension '600' priority 4 to ael-demo -- Added extension '_1234' priority 1 to ael-demo -- Added extension '8500' priority 1 to ael-demo -- Added extension '8500' priority 2 to ael-demo -- Added extension '#' priority 1 to ael-demo -- Added extension '#' priority 2 to ael-demo -- Added extension 't' priority 1 to ael-demo -- Added extension 'i' priority 1 to ael-demo [Jul 11 13:13:49] NOTICE[13531]: pbx_ael.c:3984 pbx_load_module: AEL load process: compiled config file name '/etc/asterisk/extensions.ael'. [Jul 11 13:13:49] NOTICE[13531]: pbx_ael.c:3987 pbx_load_module: AEL load process: merged config file name '/etc/asterisk/extensions.ael'. [Jul 11 13:13:49] WARNING[13531]: pbx.c:6236 ast_context_verify_includes: Context 'ael-local' tries includes nonexistent context 'ael-parkedcalls' [Jul 11 13:13:49] WARNING[13531]: pbx.c:6236 ast_context_verify_includes: Context 'ael-dundi-e164-local' tries includes nonexistent context 'ael-dundi-e164-canonical' [Jul 11 13:13:49] WARNING[13531]: pbx.c:6236 ast_context_verify_includes: Context 'ael-dundi-e164-local' tries includes nonexistent context 'ael-dundi-e164-customers' [Jul 11 13:13:49] WARNING[13531]: pbx.c:6236 ast_context_verify_includes: Context 'ael-dundi-e164-local' tries includes nonexistent context 'ael-dundi-e164-via-pstn' [Jul 11 13:13:49] NOTICE[13531]: pbx_ael.c:3990 pbx_load_module: AEL load process: verified config file name '/etc/asterisk/extensions.ael'. pbx_ael.so => (Asterisk Extension Language Compiler) == Parsing '/etc/asterisk/extensions.conf': Found -- Registered extension context 'default' -- Added extension 's' priority 1 to default -- Added extension 's' priority 2 to default -- Including context 'internal' in context 'default' -- Registered extension context 'internal' -- Added extension '100' priority 1 to internal -- Added extension '101' priority 1 to internal -- Added extension '102' priority 1 to internal -- Added extension '122' priority 1 to internal -- Added extension '122' priority 2 to internal -- Added extension '122' priority 3 to internal == Parsing '/etc/asterisk/users.conf': Found [Jul 11 13:13:49] WARNING[13531]: pbx.c:6236 ast_context_verify_includes: Context 'ael-local' tries includes nonexistent context 'ael-parkedcalls' [Jul 11 13:13:49] WARNING[13531]: pbx.c:6236 ast_context_verify_includes: Context 'ael-dundi-e164-local' tries includes nonexistent context 'ael-dundi-e164-canonical' [Jul 11 13:13:49] WARNING[13531]: pbx.c:6236 ast_context_verify_includes: Context 'ael-dundi-e164-local' tries includes nonexistent context 'ael-dundi-e164-customers' [Jul 11 13:13:49] WARNING[13531]: pbx.c:6236 ast_context_verify_includes: Context 'ael-dundi-e164-local' tries includes nonexistent context 'ael-dundi-e164-via-pstn' pbx_config.so => (Text Extension Configuration) == Parsing '/etc/asterisk/dundi.conf': Found == Using TOS bits 0 [New Thread -1237918800 (LWP 13560)] [New Thread -1238164560 (LWP 13561)] == DUNDi Ready and Listening on 0.0.0.0 port 4520 == Registered custom function DUNDILOOKUP pbx_dundi.so => (Distributed Universal Number Discovery (DUNDi)) pbx_loopback.so => (Loopback Switch) pbx_realtime.so => (Realtime Switch) [New Thread -1238430800 (LWP 13562)] pbx_spool.so => (Outgoing Spool Support) == Registered application 'ADSIProg' app_adsiprog.so => (Asterisk ADSI Programming Application) == Parsing '/etc/asterisk/alarmreceiver.conf': Found == Registered application 'AlarmReceiver' app_alarmreceiver.so => (Alarm Receiver for Asterisk) == Parsing '/etc/asterisk/amd.conf': Found -- AMD defaults: initialSilence [2500] greeting [1500] afterGreetingSilence [800] totalAnalysisTime [5000] minimumWordLength [100] betweenWordsSilence [50] maximumNumberOfWords [3] silenceThreshold [256] == Registered application 'AMD' app_amd.so => (Answering Machine Detection Application) == Registered application 'Authenticate' app_authenticate.so => (Authentication Application) == Registered application 'NoCDR' app_cdr.so => (Tell Asterisk to not maintain a CDR for the current call) == Registered application 'ChanIsAvail' app_chanisavail.so => (Check channel availability) == Registered application 'ChannelRedirect' app_channelredirect.so => (Channel Redirect) == Registered application 'ChanSpy' == Registered application 'ExtenSpy' app_chanspy.so => (Listen to the audio of an active channel) == Registered application 'ControlPlayback' app_controlplayback.so => (Control Playback Application) [Jul 11 13:13:50] NOTICE[13557]: chan_sip.c:12244 handle_response_peerpoke: Peer 'test' is now Reachable. (108ms / 2000ms) Really destroying SIP dialog '4de80b652ab8e0db348bf5ba50ad6794@193.39.71.38' Method: OPTIONS == Registered application 'DBdel' == Registered application 'DBdeltree' app_db.so => (Database Access Functions) == Registered application 'Dial' == Registered application 'RetryDial' app_dial.so => (Dialing Application) == Registered application 'Dictate' app_dictate.so => (Virtual Dictation Machine) == Registered application 'Pickup' app_directed_pickup.so => (Directed Call Pickup Application) == Registered application 'Directory' app_directory.so => (Extension Directory) == Registered application 'DISA' app_disa.so => (DISA (Direct Inward System Access) Application) == Registered application 'DumpChan' app_dumpchan.so => (Dump Info About The Calling Channel) == Registered application 'Echo' app_echo.so => (Simple Echo Application) == Registered application 'Exec' == Registered application 'TryExec' == Registered application 'ExecIf' app_exec.so => (Executes dialplan applications) == Registered application 'ExternalIVR' app_externalivr.so => (External IVR Interface Application) == Parsing '/etc/asterisk/festival.conf': Found == Registered application 'Festival' app_festival.so => (Simple Festival Interface) == Parsing '/etc/asterisk/followme.conf': Found == Registered application 'FollowMe' app_followme.so => (Find-Me/Follow-Me Application) == Registered application 'ForkCDR' app_forkcdr.so => (Fork The CDR into 2 separate entities) == Registered application 'GetCPEID' app_getcpeid.so => (Get ADSI CPE ID) == Registered custom function VMCOUNT == Registered application 'HasVoicemail' == Registered application 'HasNewVoicemail' app_hasnewvoicemail.so => (Indicator for whether a voice mailbox has messages in a given folder.) == Registered application 'ICES' app_ices.so => (Encode and Stream via icecast and ices) == Registered application 'SendImage' app_image.so => (Image Transmission Application) == Registered custom function BLACKLIST == Registered application 'LookupBlacklist' app_lookupblacklist.so => (Look up Caller*ID name/number from blacklist database) == Registered application 'LookupCIDName' app_lookupcidname.so => (Look up CallerID Name from local database) == Registered application 'MacroExit' == Registered application 'MacroIf' == Registered application 'MacroExclusive' == Registered application 'Macro' app_macro.so => (Extension Macros) == Registered application 'Milliwatt' app_milliwatt.so => (Digital Milliwatt (mu-law) Test Application) == Registered application 'MixMonitor' == Registered application 'StopMixMonitor' app_mixmonitor.so => (Mixed Audio Monitoring Application) == Registered application 'Morsecode' app_morsecode.so => (Morse code) == Registered application 'MP3Player' app_mp3.so => (Silly MP3 Application) == Registered application 'NBScat' app_nbscat.so => (Silly NBS Stream Application) == Registered application 'ParkAndAnnounce' app_parkandannounce.so => (Call Parking and Announce Application) == Parsing '/etc/asterisk/say.conf': Found == Registered application 'Playback' app_playback.so => (Sound File Playback Application) == Registered application 'PrivacyManager' app_privacy.so => (Require phone number to be entered, if no CallerID sent) == Parsing '/etc/asterisk/queues.conf': Found == Registered application 'Queue' == Registered application 'AddQueueMember' == Registered application 'RemoveQueueMember' == Registered application 'PauseQueueMember' == Registered application 'UnpauseQueueMember' == Registered application 'QueueLog' == Manager registered action Queues == Manager registered action QueueStatus == Manager registered action QueueAdd == Manager registered action QueueRemove == Manager registered action QueuePause == Registered custom function QUEUEAGENTCOUNT == Registered custom function QUEUE_MEMBER_COUNT == Registered custom function QUEUE_MEMBER_LIST == Registered custom function QUEUE_WAITING_COUNT app_queue.so => (True Call Queueing) == Registered application 'Random' app_random.so => (Random goto) == Registered application 'Read' app_read.so => (Read Variable Application) == Registered application 'ReadFile' app_readfile.so => (Stores output of file into a variable) == Registered application 'RealTimeUpdate' == Registered application 'RealTime' app_realtime.so => (Realtime Data Lookup/Rewrite) == Registered application 'Record' app_record.so => (Trivial Record Application) == Registered application 'SayUnixTime' == Registered application 'DateTime' app_sayunixtime.so => (Say time) == Manager registered action PlayDTMF == Registered application 'SendDTMF' app_senddtmf.so => (Send DTMF digits Application) == Registered application 'SendText' app_sendtext.so => (Send Text Applications) == Registered application 'SetCallerPres' == Registered application 'SetCallerID' app_setcallerid.so => (Set CallerID Application) == Registered application 'SetCDRUserField' == Registered application 'AppendCDRUserField' == Manager registered action SetCDRUserField app_setcdruserfield.so => (CDR user field apps) == Registered application 'SetTransferCapability' app_settransfercapability.so => (Set ISDN Transfer Capability) == Registered application 'SMS' app_sms.so => (SMS/PSTN handler) == Registered application 'SoftHangup' app_softhangup.so => (Hangs up the requested channel) == Registered application 'SpeechCreate' == Registered application 'SpeechLoadGrammar' == Registered application 'SpeechUnloadGrammar' == Registered application 'SpeechActivateGrammar' == Registered application 'SpeechDeactivateGrammar' == Registered application 'SpeechStart' == Registered application 'SpeechBackground' == Registered application 'SpeechDestroy' == Registered application 'SpeechProcessingSound' == Registered custom function SPEECH == Registered custom function SPEECH_SCORE == Registered custom function SPEECH_TEXT == Registered custom function SPEECH_GRAMMAR == Registered custom function SPEECH_ENGINE == Registered custom function SPEECH_RESULTS_TYPE app_speech_utils.so => (Dialplan Speech Applications) == Registered application 'StackPop' == Registered application 'Return' == Registered application 'GosubIf' == Registered application 'Gosub' app_stack.so => (Stack Routines) == Registered application 'TrySystem' == Registered application 'System' app_system.so => (Generic System() application) == Registered application 'BackgroundDetect' app_talkdetect.so => (Playback with Talk Detection) == Registered application 'TestClient' == Registered application 'TestServer' app_test.so => (Interface Test Application) == Registered application 'Transfer' app_transfer.so => (Transfer) == Registered application 'SendURL' app_url.so => (Send URL Applications) == Registered application 'UserEvent' app_userevent.so => (Custom User Event Application) == Registered application 'Log' == Registered application 'Verbose' app_verbose.so => (Send verbose output) == Registered application 'VoiceMail' == Registered application 'VoiceMailMain' == Registered application 'MailboxExists' == Registered application 'VMAuthenticate' == Parsing '/etc/asterisk/voicemail.conf': Found == Parsing '/etc/asterisk/users.conf': Found app_voicemail.so => (Comedian Mail (Voicemail System)) == Registered application 'WaitForRing' app_waitforring.so => (Waits until first ring after time) == Registered application 'WaitForSilence' app_waitforsilence.so => (Wait For Silence) == Registered application 'While' == Registered application 'EndWhile' == Registered application 'ExitWhile' == Registered application 'ContinueWhile' app_while.so => (While Loops and Conditional Execution) == Registered application 'Zapateller' app_zapateller.so => (Block Telemarketers with Special Information Tone) == Registered translator 'alawtoulaw' from format alaw to ulaw, cost 1 == Registered translator 'ulawtoalaw' from format ulaw to alaw, cost 1 codec_a_mu.so => (A-law and Mulaw direct Coder/Decoder) == Parsing '/etc/asterisk/codecs.conf': Found -- codec_adpcm: using generic PLC == Registered translator 'adpcmtolin' from format adpcm to slin, cost 1 == Registered translator 'lintoadpcm' from format slin to adpcm, cost 1 codec_adpcm.so => (Adaptive Differential PCM Coder/Decoder) == Parsing '/etc/asterisk/codecs.conf': Found -- codec_alaw: using generic PLC == Registered translator 'alawtolin' from format alaw to slin, cost 1 == Registered translator 'lintoalaw' from format slin to alaw, cost 1 codec_alaw.so => (A-law Coder/Decoder) == Parsing '/etc/asterisk/codecs.conf': Found -- codec_g726: using generic PLC == Registered translator 'g726tolin' from format g726 to slin, cost 1 == Registered translator 'lintog726' from format slin to g726, cost 1 == Registered translator 'g726aal2tolin' from format g726aal2 to slin, cost 1 == Registered translator 'lintog726aal2' from format slin to g726aal2, cost 1 == Registered translator 'g726aal2tog726' from format g726aal2 to g726, cost 1 == Registered translator 'g726tog726aal2' from format g726 to g726aal2, cost 1 codec_g726.so => (ITU G.726-32kbps G726 Transcoder) == Parsing '/etc/asterisk/codecs.conf': Found -- codec_gsm: using generic PLC == Registered translator 'gsmtolin' from format gsm to slin, cost 1 == Registered translator 'lintogsm' from format slin to gsm, cost 3 codec_gsm.so => (GSM Coder/Decoder) == Registered translator 'ilbctolin' from format ilbc to slin, cost 3 == Registered translator 'lintoilbc' from format slin to ilbc, cost 17 codec_ilbc.so => (iLBC Coder/Decoder) == Parsing '/etc/asterisk/codecs.conf': Found -- codec_lpc10: using generic PLC == Registered translator 'lpc10tolin' from format lpc10 to slin, cost 2 == Registered translator 'lintolpc10' from format slin to lpc10, cost 4 codec_lpc10.so => (LPC10 2.4kbps Coder/Decoder) == Parsing '/etc/asterisk/codecs.conf': Found -- codec_ulaw: using generic PLC == Registered translator 'ulawtolin' from format ulaw to slin, cost 1 == Registered translator 'lintoulaw' from format slin to ulaw, cost 1 codec_ulaw.so => (mu-Law Coder/Decoder) == Registered file format g723sf, extension(s) g723|g723sf format_g723.so => (G.723.1 Simple Timestamp File Format) == Registered file format g726-40, extension(s) g726-40 == Registered file format g726-32, extension(s) g726-32 == Registered file format g726-24, extension(s) g726-24 == Registered file format g726-16, extension(s) g726-16 format_g726.so => (Raw G.726 (16/24/32/40kbps) data) == Registered file format g729, extension(s) g729 format_g729.so => (Raw G729 data) == Registered file format gsm, extension(s) gsm format_gsm.so => (Raw GSM data) == Registered file format h263, extension(s) h263 format_h263.so => (Raw H.263 data) == Registered file format h264, extension(s) h264 format_h264.so => (Raw H.264 data) == Registered file format iLBC, extension(s) ilbc format_ilbc.so => (Raw iLBC data) == Registered format 'jpg' (JPEG (Joint Picture Experts Group)) format_jpeg.so => (JPEG (Joint Picture Experts Group) Image Format) == Registered file format ogg_vorbis, extension(s) ogg format_ogg_vorbis.so => (OGG/Vorbis audio) == Registered file format pcm, extension(s) pcm|ulaw|ul|mu == Registered file format alaw, extension(s) alaw|al == Registered file format au, extension(s) au == Registered file format g722, extension(s) g722 format_pcm.so => (Raw/Sun uLaw/ALaw 8KHz (PCM,PCMA,AU), G.722 16Khz) == Registered file format sln, extension(s) sln|raw format_sln.so => (Raw Signed Linear Audio support (SLN)) == Registered file format vox, extension(s) vox format_vox.so => (Dialogic VOX (ADPCM) File Format) == Registered file format wav, extension(s) wav format_wav.so => (Microsoft WAV format (8000Hz Signed Linear)) == Registered file format wav49, extension(s) WAV|wav49 format_wav_gsm.so => (Microsoft WAV format (Proprietary GSM)) == Parsing '/etc/asterisk/cdr.conf': Found cdr_csv.so => (Comma Separated Values CDR Backend) == Parsing '/etc/asterisk/cdr_custom.conf': Found cdr_custom.so => (Customizable Comma Separated Values CDR Backend) == Parsing '/etc/asterisk/cdr_manager.conf': Found cdr_manager.so => (Asterisk Manager Interface CDR Backend) == Registered custom function BASE64_ENCODE == Registered custom function BASE64_DECODE func_base64.so => (base64 encode/decode dialplan functions) == Registered custom function CALLERID func_callerid.so => (Caller ID related dialplan function) == Registered custom function CDR func_cdr.so => (CDR dialplan function) == Registered custom function CHANNEL func_channel.so => (Channel information dialplan function) == Registered custom function CURL func_curl.so => (Load external URL) == Registered custom function CUT == Registered custom function SORT func_cut.so => (Cut out information from a string) == Registered custom function DB == Registered custom function DB_EXISTS == Registered custom function DB_DELETE func_db.so => (Database (astdb) related dialplan functions) == Registered custom function ENUMLOOKUP == Registered custom function TXTCIDNAME func_enum.so => (ENUM related dialplan functions) == Registered custom function ENV == Registered custom function STAT func_env.so => (Environment/filesystem dialplan functions) == Registered custom function GLOBAL func_global.so => (Global variable dialplan functions) == Registered custom function GROUP_COUNT == Registered custom function GROUP_MATCH_COUNT == Registered custom function GROUP_LIST == Registered custom function GROUP func_groupcount.so => (Channel group dialplan functions) == Registered custom function LANGUAGE func_language.so => (Channel language dialplan function) == Registered custom function ISNULL == Registered custom function SET == Registered custom function EXISTS == Registered custom function IF == Registered custom function IFTIME func_logic.so => (Logical dialplan functions) == Registered custom function MATH func_math.so => (Mathematical dialplan function) == Registered custom function MD5 == Registered custom function CHECK_MD5 func_md5.so => (MD5 digest dialplan functions) == Registered custom function MUSICCLASS func_moh.so => (Music-on-hold dialplan function) == Registered custom function RAND func_rand.so => (Random number dialplan function) == Registered custom function REALTIME func_realtime.so => (Read/Write values from a RealTime repository) == Registered custom function SHA1 func_sha1.so => (SHA-1 computation dialplan function) == Registered custom function FIELDQTY == Registered custom function FILTER == Registered custom function REGEX == Registered custom function ARRAY == Registered custom function QUOTE == Registered custom function LEN == Registered custom function STRFTIME == Registered custom function STRPTIME == Registered custom function EVAL == Registered custom function KEYPADHASH == Registered custom function SPRINTF func_strings.so => (String handling dialplan functions) == Registered custom function TIMEOUT func_timeout.so => (Channel timeout dialplan functions) == Registered custom function URIDECODE == Registered custom function URIENCODE func_uri.so => (URI encode/decode dialplan functions) Asterisk Ready. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1236096080 (LWP 13556)] 0xb652e6dc in do_monitor (data=0x0) at chan_phone.c:1047 1047 if (dotone && i->mode != MODE_SIGMA) { (gdb) (gdb) bt full #0 0xb652e6dc in do_monitor (data=0x0) at chan_phone.c:1047 rfds = {fds_bits = {1048576, 0 }} efds = {fds_bits = {1048576, 0 }} n = 20 res = 0 i = (struct phone_pvt *) 0x0 tonepos = 0 tv = {tv_sec = 0, tv_usec = 0} dotone = 1 __PRETTY_FUNCTION__ = "do_monitor" #1 0x080f8775 in dummy_start (data=0x1) at utils.c:545 _buffer = {__routine = 0x8067d60 , __arg = 0xb652abb0, __canceltype = 0, __prev = 0x0} ret = (void *) 0x81afb08 a = {start_routine = 0xb652e510 , data = 0x0, name = 0x81afb08 "do_monitor", ' ' , "started at [ 1126] chan_phone.c restart_monitor()"} #2 0xb7fc920e in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #3 0xb7e4b0de in clone () from /lib/tls/libc.so.6 No symbol table info available. (gdb)