[asterisk-dev] AST_CONTROL_ANSWER doesn't get copied on bridge

Guillermo Winkler gwinkler at inconcertcc.com
Tue Apr 22 16:54:35 CDT 2008


Is there a particular reason for AST_CONTROL_ANSWER not being copied on
ast_bridge_call?

 

I'm having some problems with a client phone (iax) because of the state
change behind two bridges (a RING gets copied but not the answer right after
it)

 

This is the code in 1.4 where the copying occurs:

 

                               /* many things should be sent to the 'other'
channel */

                               other = (who == chan) ? peer : chan;

                               if (f->frametype == AST_FRAME_CONTROL) {

                                               switch (f->subclass) {

                                               case AST_CONTROL_RINGING:

                                               case AST_CONTROL_FLASH:

                                               case -1:

 
ast_indicate(other, f->subclass);

                                                               break;

 

 

Really can't grasp if copying an ANSWER there could be potentially
dangerous?

 

Thanks,

Guille



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20080422/00378ade/attachment.htm 


More information about the asterisk-dev mailing list