[asterisk-commits] qwell: branch qwell/fun_with_transports r388523 - /team/qwell/fun_with_transp...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon May 13 11:25:21 CDT 2013
Author: qwell
Date: Mon May 13 11:25:19 2013
New Revision: 388523
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=388523
Log:
Fix pjsip_module usage.
Modified:
team/qwell/fun_with_transports/res/res_sip_transport_websocket.c
Modified: team/qwell/fun_with_transports/res/res_sip_transport_websocket.c
URL: http://svnview.digium.com/svn/asterisk/team/qwell/fun_with_transports/res/res_sip_transport_websocket.c?view=diff&rev=388523&r1=388522&r2=388523
==============================================================================
--- team/qwell/fun_with_transports/res/res_sip_transport_websocket.c (original)
+++ team/qwell/fun_with_transports/res/res_sip_transport_websocket.c Mon May 13 11:25:19 2013
@@ -347,7 +347,7 @@
if (!(ct = ast_sip_location_retrieve_contact_transport_by_uri(contact_uri))) {
if (!(ct = contact_transport_alloc())) {
- return PJ_TRUE;
+ return PJ_FALSE;
}
ast_string_field_set(ct, uri, contact_uri);
@@ -362,7 +362,8 @@
static pjsip_module websocket_module = {
.name = { "WebSocket Transport Module", 26 },
- .priority = 0,
+ .id = -1,
+ .priority = PJSIP_MOD_PRIORITY_TRANSPORT_LAYER,
.on_rx_request = websocket_on_rx_msg,
};
More information about the asterisk-commits
mailing list