mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-01 18:09:41 +00:00
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
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user