将 SIP 消息序列化为字节
(msg: &rsip::SipMessage)
| 23 | |
| 24 | /// 将 SIP 消息序列化为字节 |
| 25 | pub fn serialize_message(msg: &rsip::SipMessage) -> Vec<u8> { |
| 26 | msg.to_string().into_bytes() |
| 27 | } |
| 28 | |
| 29 | /// 从 SIP URI 中提取用户部分(分机号) |
| 30 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected