[Home]

Summary:ASTERISK-02871: [patch] Supports filaname with a dot in app_record.c
Reporter:Clod Patry (junky)Labels:
Date Opened:2004-11-22 21:28:33.000-0600Date Closed:2008-01-15 15:14:45.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) app_record.diff.txt
Description:Presently, we cannot do something like:
exten => 997,1,Record(${UNIQUEID}.gsm);

cause there's a dot in the filename (before the format type).

output in CLI seems like:
    -- Executing Record("SIP/10-9785", "1101178863.0.gsm") in new stack
    -- Playing 'beep' (language 'en')
Nov 22 22:01:03 WARNING[14629]: file.c:919 ast_writefile: No such format '0.gsm'
Nov 22 22:01:03 WARNING[14629]: app_record.c:277 record_exec: Could not create file 1101178863
  == Auto fallthrough, channel 'SIP/10-9785' status is 'UNKNOWN'




****** ADDITIONAL INFORMATION ******

This allows to have a dot in your filename
like blah.blah.gsm.

disclaimer on file.
Comments:By: Mark Spencer (markster) 2004-11-22 21:36:14.000-0600

Fixed in CVS, thanks!

By: Russell Bryant (russell) 2004-11-25 02:38:30.000-0600

this does not apply to 1.0

Please re-open if this is an issue there and there is an alternate fix

By: Digium Subversion (svnbot) 2008-01-15 15:14:45.000-0600

Repository: asterisk
Revision: 4321

U   trunk/apps/app_record.c

------------------------------------------------------------------------
r4321 | markster | 2008-01-15 15:14:45 -0600 (Tue, 15 Jan 2008) | 2 lines

Fix Record with "." in filename (bug ASTERISK-2871)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=4321