diff options
author | Jonathan Rose <jrose@digium.com> | 2013-05-17 17:36:10 +0000 |
---|---|---|
committer | Jonathan Rose <jrose@digium.com> | 2013-05-17 17:36:10 +0000 |
commit | b90bba7a303bf57c3c874a1c8f506d39d4e78a9c (patch) | |
tree | 56e6ca0d885b1e9e11856a6be44b4b92582f5606 /res/res_sip.c | |
parent | 15945a7185187a3d79c7c7247a297bf92b49c139 (diff) |
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
Diffstat (limited to 'res/res_sip.c')
-rw-r--r-- | res/res_sip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/res/res_sip.c b/res/res_sip.c index 0aa167135..ac2e9279b 100644 --- a/res/res_sip.c +++ b/res/res_sip.c @@ -315,10 +315,10 @@ static int sip_get_tpselector_from_endpoint(const struct ast_sip_endpoint *endpo 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 { |