[asterisk-bugs] [Asterisk 0014365]: [patch] Add audio announce option to app_page.c

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Dec 10 11:31:25 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=14365 
====================================================================== 
Reported By:                dferrer
Assigned To:                jpeeler
====================================================================== 
Project:                    Asterisk
Issue ID:                   14365
Category:                   Applications/NewFeature
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     ready for testing
Target Version:             1.8
Asterisk Version:           SVN 
JIRA:                       SWP-436 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 172132 
Request Review:              
====================================================================== 
Date Submitted:             2009-01-29 09:21 CST
Last Modified:              2009-12-10 11:31 CST
====================================================================== 
Summary:                    [patch] Add audio announce option to app_page.c
Description: 
It adds an extra option 'A(x)' to app_page (similar to Dial 'A(x)'), to
playback an announce simultaneously in all paged phones and (caller's one)
before conference bridge is activated.

Something like this:

exten => **,1,SIPAddHeader(Alert-Info: Ring Answer)
exten => **,n,Page(SIP/100&SIP/101,qA(chime))

where 'chime' is an audio file with a typical "airport" announce.

There's also another option 'n' that makes only to play announce in all
paged phones and not to play in caller's phone. If this was not specified
the announce were played simultaneously in SIP phone 100, 101 and in
caller's headset.
This is tipically used with Polycom phones, passing a SIP header that
makes the paged phones to autoanswer the call in hands-free speaker.

To acomplish this task, the only way that I found is to modify also
app_meetme, adding an option for play an arbitrary announce at start of
conference (G(x) option). The patch works for trunk, I also have a patch
for 1.4.23.

====================================================================== 

---------------------------------------------------------------------- 
 (0115078) svnbot (reporter) - 2009-12-10 11:31
 https://issues.asterisk.org/view.php?id=14365#c115078 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 234173

U   trunk/CHANGES
U   trunk/apps/app_meetme.c
U   trunk/apps/app_page.c
U   trunk/main/app.c

------------------------------------------------------------------------
r234173 | jpeeler | 2009-12-10 11:31:24 -0600 (Thu, 10 Dec 2009) | 20
lines

Add audio announcement option to app_page

As described in the CHANGES file:
* MeetMe has a new option 'G' to play an announcement before joining a
  conference.
* Page has a new option 'A(x)' which will playback an announcement 
  simultaneously to all paged phones (and optionally excluding the
caller's one 
  using the new option 'n') before the call is bridged.

To add the new option to meetme, the conference flag options had to be
extended 
to 64 bits.

(closes issue https://issues.asterisk.org/view.php?id=14365)
Reported by: dferrer
Patches:
      page_announce.patch uploaded by dferrer (license 525)
      modified by me

Review: https://reviewboard.asterisk.org/r/188/

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=234173 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-10 11:31 svnbot         Checkin                                      
2009-12-10 11:31 svnbot         Note Added: 0115078                          
======================================================================




More information about the asterisk-bugs mailing list