[asterisk-commits] qwell: branch qwell/fun_with_transports r384985 - /team/qwell/fun_with_transp...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Apr 8 12:56:36 CDT 2013


Author: qwell
Date: Mon Apr  8 12:56:32 2013
New Revision: 384985

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=384985
Log:
Don't fail if transport type is ws or wss.

Modified:
    team/qwell/fun_with_transports/res/res_sip/config_transport.c

Modified: team/qwell/fun_with_transports/res/res_sip/config_transport.c
URL: http://svnview.digium.com/svn/asterisk/team/qwell/fun_with_transports/res/res_sip/config_transport.c?view=diff&rev=384985&r1=384984&r2=384985
==============================================================================
--- team/qwell/fun_with_transports/res/res_sip/config_transport.c (original)
+++ team/qwell/fun_with_transports/res/res_sip/config_transport.c Mon Apr  8 12:56:32 2013
@@ -145,6 +145,8 @@
 		transport->tls.password = pj_str((char*)transport->password);
 
 		res = pjsip_tls_transport_start2(ast_sip_get_pjsip_endpoint(), &transport->tls, &transport->host, NULL, transport->async_operations, &transport->state->factory);
+	} else if (transport->type == AST_SIP_TRANSPORT_WS || transport->type == AST_SIP_TRANSPORT_WSS) {
+		res = PJ_SUCCESS;
 	}
 
 	if (res != PJ_SUCCESS) {




More information about the asterisk-commits mailing list