[asterisk-bugs] [JIRA] (ASTERISK-23625) Function needed to enumerate sip headers

cloos (JIRA) noreply at issues.asterisk.org
Sun Apr 13 11:13:18 CDT 2014


cloos created ASTERISK-23625:
--------------------------------

             Summary: Function needed to enumerate sip headers
                 Key: ASTERISK-23625
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23625
             Project: Asterisk
          Issue Type: Improvement
      Security Level: None
          Components: Channels/chan_sip/General
         Environment: any
            Reporter: cloos


The SIP_HEADER function grabs the content of arbitrary sip headers, but there is no way to know in advance what headers exist in the INVITE.

A function which returns a list of sip header names could be used with SIP_HEADER to grab the full INVITE header block.

This will be particularly useful for AGIs, for both logging and analysis purposes.

An alternative would be a function which returns the whole header blob as a single (multi-line) string.




--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list