Hi all,


I am trying to understand xml_cdr for an attended (consultative) transfer, I was thinking that the A-leg that initially
originated the call would remain untouched but I see that it's global tags get replaced.

I have a test call that goes as follows:

201 originates a call and talks to 203                 -----> A-leg(1) and B-leg(1)

203 puts 201 on hold and calls 202 (attended)     ------> A-leg(2) and B-leg(2)

203 transfers the call

201 and 202 are talking                                     ------> A-leg(1) w/ B-leg(2) ???

Here are the relevant captures:

A-leg(1)
http://pastebin.freeswitch.org/7253

B-leg(1)
 http://pastebin.freeswitch.org/7254

A-leg(2)
http://pastebin.freeswitch.org/7252

B-leg(2)
http://pastebin.freeswitch.org/7255

I was expecting A-leg(1) to have <variables> corresponding to 201 which is the original A-leg but it seems that on the transfer, it reverts and 202 appears as the A-leg and 201 as the B-leg.

Can someone shed some light on how that transfer gets logged in terms of A-leg and B-leg?

TIA