[Asterisk-Users] Re: Asterisk-Users digest, Vol 1 #2958 - 13 msgs

tad tad at media.mit.edu
Mon Mar 1 22:01:32 MST 2004


Ron -

your best bet will probably to launch an agi script at exten => h,1 that
initiates a new call using either a .call file or the manager interface.
there are several messages detailing how to use both options on the wiki
and in the archives.

good luck,
tad

 > --__--__--
>
> Message: 7
> From: "Rana Dutt" <rdutt at yahoo.com>
> To: <asterisk-users at lists.digium.com>
> Subject: RE: [Asterisk-Users] Dialing out after caller leaves message
> Date: Sun, 29 Feb 2004 23:55:57 -0500
> Reply-To: asterisk-users at lists.digium.com
>
> The following suggested sequence does not work:
>
> exten => 100, 1, Dial(SIP/100, 15)
> exten => 100, 2, Voicemail(u100)
> exten => h,1,Dial(Zap/g1/CELL_PHONE)
>
> The Dial command in the 3rd step will fail because the channel it uses to
> dial out on has hung up already! For example, if extension 101 leaves a
> message for ext. 100 and then hangs up, the first two steps above get
> executed, but after 101 hangs up, there is no "current channel" for Dial to
> use to place the call to the cell phone.
>
> Can anyone see a way to make Asterisk dial a new call on its own after the
> original caller has hung up? Do I need an AGI script to do this? Thanks,
>
> -Ron
>
>




More information about the asterisk-users mailing list