Summary:ASTERISK-08585: Queue commands 'i' option
Reporter:fromm (fromm)Labels:
Date Opened:2007-01-15 18:22:15.000-0600Date Closed:2007-02-16 21:04:18.000-0600
Versions:Frequency of
Environment:Attachments:( 0) consoleoutput.txt
( 1) gdboutput.txt
( 2) verbosedebug.txt
Description:Adding the 'i' option to the Queue command will crash Asterisk if the destination member has call forwarding enabled on their SIP device.

Attached is the contents of the debug file and the output from the console with verbosity cranked way up and sip debug set on for the member interface.  The example is a call going to the customerservice queue to the only available member SIP/3201.  SIP/3201 is configured on the device to forward to SIP/9999.

When the calls reaches the point to forward, Asterisk crashes.  If SIP/3201 enables forwarding while the phone is ringing, Asterisk crashes.
Comments:By: Jason Parker (jparker) 2007-01-15 18:26:53.000-0600

Can you please provide a backtrace as described in doc/backtrace.txt?

By: Serge Vecher (serge-v) 2007-01-16 12:17:42.000-0600

also, to see debug output, please produce as per following:

1) Prepare test environment (reduce the amount of unrelated traffic on the server);
2) Make sure your logger.conf has the following line:
  console => notice,warning,error,debug
3) restart Asterisk with the following command:
  'asterisk -Tvvvvvdddddngc | tee /tmp/verbosedebug.txt'
4) Enable SIP transaction logging with the following CLI commands:
set debug 4
set verbose 4
sip debug
5) Trim startup information and attach verbosedebug.txt to the issue

By: fromm (fromm) 2007-01-17 18:48:33.000-0600

verbosedebug.txt file is now attached.  The Queue executes on line 115.  I'm testing with one SIP device and one IAX soft client.

By: fromm (fromm) 2007-01-17 19:00:37.000-0600

GDB output from commands specified in doc/backtrace.txt is now attached.

By: Joshua C. Colp (jcolp) 2007-02-16 21:04:18.000-0600

Fixed in 1.4 as of revision 55129 and trunk as of revision 55132. Peace!