[Asterisk-Users] Re: Working with an ongoing call

Eivind Trondsen eivind at wingnut.no
Thu Jul 21 06:04:16 MST 2005


> > 1) send sound to the caller of an ongoing call
> > 2) retain control so the call can be terminated based on a timer (or
> > whatever)
> >
> > Any tips would be greatly appreciated! Thanks in advance.
>
> Use the manager API to terminate the call if their credit reaches zero,
> connect and process active channels on an regular basis (as needed), use
> the AGI to reduce the credit by the needed amount at the end of the call
> (from h extension, or g option to Dial).

Thanks Adam. This helps some, but I'm still not sure how you mean for me to 
acheive 1). I would have to perform a Dial-command no matter what, so I guess 
I would have to make an interruption from the manager API, but I don't manage 
to find a command that will acomplish that.

Regards
-- 
Eivind Trondsen

"People are destined to be party animals,
and the technology will follow"
                         - Linus Torvalds



More information about the asterisk-users mailing list