[Home]

Summary:ASTERISK-07787: Chanspy making asterisk exit
Reporter:aster1 (aster1)Labels:
Date Opened:2006-09-21 14:25:05Date Closed:2006-09-22 17:02:26
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Resources/res_features
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Chanspy hangup makes asterisk exit with error code 1 .

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

I am running self compiled asterisk 1.2.12.1 on trixbox .. I have this in my extensions.conf for chanspying other people

exten => *7188,1,Authenticate(/home/pass2)
exten => *7188,2,AbsoluteTimeout(1200)
exten => *7188,3,ChanSpy(|q|b)
exten => *7188,4,Hangup()


I login give pass and listen to chanspy perfectly .. but when i hangup sjphone asterisk exits ( always )but safe_asterisk respawns process still calls going at that time are disconnected  .. Is there problem with chanspy driver ? This was also issue with asterisk 1.2.11 but had no problem with asterisk 1.2.9.1..

This is in /var/log/messages

Sep 22 00:31:56 vi123 safe_asterisk: Asterisk died with code 1.
Sep 22 00:31:56 vi123 safe_asterisk: Automatically restarting Asterisk.


Also when i do a service asterisk restart ( centos ! ) i get

Sep 22 00:31:56 vi123 safe_asterisk: Asterisk already running on /var/run/asterisk.ctl.  Use 'asterisk -r' to connect.
Sep 22 00:31:56 vi123 safe_asterisk: Asterisk died with code 1.
Sep 22 00:31:56 vi123 safe_asterisk: Automatically restarting Asterisk.

why it has to exit ??? but this doesn seem to drop calls like chanspy hangup ..
Comments:By: Joshua C. Colp (jcolp) 2006-09-21 14:36:25

Can you give me access to your box right now so I can diagnose this?

By: aster1 (aster1) 2006-09-22 13:42:16

sure gimme ur mail id and i will mail you details right away ..

By: Joshua C. Colp (jcolp) 2006-09-22 17:02:26

Should be fixed as of revision 43509 in the 1.2 branch. You can either wait until the next 1.2 release, or check out the 1.2 branch. If this does turn up to still be an issue - please reopen! Thanks.