Hi Julien, Just a wild guess - maybe the mediaproxy does not work as you may invoke it (request and reply) for different calls (for request on UA_A call and for reply on UA_B calls) - afaik, both mediaproxy and rtpproxy use the callid in order to bridge the request and reply SDP ports....But because of B2BUA, you actually have 2 calls.
So, be sure you do both media setup steps on the same call (only on one side of the B2BUA). Regards, Bogdan Julien Chavanton wrote: > Humm, this does not work, as when the "200 OK" comes back from UA_B > there is a need to set media proxy and a second session is set on the > media proxy. > Any suggestion on how to handle this senario ? > > > ------------------------------------------------------------------------ > *From:* [email protected] on behalf of Julien Chavanton > *Sent:* Tue 19/01/2010 8:55 PM > *To:* OpenSIPS users mailling list; [email protected] > *Subject:* Re: [OpenSIPS-Users] media proxy - B2BUA(signaling only) > > > I found what was going on more in details, when the second call comes > in the RTP port is set as the correct one from the first call, > however, I issue another use_media_proxy() and a new port is set, I > guess I could ignore the use media proxy this time by validating if > the IP of the media proxy is already in SDP "m=audio x.x.x.x", I will > try this > > Opensip_A --invite--> B2B_UA > m=audio 52542 RTP/AVP 18 8 0 > > B2B_UA --invite--> Opensip_A > m=audio 52542 RTP/AVP 18 8 0 > > (use media proxy) > > Opensip_A --invite--> UA_B > m=audio 50506 RTP/AVP 18 8 0 > > > ------------------------------------------------------------------------ > *From:* [email protected] on behalf of Julien Chavanton > *Sent:* Tue 19/01/2010 6:43 PM > *To:* [email protected] > *Subject:* [OpenSIPS-Users] media proxy - B2BUA(signaling only) > > Hi, > > I have this senario : > > UA_A --> Opensip_A --> SIP_B2BUA(signaling only) --> Opensip_A --> UA_B > > this result is 2 calls(different callid) on Opensip_A however UA_A and > UA_B are connecting the the MediaProxy on 2 differents calls and the > audio is not bridged between them. > > It there a way the make the media proxy aware about the fact that the > 2 calls should be bridged ? > > > ------------------------------------------------------------------------ > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > -- Bogdan-Andrei Iancu www.voice-system.ro _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
