[asterisk-users] Asterisk Prompt

Tzafrir Cohen tzafrir.cohen at xorcom.com
Fri Aug 24 01:09:22 CDT 2007


On Thu, Aug 23, 2007 at 03:13:40PM -0700, bilal ghayyad wrote:
> Dear Mojo;
> 
> Thanks for your help.
> 
> Why you said export ASTERISK_PROMPT="new prompt >"?

To make that a new value for the environment variable. 
An alternative method is:

ASTERISK_PROMPT="new prompt >" asterisk -r

There are actually some special % values there:

ASTERISK_PROMPT='date(d): %d, h(hostname) : %h, H(short hostname): %H, l(load avg): %l, s(system name) %s, t(time): %t, literal: %% > ' rasterisk

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list