[Asterisk-Dev] Retrieving multiple contact headers

Kevin P. Fleming kpfleming at digium.com
Tue Apr 19 18:17:05 MST 2005


Eric Liedtke wrote:

> I guess my question is, is there an equivalent to get_header() in
> chan_sip that would return all the Contact headers , and if not what
> would be the recommended way to extract those ?

No, there is not currently any support for multiple appearances of the 
same header in the fashion you are looking for. To do what you need, you 
will need to loop through the headers finding all the ones you care about.



More information about the asterisk-dev mailing list