> Am 04.02.2026 um 14:12 schrieb Ihor Olkhovskyi via sr-users > <[email protected]>: > > Can you please share the initial packet? Cause leading space is also > something I've seen before. > And what is restore mode? > > modparam("uac","restore_mode","???“)
What’s interesting is: The leading space only appears if I use the remove_hf/append_hf approach. It doesn’t appear if I use uac_replace_to. The restore_mode is left on default (auto). Initial packet: — snip — INVITE sip:[email protected]:5060 SIP/2.0 Via: SIP/2.0/UDP 1.2.3.4:5060;branch=z9hG4bK-95136-1-3;origin=2.3.4.5 Max-Forwards: 69 Contact: <sip:[email protected]:5060;transport=udp> To: sip:[email protected]:5060 From: <sip:[email protected]:5060>;tag=95136SIPpTag001 Call-ID: [email protected] CSeq: 2 INVITE Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE, UPDATE Proxy-Authorization: Digest username="+4923456789012",realm="example.com",uri="sip:3.4.5.6:5060",nonce="fjlsdflcjm",response="rbcwnhfdmd",algorithm=MD5 Content-Type: application/sdp Supported: replaces, timer User-Agent: Mitel XY P-Preferred-Identity: <sip:[email protected]:5060> Content-Length: 252 X-CID: [email protected] Route: <sip:[email protected]:5060;lr> v=0 o=- 2178418001 27164738186117121 IN IP4 1.2.3.4 s=- c=IN IP4 1.2.3.4 t=0 0 m=audio 6000 RTP/AVP 8 0 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=sendrecv a=ptime:20 — snap — __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected] To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender!
