Hi Ruud,<br><br>You are right! I had the SDP negotiation setup wrongly. Attached I have a new version of the scripts which are successfully using the media line:<br><br><span style="font-family: courier new,monospace;">m=application <port> TCP/TLS/MSRP/RFB *</span><br>
<br>I've also fixed some exit conditions, so the vncserver and vncviewer are cleanly closed and killed when the session is ended.<br>Thanks,<br><br>Willem<br><br><div class="gmail_quote">2009/1/22 Ruud Klaver <span dir="ltr"><<a href="mailto:ruud@ag-projects.com">ruud@ag-projects.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Willem,<div><div></div><div class="Wj3C7c"><br>
<br>
On 20 Jan 2009, at 12:09, Willem Toorop wrote:<br>
<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">
Hi Ruud,<br>
<br>
Find attached two logs. One from the modified sip_im_session command and one from the sip_request_desktop command. I think the interesting part should be sip_im_session.log in between line 285 (where i accept the invitation) and line 317, where the SDP is sent back with a media line containing a zero as port number, but i can't see what.<br>

Cheers,<br>
<br>
Willem<br>
<br>
<br></div></div>
<sip_im_session.log><sip_request_desktop.log><br>
</blockquote>
<br>
PJSIP seems to consider that the SDP negotiation has succeeded. Are you sure you are setting the port to something other than 0 in your application? If it, it may be PJSIP doing that for some obscure reason. Also, could try not to have the IP set to 0.0.0.0 in the offer? This has special meaning in the context of SDP (ie. putting the stream on hold). Other than that, I can't really see what's wrong with your SDP.<br>

<br>
Also, if you pulled from the darcs repository lately, you may need to perform "sudo python setup.py build_ext --pjsip-clean-compile".<br><font color="#888888">
<br>
Ruud Klaver<br>
AG Projects<br>
</font></blockquote></div><br>