[Home]

Summary:ASTERISK-06594: [patch] does not goto context in queues.conf before second announcement
Reporter:tgj (tgj)Labels:
Date Opened:2006-03-22 09:03:07.000-0600Date Closed:2006-05-24 11:54:31
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_queue
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) 6776-patch.diff
( 1) bug.txt
( 2) queuebug.txt
Description:I have set context in queues.conf and when I dial a digit while moh is playing I am sent to that context.

If I dial 1 while the annoucement is playing, the queue will start to play moh immediatly, but does not goto the context until the next time an announcement is played.
Comments:By: BJ Weschke (bweschke) 2006-03-22 13:28:39.000-0600

can you please attach a call trace with DEBUG and VERBOSE logging channels enabled in logger.conf? If you need help getting this information you can find someone in Freenode IRC on #asterisk or #asterisk-bugs to help you. I'm also usually there under bweschke.

By: tgj (tgj) 2006-03-25 13:34:24.000-0600

Uploaded Trace - hope it is what you want.

By: Serge Vecher (serge-v) 2006-05-04 09:27:16

is this still an issue?

By: tgj (tgj) 2006-05-05 01:40:30

Yes

By: Serge Vecher (serge-v) 2006-05-05 09:02:23

ok: can you please upload a new call trace with debug information requested by bweschke from the most recent 1.2 branch. Also, did you try svn trunk to see if the issue is present there?

By: tgj (tgj) 2006-05-08 06:21:10

2 Snom ip-phones (222 and 333) are registered to Asterisk SVN-trunk-r25411.

Queue 1501 is configured to enter IVR 1601 if 1 is pressed

Phone 333 is member of queue 1501



Working scenario

From phone 222 I am calling 1501:

Phone 333 starts ringing and music is being played.

While the music is being played I press 1. The call is being transfer according to IVR as expected



Not working scenario

From phone 222 I am calling 1501:

Phone 333 starts ringing and music is being played.

While announcement ”you are next in queue” is being played I press 1. The announcement stops and music starts immediately. The call is newer transfer according to IVR and 1 doesn’t work anymore.

By: tgj (tgj) 2006-05-08 06:23:09

I have uploaded a new trace - this is done with svn trunk

By: BJ Weschke (bweschke) 2006-05-08 08:17:13

tgj: this should be fixed now in 1.2 and /trunk. Please test and let us know. Thanks.

By: tgj (tgj) 2006-05-09 02:30:27

Asterisk SVN-trunk-r25521

The issue is only party solved. Seem like quick fix, but should be more generally implemented.

While playing 'queue-youarenext' (language 'us'), dialling a number is working as expected

While playing 'queue-thankyou' (language 'us'), dialling a number exits the queue.

While playing periodic announcement, dialling a number stops the announcement and music starts immediatly. The call is newer transfered to context.

By: BJ Weschke (bweschke) 2006-05-09 08:18:23

tgj: Thanks for the additional testing. This fix seems a little more involved than the other, so why don't you please apply 6776-periodic-1.2.diff to your 1.2 tree and let me know if this corrects the problem and doesn't cause any new problems before I commit this one in to 1.2 and /trunk.

By: tgj (tgj) 2006-05-10 03:38:23

I’m testing with Asterisk 1.2.7.1 tar ball patched with 6776-periodic-1.2.diff, since the patch failed on the SVN-trunk

While playing 'queue-youarenext', dialling a number stops the announcement and music starts immediatly. The call is newer transfered to context.

While playing 'queue-thankyou', dialling a number is working as expected

While playing periodic announcement, dialling a number is working as expected

By: BJ Weschke (bweschke) 2006-05-21 07:30:50

tgj: Give the latest patch a try. Thanks.

By: tgj (tgj) 2006-05-22 03:27:09

6776-patch.diff is failed when trying to patch Asterisk 1.2.7.1 tar ball:
patching file apps/app_queue.c
Hunk ASTERISK-2 FAILED at 1182.

I edited the original apps/app_queue.c and applied the patch with no errors

While playing 'queue-youarenext', dialing a number stops the announcement and queue starts ringing immediately. No music starts. The call is never transferred to context.

While playing 'queue-thankyou', dialing a number is stops the announcement and the queue continues with next announcement. The call is never transferred to context

While playing periodic announcement, dialing a number is working as expected

By: Kevin P. Fleming (kpfleming) 2006-05-24 11:54:30

There were quite a few problems in app_queue related to exiting via keypress and moh handling... I believe I have corrected them in branch-1.2 revision 29971 and trunk revision 29972. Please test and request this bug to be reopened if you still experience unexpected behavior.