Re: [Asterisk-java-users] Attended Transfer using Manager API
Brought to you by:
srt
From: Gaetan M. <gm...@ea...> - 2007-04-02 09:02:35
|
Hi, We managed to implement this using (well, abusing) the parking application. That way we have no meetme running for each attended call, the channels are always simply bridged. - We redirect the leg of the caller to the parking extension. The operator leg is then dropped and the caller has MOH. In return we get the parking position of the call. - We then call the other party, announce the call. - If he accepts the call, we redirect his current leg to the parking lot extension the call is parked at (and the operator leg is dropped once again). The other party gets the right tone just before the channels are bridged by the parking application. - If he refuses the call we redirect our own leg to the parking extension so we get the caller back. The only problem is that with the stock Park application, the caller is announced it's own parking lot extension so we made a tiny ast application, called "ParkSilent". That's just a copy&paste of the stock parking main function with second party channel set to null instead of the caller channel. This can be easily compiled against at least 1.2.9 - 1.2.16 without recompiling the whole asterisk (in fact it's even binary compatible as it links dynamically against the stock parking). Regards Gaetan Markus Floegel wrote: > I think such a Action in the Manager will be very good. > The workaround with the meetMe Application is not so fine, i think. > > Markus > > > > -----Ursprüngliche Nachricht----- > Von: ast...@li... [mailto:ast...@li...] Im Auftrag von Stefan Reuter > Gesendet: Freitag, 30. März 2007 10:25 > An: ast...@li... > Betreff: Re: [Asterisk-java-users] Attended Transfer using Manager API > > Markus Floegel wrote: > >> I implemented the same now im my project. >> But is there no way to use the internal 'attended transfer' from Asterisk? >> > > I've seen this question quite a few times now without any suitable answer. > Maybe its time to implement a Manager Action for this feature and submit > it as a patch to Asterisk? > Anybody want's to take this? > > I would be happy to support that new action in Asterisk-Java. > > =Stefan > > |