That is what I used :) except I got it from the another page in the Wiki I think.. I just changed the sound file references to a sound file that existed on my side.
After using this example I got the error when * gets to the record line of extensions.conf: WARNING[3293201]: app_record.c:117 record_exec: No extension found Thanks! -- Start Your Own ISP! http://www.YourOwnISP.com ----- Original Message ----- From: "Brian West" <[EMAIL PROTECTED]> To: "'Asterisk Users Mailing List - Non-Commercial Discussion'" <asterisk-users@lists.digium.com> Sent: Friday, December 24, 2004 10:38 PM Subject: RE: [Asterisk-Users] Record() problem > http://bugs.digium.com/bug_view_page.php?bug_id=0002905 > > Refer to my example on that bug note. > > bkw > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:asterisk-users- > > [EMAIL PROTECTED] On Behalf Of Me > > Sent: Friday, December 24, 2004 11:06 AM > > To: [EMAIL PROTECTED]; Asterisk Users Mailing List - Non- > > Commercial Discussion > > Subject: Re: [Asterisk-Users] Record() problem > > > > It was executed from the dial plan within extensions.conf and I did not > > hard > > code the "IAX2/[EMAIL PROTECTED]/5" in there. I will paste the exact text > > below > > from my extensions.conf which I really should have done the first time :) > > sorry.. > > > > I didn't include the Macro but that's not where it's blowing up. Any help > > would be appreciated. > > > > Happy Holidays to all! > > > > *****From extensions.conf***** > > > > ; 1100 - Test call whisper type thing > > ;exten => 1100,1,Wait(0.2) > > ;exten => 1100,2,Playback(say-name) > > ;exten => 1100,3,SetVar(SCREEN_FILE=/tmp/${CALLERIDNUM}-${EPOCH}) > > ;exten => 1100,4,Record(${SCREEN_FILE}.gsm,6,25) > > ;exten => 1100,5,Dial(SIP/1100,60,gM(screen^${SCREEN_FILE})) > > ;exten => 1100,6,Voicemail([EMAIL PROTECTED]) > > > > *******End******** > > -- > > Start Your Own ISP! > > http://www.YourOwnISP.com > > ----- Original Message ----- > > From: "Bill Seddon" <[EMAIL PROTECTED]> > > To: "'Asterisk Users Mailing List - Non-Commercial Discussion'" > > <asterisk-users@lists.digium.com> > > Sent: Friday, December 24, 2004 3:00 AM > > Subject: RE: [Asterisk-Users] Record() problem > > > > > > > You syntax for the command is incorrect. See > > > http://www.voip-info.org/wiki-Asterisk+cmd+record. > > > > > > Record is an application to be executed from within the dialplan. So > > the > > > channel it will record is implicit and cannot be explicitly stated as > > one > > > of > > > the parameters. > > > > > > If you want to originate and record a call automatically, you will have > > to > > > do this via AGI. > > > > > > Bill Seddon > > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] On Behalf Of Me > > > Sent: December 24, 2004 6:38 AM > > > To: asterisk-users@lists.digium.com > > > Subject: [Asterisk-Users] Record() problem > > > > > > Any idea why this: > > > Record("IAX2/[EMAIL PROTECTED]/5", "/tmp/whatever.gsm|6|25") > > > > > > Would result in this: > > > WARNING[3293201]: app_record.c:117 record_exec: No extension found > > > > > > Thanks! > > > > > > -- > > > Start Your Own ISP! > > > http://www.YourOwnISP.com > > > > > > _______________________________________________ > > > Asterisk-Users mailing list > > > Asterisk-Users@lists.digium.com > > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > To UNSUBSCRIBE or update options visit: > > > 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 > > > To UNSUBSCRIBE or update options visit: > > > 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 > > To UNSUBSCRIBE or update options visit: > > 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 > To UNSUBSCRIBE or update options visit: > 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 To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users