[Asterisk-Users] A General question
AR Tarzi
artarzi at batelco.com.bh
Sun Feb 29 08:15:44 MST 2004
Could someone find the time to tell me whether ALL functions in Asterisk are programmed using scripts and contexts ?
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).
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.
I cannot imagine the size of user installations (observed in user messages) being managed centrally..
I hope this is not too much to ask, but all I need is a cryptic yes or no at this stage.
----- Original Message -----
From: Andrew Kohlsmith
To: asterisk-users at lists.digium.com
Sent: Sunday, February 29, 2004 17:33
Subject: Re: [Asterisk-Users] Dialing out after caller leaves message
> I cannot use Dial after the Voicemail application, e.g.,
>
> [Step 1] exten => 100, 1, Dial( SIP/100, 15 )
> [Step 2] exten => 100, 2, Voicemail( u100 )
> [Step 3] exten => 100, 3, Dial( Zap/g1/CELL_PHONE )
>
> because the caller will hang up after leaving the voice mail in Step 2
> above, and Asterisk will terminate the script, so Step 3 will get never
> get executed.
What about putting this in a special context and using 'h'?
i.e.
exten => 100, 1, Dial(SIP/100, 15)
exten => 100, 2, Voicemail(u100)
exten => h,1,Dial(Zap/g1/CELL_PHONE)
? h will get executed on hangup. The only caveat is that if no voicemail
was left, you will still get called. Is there some way to check if there
are new messages and use that in h along with the Dial()?
Regards,
Andrew
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040229/f7a0d022/attachment.htm
More information about the asterisk-users
mailing list