HI,
I’‘ve just started to notice this happening here, 1.1 + 2.6.2 on linux. I have found a way of making it happen repeatably though. Make a call to a paging/intercom line and you’'ll be stuck on the phone. I have seen it occur on other non-regular phones, like the *62 wakeup call etc aswell. The debug message that seems to be the trigger is “Cannot destroy non-existent CallSession” if this happens then all stops working. Below is a debug log for a call to 222 ( paging) followed by a regular call and at 21.06.06 the IM account became stuck on the phone. As always a restart of the IM plugin is needd to restore the presence information.
2006.04.29 21:06:01 Asterisk-IM RingTask called for user PhoneUser{id=1, username=’‘james’’}
2006.04.29 21:06:02 Asterisk-IM: Processing NewState:UP event channel : Local/PAGE200@ext-paging-714a,2 id: 1146341161.86
2006.04.29 21:06:02 Asterisk-IM OnPhoneTask: Could not find device/jid mapping for device Local/PAGE200@ext-paging returning
2006.04.29 21:06:02 Asterisk-IM: Processing NewState:UP event channel : SIP/200-cc23 id: 1146341161.84
2006.04.29 21:06:02 Asterisk-IM OnPhoneTask called for user PhoneUser{id=1, username=’‘james’’}
2006.04.29 21:06:02 Asterisk-IM OnPhoneTask: setting presence to away for PhoneUser{id=1, username=’‘james’’}
2006.04.29 21:06:06 Asterisk-IM HangupTask called for user PhoneUser{id=1, username=’‘james’’}
2006.04.29 21:06:06 Asterisk-IM HangupTask: User james has 2 call sessions, not restoring presence. Destroying CallSession{id=1146341161.84, channel=SIP/200-cc23}
2006.04.29 21:06:06 Asterisk-IM HangupTask: Remaining CallSession CallSession{id=’‘1146341161.87’’, channel=’‘SIP/200’’, linkedChannel=’‘null’’, callerID=’‘200’’, forwardedExtension=’‘null’’, forwardedJID=null, dialedJID=null, username=’‘james’’, isMonitored=false}
2006.04.29 21:06:06 Asterisk-IM HangupTask called for user PhoneUser{id=1, username=’‘james’’}
2006.04.29 21:06:06 Cannot destroy non-existent CallSession with id: 1146341161.85
2006.04.29 21:06:10 Asterisk-IM: Processing NewState:UP event channel : SIP/200-16f2 id: 1146341170.89
2006.04.29 21:06:10 Asterisk-IM OnPhoneTask called for user PhoneUser{id=1, username=’‘james’’}
2006.04.29 21:06:10 Asterisk-IM OnPhoneTask: setting presence to away for PhoneUser{id=1, username=’‘james’’}
2006.04.29 21:06:13 Asterisk-IM HangupTask called for user PhoneUser{id=1, username=’‘james’’}
2006.04.29 21:06:13 Asterisk-IM HangupTask: User james has 2 call sessions, not restoring presence. Destroying CallSession{id=1146341170.89, channel=SIP/200-16f2}
2006.04.29 21:06:13 Asterisk-IM HangupTask: Remaining CallSession CallSession{id=’‘1146341161.87’’, channel=’‘SIP/200’’, linkedChannel=’‘null’’, callerID=’‘200’’, forwardedExtension=’‘null’’, forwardedJID=null, dialedJID=null, username=’‘james’’, isMonitored=false}
hth
James