Hi Patrick,
yes, the nathelper module has the capability to deal with SDP negotiation via 200 OK / ACK by using the "s" flag, as Mario pointed out.
Regards, Bogdan
Patrick Miccio wrote:
Hey,
your log shows the "lookup" from the 200 OK coming from the UAS, and the "request" from the ACK coming from the UAC, its the same here :(
and yeah force_rtp_proxy only works with nathelper/rtpproxy.
cheers,
Patrick.
Thanks,
I've been checking the proxydispatcher log and what I see is: lookup 5ecf1d19b23bdea6@xxx.xxx.10.11mailto:5ecf1d19b23bdea6@xxx.xxx.10.11 192.168.1.131:3918http://192.168.1.131:3918:audio,192.168.1.131:13598http://192.168.1.131:13598:video 87.220.61.76http://87.220.61.76 xxx.xxx.10.11 remote xxx.xxx.10.13 unknown UtoPIA=20TNO/Sceneware info=from:test@xxx.xxx.10.11mailto:from:test@xxx.xxx.10.11,to:img2@xxx.xxx.10.13mailto:to:img2@xxx.xxx.10.13,fromtag:b61e31363043b636,totag:98af7baa
request 5ecf1d19b23bdea6@xxx.xxx.10.11mailto:5ecf1d19b23bdea6@xxx.xxx.10.11 xxx.xxx.10.11:25968:audio,xxx.xxx.10.11:25970:video xxx.xxx.10.11 xxx.xxx.10.11 remote xxx.220.61.76 remote TANDBERG/37=20(V3Beta0) info=from:test@xxx.xxx.10.11mailto:from:test@xxx.xxx.10.11,to:img2@xxx.xxx.10.13mailto:to:img2@xxx.xxx.10.13,fromtag:b61e31363043b636,totag:98af7baa
Regarding the force_rtp_proxy("s") should be used with RTP Proxy but no with MediaProxy? Am I right?
M
2008/1/24, Patrick Miccio <pmiccio@upcbroadband.commailto:pmiccio@upcbroadband.com>: Ok,
as far as I understood everything correctly the mediaproxy module seems to be the problem.
mediaproxy.c contains the following code:
if (msg->first_line.type == SIP_REQUEST) { request = True; } else if (msg->first_line.type == SIP_REPLY) { request = False; } else { return -1; }
that means that in a reply route "request" will always be "False" and use_media_proxy() will result in a lookup command, the proxydispatcher however expects a request command to create sessions according to mediaproxy/modules/dispatcher.py
The nathelper module from openser offers the force_rtp_proxy("s") command, a functionality that would be welcome in mediaproxy module unless you one could call the proxydispatcher from the nathelper module.
If I got anything wrong please correct me.
cheers,
Patrick.