[asterisk-users] MixMonitor Timestamp problem

Eric Lubow elubow at linkexperts.com
Mon Jun 18 13:50:02 CDT 2007


Asif,

   The use of ${TIMESTAMP} in Asterisk 1.4 is deprecated.  The new
current method is to use: ${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)}

   Therefore your line should look something like this:

exten => s,1,MixMonitor(${CALLERID(number)}-${STRFTIME(${EPOCH},,%Y%m%
d-%H%M%S)}-${UNIQUEID}.gsm,b)

Eric

On Mon, 2007-06-18 at 23:10 +0500, Asif Raza wrote:
> hi,
> I am facing some issues while using MixMonitor. My
> extensions logic is attached below:
> 
> exten => s,1,MixMonitor(${CALLERID(number)}-${TIMESTAMP}-${UNIQUEID}.gsm,b)
> 
> in this extensions TIMESTAMP is not working in Asterisk 1.4. can any
> help me why TIMESTAMP is not working in Asterisk 1.4.
> 
> regards,
> Asif
> 
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
Eric Lubow
LinkExperts, Inc.
Systems Administrator
e: elubow at linkexperts.com
w: www.linkexperts.com




More information about the asterisk-users mailing list