[Home]

Summary:ASTERISK-00805: zt_handle_event: Ring/Off-hook in strange state 6 on channel 1
Reporter:vaewyn (vaewyn)Labels:
Date Opened:2004-01-12 09:16:35.000-0600Date Closed:2011-06-07 14:10:38
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:X100P... when calls are received it never fully answers the line. The console still says that everything is going as if it had except for 2 warnings.

Was not an issue with CVS from 06/24/03  after upgrade it appeared... Tried with both 1/11/04 and 1/12/04 CVS and both do it.

****** ADDITIONAL INFORMATION ******

Console output during 1 phone call session during which the line is just ringing over and over for incoming call:
   -- Starting simple switch on 'Zap/1-1'
   -- Executing SetMusicOnHold("Zap/1-1", "default") in new stack
-- Executing ResponseTimeout("Zap/1-1", "20") in new stack
   -- Set Response Timeout to 20
   -- Executing NoOp("Zap/1-1", ""Robert Steele P" <6108>") in new stack
   -- Executing Dial("Zap/1-1", "IAX/bridge:testing@143.207.x.y/s@bell|7") in new stack                                                                      
   -- Calling using options 'exten=s;callerid="Robert Steele P" <6108>;language=en;context=bell;username=bridge;formats=2;capability=65283;version=1;adsicpe=2'
   -- Called bridge:testing@143.207.x.y/s@bell
   -- Nobody picked up in 7000 ms
   -- Hungup 'IAX[143.207.150.4:5036]/7'
   -- Executing BackGround("Zap/1-1", "thanks") in new stack
   -- Playing 'thanks' (language 'en')
Jan 12 08:36:09 WARNING[245776]: chan_zap.c:2991 zt_handle_event: Ring/Off-hook in strange state 6 on channel 1                                                
 == Spawn extension (outgoing, s, 5) exited non-zero on 'Zap/1-1'
   -- Hungup 'Zap/1-1'
   -- Starting simple switch on 'Zap/1-1'
Jan 12 08:36:23 WARNING[262160]: chan_zap.c:4572 ss_thread: CallerID returned with error on channel 'Zap/1-1'                                                  
   -- Executing SetMusicOnHold("Zap/1-1", "default") in new stack
   -- Executing ResponseTimeout("Zap/1-1", "20") in new stack
   -- Set Response Timeout to 20
   -- Executing NoOp("Zap/1-1", "") in new stack
   -- Executing Dial("Zap/1-1", "IAX/bridge:testing@143.207.x.y/s@bell|7") in new stack                                                                      
   -- Calling using options 'exten=s;language=en;context=bell;username=bridge;formats=2;capability=65283;version=1;adsicpe=2'                                  
   -- Called bridge:testing@143.207.x.y/s@bell
   -- Nobody picked up in 7000 ms
   -- Hungup 'IAX[143.207.x.y:5036]/8'
   -- Executing BackGround("Zap/1-1", "thanks") in new stack
   -- Playing 'thanks' (language 'en')
Jan 12 08:36:30 NOTICE[262160]: chan_zap.c:3587 zt_read: Fax detected, but no fax extension                                                                    
   -- Executing Goto("Zap/1-1", "mailboxes|100|1") in new stack
   -- Goto (mailboxes,100,1)
   -- Executing VoiceMail2("Zap/1-1", "100") in new stack
   -- Playing 'vm-intro' (language 'en')
   -- Playing 'beep' (language 'en')
   -- x=0, open writing:  /var/spool/asterisk/voicemail/bell/100/INBOX/msg0010 format: gsm, 0x80e6980                                                          
   -- x=1, open writing:  /var/spool/asterisk/voicemail/bell/100/INBOX/msg0010 format: wav49, 0x8121ea8                                                        
   -- Playing 'vm-msgsaved' (language 'en')
   -- Executing Playback("Zap/1-1", "auth-thankyou") in new stack
   -- Playing 'auth-thankyou' (language 'en')
   -- Executing Playback("Zap/1-1", "vm-goodbye") in new stack
   -- Playing 'vm-goodbye' (language 'en')
   -- Executing Hangup("Zap/1-1", "") in new stack
 == Spawn extension (mailboxes, 100, 4) exited non-zero on 'Zap/1-1'
   -- Hungup 'Zap/1-1'
Comments:By: jrollyson (jrollyson) 2004-01-12 11:50:54.000-0600

These warnings were always there, just last night's bug fixing made them visable to remote consoles. They don't break anything as far as I know, but it would be nice to have them fixed. Downgrading to minor.

By: vaewyn (vaewyn) 2004-01-12 12:27:13.000-0600

These warnings are on the main console... not -r... have never been there before and the FXO interface is NOT picking up the phoneline properly. Callers get forever rings even though asterisk thinks it has picked up the call and is handling it.

I would suspect this makes it a bit more than minor!?!

By: vaewyn (vaewyn) 2004-01-12 13:33:10.000-0600

Evidently version I was running on had "bug" that line would be picked up automagically without an "Answer" command. Adding that it now picks up and executes like normal.

Warnings appear to be necessary ones .. please resolve this bug.

By: Brian West (bkw918) 2004-01-12 13:55:34.000-0600

Local config issue you must answer an analog line then provide ringing otherwise it will never answer.