gvsurenderreddy / audiospread

Automatically exported from code.google.com/p/audiospread
0 stars 0 forks source link

I.a.1.1. dialplan extension/macro/work for recording into "sounds/custom/audiospread" folder. #16

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

implementation requested by ticket is:
I.a.1.1. sample dialplan extension for recording into the Asterisk's
"submissions" magical folder with filename containing caller-id and
username if known.

Original issue reported on code.google.com by jonathan.schroder@gmail.com on 7 Mar 2009 at 5:12

GoogleCodeExporter commented 8 years ago
=> giving ticket to xavier

in more details this ticket means:
add a reachable context/macro to the dialplan from which the user is proposed to
record a comment in two steps:
1. give audio title of comment.
2. give comment itself.
3. go back to home menu or program.
Concerning 3., you make the design choice to implement only one or both of:
  A.callers can submit audio related to some program (comment) (in this case, you can
maybe edit the audiospread-coded program playing macro).
  B.to submit something in general (ie. from home menu and that's all ; in this case
you may want to create an additional extension in home menu, leading to a new 
context
for registering comments)

you should use one of the record functions of dialplan:
 http://www.voip-info.org/wiki/index.php?page=Asterisk+-+documentation+of+application+commands#SoundsRecordingandmonitoringlisteningin

format of saved audio filename could be one or both of:
A.CallerUserNameOrJustCallerID_Date_Time_ProgramID.gsm
B.CallerUserNameOrJustCallerID_Date_Time_ProgramID.gsm

destination folder for recorded file is 
/usr/share/asterisk/sounds/custom/audiospread
or something like that
note: that this is not a problem for us to have recorded & drupal-received 
files in
that same sounds/custom/audiospread folder.

note: don't worry about the format ; the inter-server part is meant to convert 
it to
mp3 before sending the file towards Drupal.

Original comment by jonathan.schroder@gmail.com on 29 Mar 2009 at 11:12

GoogleCodeExporter commented 8 years ago

Original comment by jonathan.schroder@gmail.com on 29 Mar 2009 at 11:17

GoogleCodeExporter commented 8 years ago

Original comment by jonathan.schroder@gmail.com on 29 Mar 2009 at 11:17

GoogleCodeExporter commented 8 years ago

Original comment by jonathan.schroder@gmail.com on 29 Mar 2009 at 11:18

GoogleCodeExporter commented 8 years ago

Original comment by jonathan.schroder@gmail.com on 29 Mar 2009 at 11:42