[Asterisk-Dev] Variable manipulation in extensions.conf

oi geli oigeli2000 at yahoo.com
Wed Jun 2 18:07:25 MST 2004


Is it possible to convert a string to integer in
extensions.conf?

example:
exten => 100,1,setvar(starttime=${TIMESTAMP:-6} ; Last
6 digits of the Time Stamp HHMMSS

Now how do I convert variable starttime to an integer?

Thanks


	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 



More information about the asterisk-dev mailing list