res_pjsip_header_funcs: Add functions PJSIP_RESPONSE_HEADER and PJSIP_RESPONSE_HEADERS

These new functions allow retrieving information from headers on 200 OK
INVITE response.

ASTERISK-29999

Change-Id: I264a610a9333359297a0825feb29a1bb4f4ad144
This commit is contained in:
Jose Lopes
2022-04-08 11:34:11 +01:00
committed by José Lopes
parent 51a79fd4fd
commit 043627f814
2 changed files with 247 additions and 12 deletions

View File

@@ -0,0 +1,5 @@
Subject: res_pjsip_header_funcs
Add function PJSIP_RESPONSE_HEADERS() to get list of header names from 200 response, in the same way as PJSIP_HEADERS() from the request.
Add function PJSIP_RESPONSE_HEADER() to read header from 200 response, in the same way as PJSIP_HEADER() from the request.