Hi, On 08/25/2010 09:28 AM, Dominique Broeglin wrote: > Hello, > > I'm sorry if this question was already asked. I could not find anything > related through google. > > I'm trying to understand the protocol used between OpenSIPS and the > media-proxy dispatcher. I got a trace with some examples but it's not > 100% clear for me. Do you have some alternate documentation on the > protocol except the source code ? My python is a little bit rusty. My > overall goal with this is to try to use MediaProxy as a media proxy for > a proxy implemented using SIP Servlets. It seems to me that the only > thing I have to do is implement the protocol and the proxy should be > able to use media proxy. >
You'll need to implement the 'update' and 'remove' commands, that is, the ones OpenSIPS uses to communicate with the dispatcher. Have a look at the send_command function in RelayFactory class on file mediaproxy/dispatcher.py. You can see how OpenSIPS uses this commands in the mediaproxy.c file from the OpenSIPS MediaProxy module. Regards, -- Saúl Ibarra Corretgé AG Projects _______________________________________________ Devel mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
