| 398 | } |
| 399 | |
| 400 | void parseToParams(string stuff, SipParamList ¶ms) |
| 401 | { |
| 402 | SipParseLine parser(stuff.c_str()); |
| 403 | try { |
| 404 | do { |
| 405 | SipParam param; |
| 406 | if (! parser.scanGenericParam(param)) break; |
| 407 | params.push_back(param); |
| 408 | } while (parser.scanChar(',')); |
| 409 | } catch(SipParseError) { |
| 410 | // error was already logged. |
| 411 | LOG(DEBUG) << "Caught SIP Parse error"; |
| 412 | return; |
| 413 | } |
| 414 | } |
| 415 | |
| 416 | // This is only for www-authenticate, not for Authentication-Info |
| 417 | void parseAuthenticate(string stuff, SipParamList ¶ms) |
no test coverage detected