[asterisk-dev] ast_channel_masquerade fails

dmb montejodaniel at hotmail.com
Fri Nov 10 04:02:25 MST 2006


Hello,
I'm testing Asterisk 1.4 Beta 3 and i find the next problem in the next
scenario:

- An incoming call from zap is delivered to a SIP1 trough a queue where an
agent is logged in dynamically. --> this generate the channel 1 (in zap) and
channel 2 (in SIP1)
- The SIP1 make a consultation call (using manager originate) to another
SIP2. --> this generate two new channels: channel 3 in SIP1 and channel 4 in
SIP2. Channel 1 is in hold state after the consultation
- I use ast_channel_masquerade( channel 2, channel 4).
  * With asterisk 1.2.7.1 that instruction hangup channel 2 and transfer
channel 4. The result was that ZAP was talking with SIP2.
  * With asterisk 1.4 beta 3 that instruction hangup channel 4 and if I
touch the sip phone to retrieve the held call is produced a CORE in
asterisk.


Any idea?

Thank you




More information about the asterisk-dev mailing list