<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Let's see,</div><div><br></div><div>What I want is to have one script usable for any possible scenario. What you say is right, you may invite someone either to show your own desktop or to access their desktop. This is a parameter to the outbound session request, still same script can be used for all scenarios with minim modification and maximum simplicity.</div><div><br></div><div>Let's add an option:</div><div><br></div><div>--desktop [local | remote] default remote</div><div><br></div><div>if is set to remote then we ask the remote party to share it desktop to us, if set to local we ask the remote party to see our desktop.</div><div><br></div><div>About the password, this can be used always as extra security without impact upon the sip client design.</div><div> </div><div>Adrian</div><div><br></div><div><br></div><br><div><div>On Jan 25, 2009, at 4:08 PM, Michiel Leenaars wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>-----BEGIN PGP SIGNED MESSAGE-----<br>Hash: SHA1<br><br>Hi Adrian, Willem,<br><br>| For the same of simplicity I imagine having a single<br>| 'sip_desktop_sharing' command line tool. When you call it without an URI<br>| argument, it REGISTERs and waits for an incoming INVITE. If you start it<br>| with an URI you start an INVITE session to it.<br><br>I haven't gotten the script to work * , but there is different<br>functionality, it looks to me. There are three scenario's I see:<br><br>- - Anne wants to send her desktop to Bob<br><br>~  > sip_desktop_sharing <a href="mailto:bob@host.com">bob@host.com</a><br><br>- - Anne want to retrieve the desktop from Bob<br><br>~  > sip_desktop_sharing --request <a href="mailto:bob@host.com">bob@host.com</a><br><br>- - Anne wants John at the service desk to be able to request her desktop<br>~  whenever he wants (but not Bob, her ex-boy friend).<br><br>~  > sip_desktop_sharing --password crazy765 --auto <a href="mailto:john@host.com">john@host.com</a><br><br>I don't think setting up a desktop session without a password for<br>anybody that requests it, will pass the test of time.<br><br>Best,<br>Michiel<br><br>* = I get an error:<br><br>./sip_im_session<br>Accounts available: 'BF', default<br>Using default account: <a href="mailto:michiel@isoc.nl">michiel@isoc.nl</a><br>Resolved DNS SRV record "_sip._udp.isoc.nl" --> sip.dns-hosting.info:5060<br>Resolved DNS A record "sip.dns-hosting.info" --> 81.23.228.129,<br>85.17.186.7, 81.23.228.150<br>Traceback (most recent call last):<br>~  File "./sip_im_session", line 711, in <module><br>~    main()<br>~  File "./sip_im_session", line 706, in main<br>~    sys.exit(str(e))<br>UnboundLocalError: local variable 'e' referenced before assignment<br>-----BEGIN PGP SIGNATURE-----<br>Version: GnuPG v2.0.9 (FreeBSD)<br><br>iEYEARECAAYFAkl8gFUACgkQPPKB2FVlk1/WXQCfeRq7nznE8IEowqOEXgbRqEFi<br>e5oAoIsQ4kbqeoRJ8+bf5HQa2LhSLu+6<br>=CVKi<br>-----END PGP SIGNATURE-----<br><br></div></blockquote></div><br></body></html>