so I get this working. Since the remote PBX doesn't have the capability to handle REFER messages, it initiates another call in the form of INVITE. with that being said, a new call-id is generated thus Avaya thinks it is another call and creates a new UCID. to fix this problem, I introduced an SBC in-between and let it handle REFER calls.