]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Add missing payload type to events API
authorMichael L. Young <elgueromexicano@gmail.com>
Fri, 20 Apr 2012 16:47:51 +0000 (16:47 +0000)
committerMichael L. Young <elgueromexicano@gmail.com>
Fri, 20 Apr 2012 16:47:51 +0000 (16:47 +0000)
The Security Events Framework API was changed while adding the generation of
security events in chan_sip.  A payload type and name was missed from being
added to struct ie_maps.

(closes issue ASTERISK-19759)
Reported by: Michael L. Young
Patches:
    issue-asterisk-19759.diff uploaded by Michael L. Young (license 5026)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@362918 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/event.c

index eb1924b06e4228c2ba8b3fc847e7270e9f10e1f9..96849fc236388548a75562cac5989cca0eca5e22 100644 (file)
@@ -267,6 +267,7 @@ static const struct ie_map {
        [AST_EVENT_IE_RECEIVED_CHALLENGE]  = { AST_EVENT_IE_PLTYPE_STR,  "ReceivedChallenge" },
        [AST_EVENT_IE_RECEIVED_HASH]       = { AST_EVENT_IE_PLTYPE_STR,  "ReceivedHash" },
        [AST_EVENT_IE_USING_PASSWORD]      = { AST_EVENT_IE_PLTYPE_UINT, "UsingPassword" },
+       [AST_EVENT_IE_ATTEMPTED_TRANSPORT] = { AST_EVENT_IE_PLTYPE_STR,  "AttemptedTransport" },
 
 };