<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face="Times New Roman" color=#0000ff size=4>Could someone find the
time to tell me whether ALL functions in Asterisk are programmed using scripts
and contexts ?</FONT></DIV>
<DIV><FONT face="Times New Roman" color=#0000ff size=4>What I need to find out
is whether the user CAN configure services for themselves.. Below, I chose
a sampling of a fresh question and answer (just as an example).</FONT></DIV>
<DIV><FONT face="Times New Roman" color=#0000ff size=4>In this example: Is it
not possible for each user to configure (say) the voicemail so that whenever
there's a message (data which probably affects the dialtone or a light on the
recipient phone), an action is taken.. A daemon could then check a database to
find out the action (dialout, sms message.. or whatever) and the target
number.</FONT></DIV>
<DIV><FONT face="Times New Roman" color=#0000ff size=4>I cannot imagine the size
of user installations (observed in user messages) being managed
centrally..</FONT></DIV>
<DIV><FONT face="Times New Roman" color=#0000ff size=4></FONT> </DIV>
<DIV><FONT face="Times New Roman" color=#0000ff size=4>I hope this is not too
much to ask, but all I need is a cryptic yes or no at this stage.</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=akohlsmith-asterisk@benshaw.com
href="mailto:akohlsmith-asterisk@benshaw.com">Andrew Kohlsmith</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=asterisk-users@lists.digium.com
href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Sunday, February 29, 2004
17:33</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Asterisk-Users] Dialing out
after caller leaves message</DIV>
<DIV><BR></DIV>> I cannot use Dial after the Voicemail application,
e.g.,<BR>><BR>> [Step 1] exten => 100, 1, Dial( SIP/100, 15
)<BR>> [Step 2] exten => 100, 2, Voicemail( u100 )<BR>> [Step
3] exten => 100, 3, Dial( Zap/g1/CELL_PHONE )<BR>><BR>> because
the caller will hang up after leaving the voice mail in Step 2<BR>> above,
and Asterisk will terminate the script, so Step 3 will get never<BR>> get
executed.<BR><BR>What about putting this in a special context and using
'h'?<BR><BR>i.e.<BR><BR>exten => 100, 1, Dial(SIP/100, 15)<BR>exten =>
100, 2, Voicemail(u100)<BR>exten =>
h,1,Dial(Zap/g1/CELL_PHONE)<BR><BR>? h will get executed on
hangup. The only caveat is that if no voicemail <BR>was left, you will
still get called. Is there some way to check if there <BR>are new
messages and use that in h along with the
Dial()?<BR><BR>Regards,<BR>Andrew<BR>_______________________________________________<BR>Asterisk-Users
mailing list<BR><A
href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</A><BR><A
href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</A><BR>To
UNSUBSCRIBE or update options visit:<BR> <A
href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</A></BLOCKQUOTE></BODY></HTML>