From b90bba7a303bf57c3c874a1c8f506d39d4e78a9c Mon Sep 17 00:00:00 2001 From: Jonathan Rose Date: Fri, 17 May 2013 17:36:10 +0000 Subject: Stasis: Update security events to use Stasis Also moves ACL messages to the security topic and gets rid of the ACL topic (closes issue ASTERISK-21103) Reported by: Matt Jordan Review: https://reviewboard.asterisk.org/r/2496/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@388975 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- res/res_sip_outbound_registration.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'res/res_sip_outbound_registration.c') diff --git a/res/res_sip_outbound_registration.c b/res/res_sip_outbound_registration.c index 2ef92cdc0..f33370146 100644 --- a/res/res_sip_outbound_registration.c +++ b/res/res_sip_outbound_registration.c @@ -539,10 +539,10 @@ static int sip_outbound_registration_apply(const struct ast_sorcery *sorcery, vo return -1; } - if (transport->type == AST_SIP_TRANSPORT_UDP) { + if (transport->type == AST_TRANSPORT_UDP) { selector.type = PJSIP_TPSELECTOR_TRANSPORT; selector.u.transport = transport->state->transport; - } else if (transport->type == AST_SIP_TRANSPORT_TCP || transport->type == AST_SIP_TRANSPORT_TLS) { + } else if (transport->type == AST_TRANSPORT_TCP || transport->type == AST_TRANSPORT_TLS) { selector.type = PJSIP_TPSELECTOR_LISTENER; selector.u.listener = transport->state->factory; } else { -- cgit v1.2.3