Summary: | ASTERISK-23625: Function needed to enumerate sip headers | ||
Reporter: | cloos (cloos) | Labels: | |
Date Opened: | 2014-04-13 11:12:18 | Date Closed: | 2014-04-14 15:39:39 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Channels/chan_sip/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | any | Attachments: | |
Description: | 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. | ||
Comments: | By: Rusty Newton (rnewton) 2014-04-14 15:39:39.832-0500 That sounds useful. We welcome code contribution. You can find info about [feature requests|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines?src=search#AsteriskIssueGuidelines-Howtorequestafeature] and [patch submission|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process] on the wiki. I'm closing this issue out, as per the information linked above, we don't track feature requests without a patch unless you are currently working on the feature. Feel free to bring the feature up on the [developer list|http://lists.digium.com/mailman/listinfo/asterisk-dev] to drum up interest and see if someone wants to take it on. |