< Previous by Date | Date Index | Next by Date > |
Thread Index | Next in Thread > |
I have the following Contact header:
Contact: <sip:1000@xxxxxxxxxxx:5060>;video;audio
I need to test whether the “video” and “audio” parameters are present.
How do I do this with resiprocate API?
The Resip Overview document describes how to get the individual contacts via:
for (NameAddrs::const_iterator i = msg->header(h_Contacts).begin(); i != msg->header(h_Contacts.end(); ++i){
const NameAddr& na = *i;
...;
But, how do I get parameters from the Contact line?
TIA!