Ticket #3195 (closed Bugs: fixed)

Opened 5 years ago

Last modified 5 years ago

WaitExten missing in Announcements

Reported by: Yedidyah Assigned to: gregmac
Priority: major Milestone: 2.5
Component: Announcements Version: 2.5-branch
Keywords: repeat crash Cc:
Confirmation: Unreviewed Distro:
Backend Engine: All Distro Ver:
Backend Ver: SVN Revision (if applicable):

Description

When a digit is selected in the 'Repeat' field then the generated code includes a

exten => s,n,Set(TIMEOUT(response)=3)

which is the right thing to do, u'know, give the user time to press that digit.

But you fail to also include

exten => s,n,WaitExten(,)

after the

exten => s,n(play),Background(custom/message|nm)

which results in

...
[Sep 14 02:19:25] VERBOSE[18890] logger.c: -- Executing [s@app-announcement-3:6] BackGround("IAX2/77.240.48.141:4569-13927", "custom/message|nm") in new stack
[Sep 14 02:19:25] VERBOSE[18890] logger.c: -- <IAX2/77.240.48.141:4569-13927> Playing 'custom/maariv' (language 'en')
[Sep 14 02:19:29] VERBOSE[18890] logger.c: == Auto fallthrough, channel 'IAX2/77.240.48.141:4569-13927' status is 'UNKNOWN'
[Sep 14 02:19:29] VERBOSE[18890] logger.c: -- Hungup 'IAX2/77.240.48.141:4569-13927'
...

Note: When I added the WaitExten? command the 'Auto fallthrough' did not occur.

Change History

09/13/08 22:15:32 changed by Yedidyah

Oops, sorry typo in log copy (was trying to clar out all user data)

...
[Sep 14 02:19:25] VERBOSE[18890] logger.c: -- Executing [s@app-announcement-3:6] BackGround("IAX2/77.240.48.141:4569-13927", "custom/message|nm") in new stack
[Sep 14 02:19:25] VERBOSE[18890] logger.c: -- <IAX2/77.240.48.141:4569-13927> Playing 'custom/message' (language 'en')
[Sep 14 02:19:29] VERBOSE[18890] logger.c: == Auto fallthrough, channel 'IAX2/77.240.48.141:4569-13927' status is 'UNKNOWN'
[Sep 14 02:19:29] VERBOSE[18890] logger.c: -- Hungup 'IAX2/77.240.48.141:4569-13927'
...

09/13/08 22:48:55 changed by p_lindheimer

  • status changed from new to closed.
  • resolution set to fixed.

(In [6710]) fixes #3195 need WaitExten?() after background when repeat is set, dropping timeout to minimum, additional timeout desired should be incorporated into the message

09/13/08 22:53:59 changed by p_lindheimer

(In [6711]) fixes #3195 Merged revisions 6710 via svnmerge from http://svn.freepbx.org/modules/branches/2.5

........

r6710 | p_lindheimer | 2008-09-13 19:48:55 -0700 (Sat, 13 Sep 2008) | 1 line

fixes #3195 need WaitExten?() after background when repeat is set, dropping timeout to minimum, additional timeout desired should be incorporated into the message

........

09/14/08 05:16:53 changed by Yedidyah

Thanks p_lindheimer for you speedy resolution.

:-)