| 420 | } |
| 421 | |
| 422 | string SipMessage::smGetRand401() |
| 423 | { |
| 424 | SipParamList params; |
| 425 | string authenticate = this->msmHeaders.paramFind("www-authenticate"); |
| 426 | if (authenticate.size() == 0) return ""; |
| 427 | parseAuthenticate(authenticate, params); |
| 428 | return params.paramFind("nonce"); |
| 429 | } |
| 430 | |
| 431 | |
| 432 |
no test coverage detected