[asterisk-dev] Dialplan -- Which version of Asterisk is running me?

Matt Riddell (IT) matt.riddell at sineapps.com
Fri Oct 20 13:17:23 MST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Johansson Olle E wrote:
> 
> 20 okt 2006 kl. 05.14 skrev Steve Murphy:
> 
>> Today, I committed a VERSION() function into trunk.
>>
>> That will help you with trunk, 1.6 versions, and above, but
>> it won't help with 1.4 and previous Asterisks.
>>
> Maybe we should consider making it more generic, like pbx(version) so we
> could add other options
> like
> 
> -versionfull - full text version including svn repository, dates etc
> - version - only number
> - name - systemname (replace $SYSTEMNAME)

Wouldn't it make more sense to do VERSION(), VERSION(full),
VERSION(systemname)?

- --
Cheers,

Matt Riddell
_______________________________________________

http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://wap.sineapps.com (Daily Asterisk News for your cellphone)
http://feeds.feedburner.com/AsteriskNews (Daily Asterisk News - rss)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFOS7SS6d5vy0jeVcRAjDdAJ9eJTESk9tfkyhLa9Yp75p2QspSpQCdH/r1
ibAh00NE0/EHwgMF11WyjQg=
=NELt
-----END PGP SIGNATURE-----


More information about the asterisk-dev mailing list