[asterisk-dev] chan_zap questions

Klaus Darilion klaus.mailinglists at pernau.at
Tue Jul 11 02:59:11 MST 2006


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?

thanks
klaus



More information about the asterisk-dev mailing list