search for: recordfile

Displaying 9 results from an estimated 9 matches for "recordfile".

2005 Sep 26
1
Precomputing the remaining floating point operations.
.... All that's needed is to include the code segment below in one of the .h files and wrap all those float calculations in RECOPLAY, e.g. int sqrt2 = RECOPLAY(sqrt(2)*16384) I've also made RECOPLAY_MARK(name) to synchronize the process. #ifdef RECORD #include <stdio.h> extern FILE *recordFile; #define _RECOPLAY_FOPEN \ if (!recordFile && (recordFile = fopen ("precompute.c", "w")) != NULL) { \ fprintf (recordFile, "#include \"config.h\"\n\ #ifndef EMBEDDED\n\ #include <stdio.h>\n\ FILE *recordFile = NULL;\n\...
2009 Jun 30
1
Setting CDR(userfield) from Macro called from feature doesn't work with cdr_mysql
cdr_mysql doesn't set the userfield when it's set inside a macro called from a feature (1.4.25, addons 1.4.8). I have a feature code: autorecord => *1,self,Macro,apprecord The apprecord macro looks like: [macro-apprecord] exten => s,1,Playback(beep) exten => s,n,Set(RECORDFILE=/var/spool/asterisk/autorecord/${STRFTIME(${EPOCH},,%Y/%m/%d/%H%M%S)}-${UNIQUEID}-^-${CALLERID(num)}) exten => s,n,Set(CDR(userfield)=${RECORDFILE}) exten => s,n,MixMonitor(${RECORDFILE}.wav) exten => s,n,Set(AUDIOHOOK_INHERIT(MixMonitor)=yes) exten => s,n,NoOp(CDR(userfield) = ${CD...
2010 Aug 12
1
Recording the conversation with MixMonitor() ends when the call is transfered
...is transfered to another co-worker, the recording ends. exten => 409,n,Macro(SDstartrecording,external,${DID}) the incoming call then goes to a queue... [macro-startrecording] ; ARG1 = incoming DID or CALLERID(name) ; ARG2 = outgoing dialnumber ... exten => s,n,MixMonitor(/var/ftp/${NR}/${recordfile},b,chown -R ${NR}:astDrisk /var/ftp/${NR} && chmod 570 /var/ftp/${NR} && chmod 400 /var/ftp/${NR}/${recordfile}) ... The 'b'-option makes the recording start when the call is answered by an agent of the queue. Is it normal that when this agent transfers the call to ano...
2009 Feb 13
2
Continue processing AGI script after hangup
All; I wrote a PERL AGI script that prompts a caller to leave a message using print "RECORD FILE $recordfile wav # 60000 BEEP s=3\n"; When the caller is done, they need to press the # key. The message is then delivered. However, the message is not delivered if the caller simply hangs up when finished. If the user hangs up, the script ends right then. How do I keep on processing the rest of the scri...
2006 Feb 24
2
Missing 31 DTMF tones over ZAP
...witch over E1 ISDN PRI here in the UK. Everything was working OK, except that DTMF digits were not being recognised by * when sent by the Avaya switch to the * system. Instead, the background noise of the call centre would be silenced while users hit the keys on their phones - echo tests and RecordFile produced a flatline response. I had at first thought that the Avaya switch may not be sending them, however this was working when * was not in the call path. With further testing, I've found out that it is in fact only the first 31 DTMF tones that are missing - those following are p...
2007 May 23
3
TE205P, E1, Panasonic PBX and hang-up issues
...p the PBX phone; 3. the mobile continues to ring. The verbose output is: -- Accepting overlap call from '' to '<unspecified>' on channel 0/17, span 2 -- Starting simple switch on 'Zap/48-1' -- Executing [0868017669@pbx:1] Set("Zap/48-1", "RECORDFILE=/srv/recordings/live/1179858572.0") in new stack -- Executing [0868017669@pbx:2] MixMonitor("Zap/48-1", "/srv/recordings/live/1179858572.0.wav|b") in new stack -- Executing [0868017669@pbx:3] SetCallerPres("Zap/48-1", "allowed") in new stack...
2007 Apr 17
2
Voicemail files permission
I'm using asterisk 1.2.14 When asterisk stores voicemail messages in /var/spool/asterisk/voicemail/default/EXTENSION/INBOX files are created with: -rwx------ 1 asterisk web-aster 6690 Apr 17 16:08 msg0002.WAV -rwx------ 1 asterisk web-aster 6732 Apr 17 16:08 msg0002.gsm -rw------- 1 asterisk web-aster 274 Apr 17 16:08 msg0002.txt -rwx------ 1 asterisk web-aster 65324 Apr 17 16:08
2009 Aug 20
6
Cannot play soundfile, doesnt find it or wrong format? Weird, worked yesterday! :-)
...12345" [Aug 20 16:10:19] WARNING[25219]: file.c:602 ast_openstream_full: File test.wav does not exist in any format So it doesn't find the file, or it's in a wrong format? I can listen to it with windows media player... it's a wave-file. I even recorded it yesterday with asterisk recordFile as a wav-file. And it did play yesterday! :) Weird! It's still in the same folder: /var/lib/asterisk/sounds/ But even then, I get this error message mentioned. Where should I search for the error? I'm out of ideas /Johan _______________ Johan Sandgren Svep Design Center AB Phone +46 4...
2003 Jul 23
5
Asterisk as a stand alone voice mail server
I'm sure asterisk would make a great stand alone voice mail server. Basically I want to get rid of our voice mail system and replace it with *, but the problem is we use a cisco cluster with skinny clients. So I was thinking the way to contact a * server, would be through our 3640. But so far any attempt has failed. I am wondering if anyone has done something similar. Just want to verify the