diff -rN -u old-sip_desktop_sharing-0.06/sip_desktop_sharing new-sip_desktop_sharing-0.06/sip_desktop_sharing
--- old-sip_desktop_sharing-0.06/sip_desktop_sharing	2009-01-28 16:18:18.000000000 +0600
+++ new-sip_desktop_sharing-0.06/sip_desktop_sharing	2009-01-28 16:18:18.000000000 +0600
@@ -6,7 +6,7 @@
 from eventlet.green.socket import gethostbyname
 
 from msrplib.connect import MSRPConnectFactory, MSRPAcceptFactory
-from msrplib.trafficlog import TrafficLogger, StateLogger
+from msrplib.trafficlog import TrafficLogger, StateLogger, hook_std_output
 from msrplib.protocol import URI
 
 from pypjua import Credentials, SDPSession, SDPConnection, SDPAttribute, SDPMedia
@@ -17,7 +17,7 @@
 #from pypjua.clients.config import parse_options
 from config import parse_options
 from pypjua.clients.msrpsession import MSRPSessionErrors, MSRPSession, IncomingMSRPHandler
-from pypjua.clients.cpim import MessageCPIMParser, parse_address
+from pypjua.clients.cpim import MessageCPIMParser, parse_cpim_address
 from twisted.internet.error import ConnectionClosed, ConnectionDone
 
 from vncviewer import vncviewer
@@ -26,6 +26,8 @@
 from time import time, strftime
 from os.path import expanduser # just for debugging
 
+hook_std_output()
+
 KEY_NEXT_SESSION = '\x0e' # Ctrl-N
 KEY_HANGUP       = '\x08' # Ctrl-H
 
@@ -269,7 +271,7 @@
             address = address.strip()
             if not address.endswith('>'):
                 address = '<%s>' % address
-            uri = parse_address(address)
+            uri = parse_cpim_address(address)
             auto_answers.add((uri.user, uri.host))
 
     local_uri = URI(use_tls=options.msrp_tls)

