Loading codec/c++/sip_codets.cpp +14 −0 Original line number Diff line number Diff line Loading @@ -3899,4 +3899,18 @@ void MessageBody::PreEncode (Buffer& buffer) throw (EncodeError) } } void SessionExpires::PreDecodeField (int id, Buffer& buffer) throw (DecodeError) { //std::cout << "SessionExpires::PreDecodeField: " << id << std::endl; static Regex reg_semicolon ("^" SIPREG_SEMI); if (id == id_seParam) { if(reg_semicolon.Match(buffer)) { SetHypFieldIsPresent (id, 1); } else { SetHypFieldIsPresent (id, 0); } } } }} // namespaces Loading
codec/c++/sip_codets.cpp +14 −0 Original line number Diff line number Diff line Loading @@ -3899,4 +3899,18 @@ void MessageBody::PreEncode (Buffer& buffer) throw (EncodeError) } } void SessionExpires::PreDecodeField (int id, Buffer& buffer) throw (DecodeError) { //std::cout << "SessionExpires::PreDecodeField: " << id << std::endl; static Regex reg_semicolon ("^" SIPREG_SEMI); if (id == id_seParam) { if(reg_semicolon.Match(buffer)) { SetHypFieldIsPresent (id, 1); } else { SetHypFieldIsPresent (id, 0); } } } }} // namespaces