From: <kak...@us...> - 2009-02-04 19:28:05
|
Revision: 10936 http://amsn.svn.sourceforge.net/amsn/?rev=10936&view=rev Author: kakaroto Date: 2009-02-04 19:28:01 +0000 (Wed, 04 Feb 2009) Log Message: ----------- Only use tunneled SIP if we are using MSNP16+, otherwise, the UUN command isn't supported by the server, and we'll get disconnected if we try to send it Modified Paths: -------------- trunk/amsn/sip.tcl Modified: trunk/amsn/sip.tcl =================================================================== --- trunk/amsn/sip.tcl 2009-02-04 01:15:15 UTC (rev 10935) +++ trunk/amsn/sip.tcl 2009-02-04 19:28:01 UTC (rev 10936) @@ -2090,7 +2090,8 @@ # Signal the UI ::amsn::SIPCallYouAreBusy $email return "BUSY" - } elseif {[::abook::getContactData $email clientid] & [expr 0x200000]} { + } elseif {[::config::getKey protocol] >= 16 && + [::abook::getContactData $email clientid] & [expr 0x200000]} { status_log "Sending Tunneled SIP invite to $email" set sock [TunneledSIPSocket create %AUTO% -destination $email] set sip [SIPConnection create %AUTO% -user [::config::getKey login] -tunneled 1 -socket $sock] This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |