I want to connect an Incoming call to an already established call using RE-INVITES.
Basically, here is what I want to achieve: CALL1: ----- USER1 ----> INVITE (SDP-1) ----> SIPXTAPI USER1 <---- TRYING <---- SIPXTAPI USER1 <---- OK (SDP-S) <---- SIPXTAPI USER1 ----> ACK ----> SIPXTAPI CALL2: ----- USER2 ----> INVITE (SDP-2) ----> SIPXTAPI USER2 <---- TRYING <---- SIPXTAPI USER1 <---- INVITE (SDP-2) <---- SIPXTAPI (RE-INVITE occurs here) USER1 ----> OK (SDP-1) ----> SIPXTAPI (SDP-1 might be changed here) USER2 <---- OK (SDP-1) <---- SIPXTAPI USER2 ----> ACK ----> SIPXTAPI USER1 <---- ACK <---- SIPXTAPI USER1 and USER2 should then be connected. USER1 is RE-INVITEd with SDP-2 of USER2 SIPXTAPI sends the SDP-1 of USER1 to USER2 in the OK reply. This should work. I have already seen this implemented on other SIP stacks. However, I have been thinking on how to implement this with SIPXTAPI for more than a month, and I still don't have a clue... I thought about using the line manager to save that next CALL on line X should be connected to active call Y I thought about using meta events, but I have seen they have been removed from latest builds. Where would you start from if you had to do this ? It would be really nice if someone could put me on track. Thanks, stipus _______________________________________________ sipxtapi-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
