by mati » Thu Aug 24, 2006 3:30 am
I mange to configure the external phone but after or during playing 'conf-onlyperson' asterisk crahes and core dump. Here is my procedure
1. Agent pickup the phone and call 054 which is agentlogin
exten => _054,1,AgentLogin(204,s)
in agents.conf
group=1
agent => 204,111,Ala
2. Agents login
3. I log into the vicidial.php
extension.conf default context I've got
exten => _0204,1,Dial(Agent/204,300,t)
4. Asterisk crash
What is wrog or is it a bug in asteriesk ?
Part of log
Aug 24 09:46:16 DEBUG[21916] chan_zap.c: Enabled echo cancellation on channel 63
Aug 24 09:46:16 DEBUG[21960] app_queue.c: Device 'Zap/63' changed to state '2' (In use)
Aug 24 09:46:16 DEBUG[21916] pbx.c: Launching 'AgentLogin'
Aug 24 09:46:16 VERBOSE[21916] logger.c: -- Executing AgentLogin("Zap/63-1", "204|s") in new stack
Aug 24 09:46:16 DEBUG[21749] channel.c: Avoiding initial deadlock for 'Zap/63-1'
Aug 24 09:46:16 DEBUG[21916] channel.c: Set channel Zap/63-1 to write format ulaw
Aug 24 09:46:16 DEBUG[21916] channel.c: Scheduling timer at 160 sample intervals
Aug 24 09:46:16 VERBOSE[21916] logger.c: -- Playing 'agent-pass' (language 'en')
Aug 24 09:46:16 DEBUG[21961] app_queue.c: Device 'Zap/63' changed to state '2' (In use)
Aug 24 09:46:19 DEBUG[21916] channel.c: Scheduling timer at 10 sample intervals
Aug 24 09:46:19 DEBUG[21916] channel.c: Scheduling timer at 0 sample intervals
Aug 24 09:46:19 DEBUG[21916] channel.c: Scheduling timer at 0 sample intervals
Aug 24 09:46:19 DEBUG[21916] channel.c: Set channel Zap/63-1 to write format alaw
Aug 24 09:46:19 DEBUG[21916] chan_zap.c: DTMF digit: 1 on Zap/63-1
Aug 24 09:46:19 DEBUG[21916] chan_zap.c: DTMF digit: 1 on Zap/63-1
Aug 24 09:46:20 DEBUG[21916] chan_zap.c: DTMF digit: 1 on Zap/63-1
Aug 24 09:46:21 DEBUG[21916] chan_zap.c: DTMF digit: # on Zap/63-1
Aug 24 09:46:21 DEBUG[21916] channel.c: Set channel Zap/63-1 to read format alaw
Aug 24 09:46:21 DEBUG[21916] channel.c: Set channel Zap/63-1 to write format alaw
Aug 24 09:46:21 WARNING[21916] res_musiconhold.c: No class: none
Aug 24 09:46:21 VERBOSE[21916] logger.c: == Agent '204' logged in (format alaw/alaw)
Aug 24 09:46:21 DEBUG[21916] chan_agent.c: Checking availability of '204'
Aug 24 09:46:21 DEBUG[21989] app_queue.c: Device 'Agent/204' changed to state '1' (Not in use)
Aug 24 09:46:27 DEBUG[21916] chan_agent.c: Wrapup time for 204 expired!
Aug 24 09:46:27 DEBUG[21916] chan_agent.c: Checking availability of '204'
Aug 24 09:46:29 DEBUG[22042] config.c: Parsing /etc/asterisk/manager.conf
Aug 24 09:46:29 DEBUG[22042] config.c: Parsing /etc/asterisk/manager_custom.conf
Aug 24 09:46:29 VERBOSE[22042] logger.c: == Manager 'sendcron' logged on from 127.0.0.1
Aug 24 09:46:29 DEBUG[22043] app_queue.c: Device 'Local/0204@default' changed to state '2' (In use)
Aug 24 09:46:29 DEBUG[22044] pbx.c: Launching 'Dial'
Aug 24 09:46:29 VERBOSE[22044] logger.c: -- Executing Dial("Local/0204@default-c0cb,2", "Agent/204|300|t") in new stack
Aug 24 09:46:29 DEBUG[22044] channel.c: Not copying variable STACK-default-0204-1.
Aug 24 09:46:29 VERBOSE[22044] logger.c: -- agent_call, call to agent '204' call on 'Zap/63-1'
Aug 24 09:46:29 DEBUG[22044] chan_agent.c: Playing beep, lang 'en'
Aug 24 09:46:29 DEBUG[22044] channel.c: Set channel Zap/63-1 to write format ulaw
Aug 24 09:46:29 DEBUG[22044] channel.c: Scheduling timer at 160 sample intervals
Aug 24 09:46:29 VERBOSE[22044] logger.c: -- Playing 'beep' (language 'en')
Aug 24 09:46:29 DEBUG[22044] chan_agent.c: Played beep, result '0'
Aug 24 09:46:29 DEBUG[21910] channel.c: Avoiding initial deadlock for 'Agent/204'
Aug 24 09:46:29 DEBUG[21910] channel.c: Avoiding initial deadlock for 'Agent/204'
Aug 24 09:46:29 DEBUG[21910] channel.c: Avoiding initial deadlock for 'Agent/204'
Aug 24 09:46:29 DEBUG[21910] channel.c: Avoiding initial deadlock for 'Agent/204'
Aug 24 09:46:29 DEBUG[21910] channel.c: Avoiding initial deadlock for 'Agent/204'
Aug 24 09:46:29 DEBUG[21910] channel.c: Avoiding initial deadlock for 'Agent/204'
Aug 24 09:46:29 DEBUG[21910] channel.c: Avoiding initial deadlock for 'Agent/204'
Aug 24 09:46:29 DEBUG[21910] channel.c: Avoiding initial deadlock for 'Agent/204'
Aug 24 09:46:29 DEBUG[22044] channel.c: Scheduling timer at 0 sample intervals
Aug 24 09:46:29 DEBUG[22044] channel.c: Scheduling timer at 0 sample intervals
Aug 24 09:46:29 DEBUG[22044] channel.c: Set channel Zap/63-1 to write format alaw
Aug 24 09:46:29 DEBUG[22044] chan_agent.c: Waited for stream, result '0'
Aug 24 09:46:29 DEBUG[22044] channel.c: Set channel Zap/63-1 to read format alaw
Aug 24 09:46:29 DEBUG[22044] chan_agent.c: Set read format, result '0'
Aug 24 09:46:29 DEBUG[22044] channel.c: Set channel Zap/63-1 to write format alaw
Aug 24 09:46:29 DEBUG[22044] chan_agent.c: Set write format, result '0'
Aug 24 09:46:29 VERBOSE[22044] logger.c: -- Called 204
Aug 24 09:46:29 DEBUG[22044] channel.c: Set channel Agent/204 to read format slin
Aug 24 09:46:29 DEBUG[22044] channel.c: Set channel Local/0204@default-c0cb,2 to write format slin
Aug 24 09:46:29 DEBUG[22044] channel.c: Set channel Local/0204@default-c0cb,2 to read format slin
Aug 24 09:46:29 DEBUG[22044] channel.c: Set channel Agent/204 to write format slin
Aug 24 09:46:29 DEBUG[22047] app_queue.c: Device 'Agent/204' changed to state '3' (Busy)
Aug 24 09:46:29 VERBOSE[22044] logger.c: -- Agent/204 answered Local/0204@default-c0cb,2
Aug 24 09:46:29 DEBUG[22044] channel.c: Set channel Local/0204@default-c0cb,2 to read format slin
Aug 24 09:46:29 DEBUG[22044] channel.c: Set channel Agent/204 to write format slin
Aug 24 09:46:29 DEBUG[22044] channel.c: Set channel Agent/204 to read format slin
Aug 24 09:46:29 DEBUG[22044] channel.c: Set channel Local/0204@default-c0cb,2 to write format slin
Aug 24 09:46:29 DEBUG[22044] channel.c: Set channel Zap/63-1 to read format slin
Aug 24 09:46:29 DEBUG[22044] channel.c: Set channel Zap/63-1 to write format slin
Aug 24 09:46:29 DEBUG[22044] chan_agent.c: Bridge on 'Zap/63-1' being set to 'Agent/204' (3)
Aug 24 09:46:29 VERBOSE[22042] logger.c: > Channel Local/0204@default-c0cb,1 was answered.
Aug 24 09:46:29 DEBUG[22048] pbx.c: Launching 'MeetMe'
Aug 24 09:46:29 VERBOSE[22048] logger.c: -- Executing MeetMe("Local/0204@default-c0cb,1", "8600051") in new stack
Aug 24 09:46:29 DEBUG[22048] config.c: Parsing /etc/asterisk/meetme.conf
Aug 24 09:46:29 DEBUG[22048] chan_zap.c: Using channel -2
Aug 24 09:46:29 VERBOSE[22048] logger.c: -- Created MeetMe conference 1023 for conference '8600051'
Aug 24 09:46:29 DEBUG[22051] app_queue.c: Device 'Zap/pseudo' changed to state '2' (In use)
Aug 24 09:46:29 DEBUG[22049] app_queue.c: Device 'Local/0204@default' changed to state '2' (In use)
Aug 24 09:46:29 DEBUG[22050] app_queue.c: Device 'Local/0204@default' changed to state '2' (In use)
Aug 24 09:46:29 DEBUG[22048] channel.c: Set channel Local/0204@default-c0cb,1 to write format gsm
Aug 24 09:46:29 DEBUG[22048] channel.c: Scheduling timer at 160 sample intervals
Aug 24 09:46:29 VERBOSE[22048] logger.c: -- Playing 'conf-onlyperson' (language 'en')
Aug 24 09:46:29 DEBUG[22044] channel.c: Planning to masquerade channel Agent/204 into the structure of Local/0204@default-c0cb,1
Aug 24 09:46:29 DEBUG[22044] channel.c: Done planning to masquerade channel Agent/204 into the structure of Local/0204@default-c0cb,1
Aug 24 09:46:29 DEBUG[22044] chan_local.c: Not posting to queue since already masked on 'Local/0204@default-c0cb,2'
Aug 24 09:46:29 DEBUG[22048] channel.c: Got clone lock for masquerade on 'Agent/204' at 0x942a7cc
Aug 24 09:46:29 DEBUG[22048] channel.c: Set channel Agent/204 to write format gsm
Aug 24 09:46:29 DEBUG[22048] channel.c: Set channel Agent/204 to read format slin
Aug 24 09:46:29 DEBUG[22048] channel.c: Putting channel Agent/204 in 2/64 formats
Aug 24 09:46:29 DEBUG[22048] channel.c: Released clone lock on 'Local/0204@default-c0cb,1<ZOMBIE>'
Aug 24 09:46:29 DEBUG[22048] channel.c: Done Masquerading Agent/204 (6)
Aug 24 09:46:29 DEBUG[22044] channel.c: Didn't get a frame from channel: Local/0204@default-c0cb,2
Aug 24 09:46:29 DEBUG[22044] channel.c: Bridge stops bridging channels Local/0204@default-c0cb,2 and Local/0204@default-c0cb,1<ZOMBIE>
Aug 24 09:46:29 DEBUG[22044] channel.c: Hanging up zombie 'Local/0204@default-c0cb,1<ZOMBIE>'
Aug 24 09:46:29 DEBUG[22044] app_dial.c: Exiting with DIALSTATUS=ANSWER.
Aug 24 09:46:29 DEBUG[22052] app_queue.c: Device 'Local/0204@default' changed to state '2' (In use)
Aug 24 09:46:29 DEBUG[22044] pbx.c: Spawn extension (default,0204,1) exited non-zero on 'Local/0204@default-c0cb,2'
Aug 24 09:46:29 DEBUG[22044] pbx.c: Launching 'DeadAGI'
Aug 24 09:46:29 VERBOSE[22044] logger.c: -- Executing DeadAGI("Local/0204@default-c0cb,2", "call_log.agi|h") in new stack
Aug 24 09:46:29 VERBOSE[22044] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
Aug 24 09:46:29 VERBOSE[22044] logger.c: -- AGI Script call_log.agi completed, returning 0
Aug 24 09:46:29 DEBUG[22044] pbx.c: Launching 'DeadAGI'
Aug 24 09:46:29 VERBOSE[22044] logger.c: -- Executing DeadAGI("Local/0204@default-c0cb,2", "VD_hangup.agi|PRI-----NODEBUG-----0-----ANSWER-----0-----0") i
n new stack
Aug 24 09:46:29 VERBOSE[22044] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/VD_hangup.agi
Aug 24 09:46:30 VERBOSE[22044] logger.c: -- AGI Script VD_hangup.agi completed, returning 0
Aug 24 09:46:30 DEBUG[22044] channel.c: Hanging up channel 'Local/0204@default-c0cb,2'
Aug 24 09:46:30 DEBUG[22059] app_queue.c: Device 'Local/0204@default' changed to state '0' (Unknown)
and then the coredump