[asterisk-dev] chan_zap questions
Armin Schindler
armin at melware.de
Tue Jul 11 04:32:18 MST 2006
On Tue, 11 Jul 2006, Klaus Darilion wrote:
> Hi!
>
> I'm working on AOC-D passthrough. #7495
>
> When the call is bridged, passthrough works fine. But the problem is, that the
> first AOC-D message is received before the bridge is set up:
>
>
> leg1 Asterisk leg2
> ---SETUP----->|
> <-SETUP ACK---|
> | ---SETUP----->
> | <-SETUP ACK---
> .....
> | <--CONNECTED--
> | --CON ACK---->
> | <-FACILITY w/ AOC-D
> <-CONNECTED---|
>
> Thus my questions:
>
> 1. If I process the AOC-D of leg2 in chan_zap. How can I find the leg1?
> ast_bridged_call(...) does not work as the call is not yet bridged.
>
> 2. If I found leg1 - is it possibly to queue a message which will be forwarded
> as soon as leg1 gets into connected state?
Why are you doing it over the bridge? What if there is not bridge, e.g. with
different techs?
I think a defined indication via ast_indicate() (which is forwarded by
Asterisk even in app_dial()) would be more appropriate.
Armin
More information about the asterisk-dev
mailing list