[SIP SIMPLE client] sip_desktop_sharing script
ag at ag-projects.com
Sun Jan 25 16:45:02 CET 2009
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.
Let's add an option:
--desktop [local | remote] default remote
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.
About the password, this can be used always as extra security without
impact upon the sip client design.
On Jan 25, 2009, at 4:08 PM, Michiel Leenaars wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Hi Adrian, Willem,
> | For the same of simplicity I imagine having a single
> | 'sip_desktop_sharing' command line tool. When you call it without
> an URI
> | argument, it REGISTERs and waits for an incoming INVITE. If you
> start it
> | with an URI you start an INVITE session to it.
> I haven't gotten the script to work * , but there is different
> functionality, it looks to me. There are three scenario's I see:
> - - Anne wants to send her desktop to Bob
> ~ > sip_desktop_sharing bob at host.com
> - - Anne want to retrieve the desktop from Bob
> ~ > sip_desktop_sharing --request bob at host.com
> - - Anne wants John at the service desk to be able to request her
> ~ whenever he wants (but not Bob, her ex-boy friend).
> ~ > sip_desktop_sharing --password crazy765 --auto john at host.com
> I don't think setting up a desktop session without a password for
> anybody that requests it, will pass the test of time.
> * = I get an error:
> Accounts available: 'BF', default
> Using default account: michiel at isoc.nl
> Resolved DNS SRV record "_sip._udp.isoc.nl" --> sip.dns-hosting.info:
> Resolved DNS A record "sip.dns-hosting.info" --> 18.104.22.168,
> 22.214.171.124, 126.96.36.199
> Traceback (most recent call last):
> ~ File "./sip_im_session", line 711, in <module>
> ~ main()
> ~ File "./sip_im_session", line 706, in main
> ~ sys.exit(str(e))
> UnboundLocalError: local variable 'e' referenced before assignment
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.9 (FreeBSD)
> -----END PGP SIGNATURE-----
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SIPBeyondVoIP