I have posted soo many times in the past but never recieved even a single reply . seem like you people are ignoring me or either way too busy .. never mind this is my last try . How can record a conversation with asterisk ? I tried to use Record() but dint work for me .. here is what i tried . exten => s,1,Wait,1 ; Wait a second, just for fun exten => s,2,Answer ; Answer the line exten => s,3,DigitTimeout,5 ; Set Digit Timeout to 5 seconds exten => s,4,ResponseTimeout,10 ; Set Response Timeout to 10 seconds exten => s,5,BackGround(seattle) ; Play a congratulatory message exten => i,1,Goto,sip|${EXTEN}|1 exten => i,2,Record(input:wav) include => sip _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus
Kaku, Take a look at app_monitor [Synopsis]: Monitor a channel [Description]: Monitor Used to start monitoring a channel. The channel's input and output voice packets are logged to files until the channel hangs up or monitoring is stopped by the StopMonitor application. The option string may contain the following arguments: [file_format|[fname_base]] file_format -- optional, if not set, defaults to "wav" fname_base -- if set, changes the filename used to the one specified. Good luck! Michiel -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of kaku ustaad Sent: maandag 25 augustus 2003 13:33 To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Why doesnt anyone reply me ? I have posted soo many times in the past but never recieved even a single reply . seem like you people are ignoring me or either way too busy .. never mind this is my last try . How can record a conversation with asterisk ? I tried to use Record() but dint work for me .. here is what i tried . exten => s,1,Wait,1 ; Wait a second, just for fun exten => s,2,Answer ; Answer the line exten => s,3,DigitTimeout,5 ; Set Digit Timeout to 5 seconds exten => s,4,ResponseTimeout,10 ; Set Response Timeout to 10 seconds exten => s,5,BackGround(seattle) ; Play a congratulatory message exten => i,1,Goto,sip|${EXTEN}|1 exten => i,2,Record(input:wav) include => sip _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users
Am I crazy or do you have a Goto just before your Record command? -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of kaku ustaad Sent: August 25, 2003 8:33 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Why doesnt anyone reply me ? I have posted soo many times in the past but never recieved even a single reply . seem like you people are ignoring me or either way too busy .. never mind this is my last try . How can record a conversation with asterisk ? I tried to use Record() but dint work for me .. here is what i tried . exten => s,1,Wait,1 ; Wait a second, just for fun exten => s,2,Answer ; Answer the line exten => s,3,DigitTimeout,5 ; Set Digit Timeout to 5 seconds exten => s,4,ResponseTimeout,10 ; Set Response Timeout to 10 seconds exten => s,5,BackGround(seattle) ; Play a congratulatory message exten => i,1,Goto,sip|${EXTEN}|1 exten => i,2,Record(input:wav) include => sip _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users
kaku ustaad wrote:> > I have posted soo many times in the past but never recieved even a > single reply . seem like you people are ignoring me or either way too > busy .. never mind this is my last try . > > How can record a conversation with asterisk ? > I tried to use Record() but dint work for me .. here is what i tried . > > exten => s,1,Wait,1 ; Wait a second, just for fun > exten => s,2,Answer ; Answer the line > exten => s,3,DigitTimeout,5 ; Set Digit Timeout to 5 seconds > exten => s,4,ResponseTimeout,10 ; Set Response Timeout to 10 > seconds > exten => s,5,BackGround(seattle) ; Play a congratulatory message > > exten => i,1,Goto,sip|${EXTEN}|1 > exten => i,2,Record(input:wav) > include => sip > > _________________________________________________________________ > MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. > http://join.msn.com/?page=features/virus > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >try Monitor instead: exten => i,1,Monitor exten => i,2,Dial... -- ---- --------- Best Regards, Pavel Litvinenko. ICQ: 16224754 Ph: (8632) 923962, 923640 sip:litw@iptel.org
how about now ? can you please send me some example.conf to do the conversation recording ? i want to record all the conversation of the calls going through my atseirsk box . exten => s,1,Wait,1 ; Wait a second, just for fun exten => s,2,Answer ; Answer the line exten => s,3,DigitTimeout,5 ; Set Digit Timeout to 5 seconds exten => s,4,ResponseTimeout,10 ; Set Response Timeout to 10 seconds exten => s,5,BackGround(seattle) ; Play a congratulatory message ;exten => s,6,Record(input:wav) exten => i,1,Record,input exten => i,2,Goto,sip|${EXTEN}|1 include => sip>From: "Paulo Mannheimer" <paulohm@instant.com.br> >Reply-To: asterisk-users@lists.digium.com >To: <asterisk-users@lists.digium.com> >Subject: RE: [Asterisk-Users] Why doesnt anyone reply me ? >Date: Mon, 25 Aug 2003 08:37:30 -0300 > >Am I crazy or do you have a Goto just before your Record command? > >-----Original Message----- >From: asterisk-users-admin@lists.digium.com >[mailto:asterisk-users-admin@lists.digium.com] On Behalf Of kaku ustaad >Sent: August 25, 2003 8:33 AM >To: asterisk-users@lists.digium.com >Subject: [Asterisk-Users] Why doesnt anyone reply me ? > > >I have posted soo many times in the past but never recieved even a >single >reply . seem like you people are ignoring me or either way too busy .. >never mind this is my last try . > >How can record a conversation with asterisk ? >I tried to use Record() but dint work for me .. here is what i tried . > >exten => s,1,Wait,1 ; Wait a second, just for fun >exten => s,2,Answer ; Answer the line >exten => s,3,DigitTimeout,5 ; Set Digit Timeout to 5 seconds >exten => s,4,ResponseTimeout,10 ; Set Response Timeout to 10 >seconds >exten => s,5,BackGround(seattle) ; Play a congratulatory message > >exten => i,1,Goto,sip|${EXTEN}|1 >exten => i,2,Record(input:wav) >include => sip > >_________________________________________________________________ >MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. >http://join.msn.com/?page=features/virus > >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users > >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users_________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail
exten => s,1,Wait,1 ; Wait a second, just for fun exten => s,2,Answer ; Answer the line exten => s,3,DigitTimeout,5 ; Set Digit Timeout to 5 seconds exten => s,4,ResponseTimeout,10 ; Set Response Timeout to 10 seconds exten => s,5,BackGround(seattle) ; Play a congratulatory message ;exten => s,6,Record(input:wav) exten => i,1,Monitor(wav:check) exten => i,2,Goto,sip|${EXTEN}|1 include => sip still doesnt work .. by the way whats the name of the default file it create ? when we dont specify any file name . .. and where does it stores it ? /var/lib/asterisk/sound?>From: Pavel Litvinenko <litw@krypton.ru> >Reply-To: asterisk-users@lists.digium.com >To: asterisk-users@lists.digium.com >Subject: Re: [Asterisk-Users] Why doesnt anyone reply me ? >Date: Mon, 25 Aug 2003 16:00:47 +0400 > >kaku ustaad wrote: > >> >>I have posted soo many times in the past but never recieved even a single >>reply . seem like you people are ignoring me or either way too busy .. >>never mind this is my last try . >> >>How can record a conversation with asterisk ? >>I tried to use Record() but dint work for me .. here is what i tried . >> >>exten => s,1,Wait,1 ; Wait a second, just for fun >>exten => s,2,Answer ; Answer the line >>exten => s,3,DigitTimeout,5 ; Set Digit Timeout to 5 seconds >>exten => s,4,ResponseTimeout,10 ; Set Response Timeout to 10 >>seconds >>exten => s,5,BackGround(seattle) ; Play a congratulatory message >> >>exten => i,1,Goto,sip|${EXTEN}|1 >>exten => i,2,Record(input:wav) >>include => sip >> >>_________________________________________________________________ >>MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. >>http://join.msn.com/?page=features/virus >> >>_______________________________________________ >>Asterisk-Users mailing list >>Asterisk-Users@lists.digium.com >>http://lists.digium.com/mailman/listinfo/asterisk-users >> >try Monitor instead: > >exten => i,1,Monitor >exten => i,2,Dial... > > >-- >---- >--------- >Best Regards, > Pavel Litvinenko. > ICQ: 16224754 > Ph: (8632) 923962, 923640 > sip:litw@iptel.org > > > >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users_________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
The files are stored under /var/spool/monitor/ You get two WAV files, one for inbound and one for outbound. The filename is typically the channel name in which the call traversed.> -----Original Message----- > From: kaku ustaad [mailto:kakuustaad007@hotmail.com] > Sent: 25 August 2003 14:30 > To: asterisk-users@lists.digium.com > Subject: Re: [Asterisk-Users] Why doesnt anyone reply me ? > > > > exten => s,1,Wait,1 ; Wait a second, just for fun > exten => s,2,Answer ; Answer the line > exten => s,3,DigitTimeout,5 ; Set Digit Timeout > to 5 seconds > exten => s,4,ResponseTimeout,10 ; Set Response > Timeout to 10 seconds > exten => s,5,BackGround(seattle) ; Play a > congratulatory message > ;exten => s,6,Record(input:wav) > exten => i,1,Monitor(wav:check) > exten => i,2,Goto,sip|${EXTEN}|1 > include => sip > > still doesnt work .. by the way whats the name of the default > file it create > ? when we dont specify any file name . .. and where does it > stores it ? > /var/lib/asterisk/sound? > > > >From: Pavel Litvinenko <litw@krypton.ru> > >Reply-To: asterisk-users@lists.digium.com > >To: asterisk-users@lists.digium.com > >Subject: Re: [Asterisk-Users] Why doesnt anyone reply me ? > >Date: Mon, 25 Aug 2003 16:00:47 +0400 > > > >kaku ustaad wrote: > > > >> > >>I have posted soo many times in the past but never recieved > even a single > >>reply . seem like you people are ignoring me or either way > too busy .. > >>never mind this is my last try . > >> > >>How can record a conversation with asterisk ? > >>I tried to use Record() but dint work for me .. here is > what i tried . > >> > >>exten => s,1,Wait,1 ; Wait a second, > just for fun > >>exten => s,2,Answer ; Answer the line > >>exten => s,3,DigitTimeout,5 ; Set Digit Timeout > to 5 seconds > >>exten => s,4,ResponseTimeout,10 ; Set Response > Timeout to 10 > >>seconds > >>exten => s,5,BackGround(seattle) ; Play a > congratulatory message > >> > >>exten => i,1,Goto,sip|${EXTEN}|1 > >>exten => i,2,Record(input:wav) > >>include => sip > >> > >>_________________________________________________________________ > >>MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. > >>http://join.msn.com/?page=features/virus > >> > >>_______________________________________________ > >>Asterisk-Users mailing list > >>Asterisk-Users@lists.digium.com > >>http://lists.digium.com/mailman/listinfo/asterisk-users > >> > >try Monitor instead: > > > >exten => i,1,Monitor > >exten => i,2,Dial... > > > > > >-- > >---- > >--------- > >Best Regards, > > Pavel Litvinenko. > > ICQ: 16224754 > > Ph: (8632) 923962, 923640 > > sip:litw@iptel.org > > > > > > > >_______________________________________________ > >Asterisk-Users mailing list > >Asterisk-Users@lists.digium.com > >http://lists.digium.com/mailman/listinfo/asterisk-users > > _________________________________________________________________ > Add photos to your e-mail with MSN 8. Get 2 months FREE*. > http://join.msn.com/?page=features/featuredemail > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >********* DISCLAIMER ********* This message and any attachment are confidential and may be privileged or otherwise protected from disclosure and may include proprietary information. If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment from your system. If you are not the intended recipient you must not copy this message or attachment or disclose the contents to any other person
A good example of how to do this is: http://www.bkw.org/~brian/bkw-exten.conf use this to mux your recorded calls from cron.. http://www.bkw.org/~brian/monitor-mux.txt bkw On Mon, 25 Aug 2003, kaku ustaad wrote:> > exten => s,1,Wait,1 ; Wait a second, just for fun > exten => s,2,Answer ; Answer the line > exten => s,3,DigitTimeout,5 ; Set Digit Timeout to 5 seconds > exten => s,4,ResponseTimeout,10 ; Set Response Timeout to 10 seconds > exten => s,5,BackGround(seattle) ; Play a congratulatory message > ;exten => s,6,Record(input:wav) > exten => i,1,Monitor(wav:check) > exten => i,2,Goto,sip|${EXTEN}|1 > include => sip > > still doesnt work .. by the way whats the name of the default file it create > ? when we dont specify any file name . .. and where does it stores it ? > /var/lib/asterisk/sound? > > > >From: Pavel Litvinenko <litw@krypton.ru> > >Reply-To: asterisk-users@lists.digium.com > >To: asterisk-users@lists.digium.com > >Subject: Re: [Asterisk-Users] Why doesnt anyone reply me ? > >Date: Mon, 25 Aug 2003 16:00:47 +0400 > > > >kaku ustaad wrote: > > > >> > >>I have posted soo many times in the past but never recieved even a single > >>reply . seem like you people are ignoring me or either way too busy .. > >>never mind this is my last try . > >> > >>How can record a conversation with asterisk ? > >>I tried to use Record() but dint work for me .. here is what i tried . > >> > >>exten => s,1,Wait,1 ; Wait a second, just for fun > >>exten => s,2,Answer ; Answer the line > >>exten => s,3,DigitTimeout,5 ; Set Digit Timeout to 5 seconds > >>exten => s,4,ResponseTimeout,10 ; Set Response Timeout to 10 > >>seconds > >>exten => s,5,BackGround(seattle) ; Play a congratulatory message > >> > >>exten => i,1,Goto,sip|${EXTEN}|1 > >>exten => i,2,Record(input:wav) > >>include => sip > >> > >>_________________________________________________________________ > >>MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. > >>http://join.msn.com/?page=features/virus > >> > >>_______________________________________________ > >>Asterisk-Users mailing list > >>Asterisk-Users@lists.digium.com > >>http://lists.digium.com/mailman/listinfo/asterisk-users > >> > >try Monitor instead: > > > >exten => i,1,Monitor > >exten => i,2,Dial... > > > > > >-- > >---- > >--------- > >Best Regards, > > Pavel Litvinenko. > > ICQ: 16224754 > > Ph: (8632) 923962, 923640 > > sip:litw@iptel.org > > > > > > > >_______________________________________________ > >Asterisk-Users mailing list > >Asterisk-Users@lists.digium.com > >http://lists.digium.com/mailman/listinfo/asterisk-users > > _________________________________________________________________ > Add photos to your e-mail with MSN 8. Get 2 months FREE*. > http://join.msn.com/?page=features/featuredemail > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >
Oops, sorry normally stored under /var/spool/asterisk/monitor/> -----Original Message----- > From: Low, Adam [mailto:ALow@Prioritytelecom.com] > Sent: 25 August 2003 14:51 > To: 'asterisk-users@lists.digium.com' > Subject: RE: [Asterisk-Users] Why doesnt anyone reply me ? > > > The files are stored under /var/spool/monitor/ > > You get two WAV files, one for inbound and one for outbound. > The filename is typically the channel name in which the call > traversed.********* DISCLAIMER ********* This message and any attachment are confidential and may be privileged or otherwise protected from disclosure and may include proprietary information. If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment from your system. If you are not the intended recipient you must not copy this message or attachment or disclose the contents to any other person
The first section basically waits for the user to dial an extension. The second part is called if the extension they entered is invalid, then it will go to the extension (at this point ${EXTEN} = "i" at priority 1 (which basically creates a loop) and the record is never called. Try: exten => s,1,Wait,1 ; Wait a second, just for fun exten => s,2,Answer ; Answer the line exten => s,3,DigitTimeout,5 ; Set Digit Timeout to 5 seconds exten => s,4,ResponseTimeout,10 ; Set Response Timeout to 10 sec exten => s,5,BackGround(seattle) ; Play a congratulatory message exten => 1000,1,Record(input:wav) include => sip On Mon, 2003-08-25 at 06:33, kaku ustaad wrote:> I have posted soo many times in the past but never recieved even a single > reply . seem like you people are ignoring me or either way too busy .. > never mind this is my last try . > > How can record a conversation with asterisk ? > I tried to use Record() but dint work for me .. here is what i tried . > > exten => s,1,Wait,1 ; Wait a second, just for fun > exten => s,2,Answer ; Answer the line > exten => s,3,DigitTimeout,5 ; Set Digit Timeout to 5 seconds > exten => s,4,ResponseTimeout,10 ; Set Response Timeout to 10 seconds > exten => s,5,BackGround(seattle) ; Play a congratulatory message > > exten => i,1,Goto,sip|${EXTEN}|1 > exten => i,2,Record(input:wav) > include => sip > > _________________________________________________________________ > MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. > http://join.msn.com/?page=features/virus > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users-- BTEL Consulting 850-484-4535 x2111 (Office) 504-595-3916 x2111 (Experimental) 877-552-0838 (Backup Phone)
Hi, On Mon, 2003-08-25 at 13:33, kaku ustaad wrote:> How can record a conversation with asterisk ? > I tried to use Record() but dint work for me .. here is what i tried .http://www.loligo.com/asterisk/ has good example configurations. You'll find a working example for recording messages there. wkr, -- Envida http://www.envida.net/ Armand A. Verstappen Graadt van Roggenweg 328 armand@nl.envida.net 3531 AH Utrecht tel: +31 (0)30 298 2255 Postbus 19127 fax: +31 (0)30 298 2111 3501 DC Utrecht -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20030825/227f72b2/attachment.pgp
maybe because your email seems ot be encoded within an attachment? try sending plaintext! cheers Dave ----- Original Message ----- From: "Armand A. Verstappen" <armand@nl.envida.net> To: <asterisk-users@lists.digium.com> Sent: Monday, August 25, 2003 7:02 PM Subject: Re: [Asterisk-Users] Why doesnt anyone reply me ?