Hi all, i am trying to realize a TCP/UDP gateway, using Opensips 1.8.1, to connect a IPPBX to Lync Server 2010.
IPPBX<-------(Trunk SIP)------->OPENSIPS<-------(Trunk SIP)------->LYNC Ip pbx does not support TCP protocol and Lync does support only TCP and TLS so i need a proxy to do this job. For now calls can go in both direction but problem comes when from Lync side i try to put on hold the call. Lync, for putting on hold, send a new INVITE with a=inactive in SDP body. IP Pbx does not support/understand this parameter and call can't go on hold. Ip PBX replies to this INVITE whit a 200 OK with a=sendrecv in SDP. What I thought is using " if (status== 200) " then rewrite SDP body from a=sendrecv ( PBX Side ) to a=inactive so that Lync can understand it and call goes on hold. The problem is when Lync user wants to retrive call. Lync send again another INVITE, with a=sendrecv, IP PBX then reply with 200 OK and a=sendrecv BUT ( here is the problem ) Opensips code ( that i used before ) rewrite again 200 OK message changing a=sendrecv to a=inactive and RTP flow does not start ( as aspected ). Does anyone have some good idea to solve this problem? Any ideas? Hope I explained in a clear manner :-) Thanks to all -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Need-Hint-for-Opensips-as-UDP-TCP-Proxy-tp7582137.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
