[asterisk-dev] ast_channel_masquerade fails

Olle E Johansson oej at edvina.net
Fri Nov 10 07:17:29 MST 2006


10 nov 2006 kl. 12.02 skrev dmb:

> 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.

Seems like a bug. Producing a CORE file is not, believe it or not, a
feature of Asterisk (unless you are using trunk, of course).
Add to existing bug report or open new if it does not exist. THanks.

/O


More information about the asterisk-dev mailing list