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'" <[email protected]>
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: [email protected]
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
[email protected]
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
[email protected]
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
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to