~ubuntu-branches/debian/sid/kamailio/sid

« back to all changes in this revision

Viewing changes to modules/msrp/msrp_mod.c

  • Committer: Package Import Robot
  • Author(s): Victor Seva
  • Date: 2014-01-06 11:47:13 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20140106114713-t8xidp4arzrnyeya
Tags: 4.1.1-1
* New upstream release
* debian/patches:
  - add upstream fixes
* Added tls outbound websocket autheph dnssec modules
  - openssl exception added to their license
* removing sparc and ia64 from supported archs
  for mono module (Closes: #728915)

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
int msrp_auth_max_expires = 3600;
70
70
int msrp_timer_interval = 60;
71
71
str msrp_use_path_addr = { 0 };
 
72
int msrp_tls_module_loaded = 0;
72
73
 
73
74
static int msrp_frame_received(void *data);
74
75
sip_msg_t *msrp_fake_sipmsg(msrp_frame_t *mf);
165
166
                        msrp_timer_interval = 60;
166
167
                register_sync_timers(1);
167
168
        }
 
169
 
168
170
        sr_event_register_cb(SREV_TCP_MSRP_FRAME, msrp_frame_received);
 
171
 
 
172
        if(!module_loaded("tls")) {
 
173
                LM_WARN("\"tls\" module is not loaded. TLS is mandatory for"
 
174
                        " MSRP Relays. To comply with RFC 4976 you must use"
 
175
                        "  TLS.\n");
 
176
        } else {
 
177
                msrp_tls_module_loaded = 1;
 
178
        }
 
179
 
169
180
        return 0;
170
181
}
171
182