[OpenSIPS-Users] Mid-Registrar REGISTER with Auth header

Slava Bendersky volga629 at networklab.ca
Tue Feb 12 20:50:33 EST 2019


Hello Everyone, 
When REGISTER with Auth header ( registration update ) is send out contact header is not rewritten. Is this normal behavior ? 
Mid-Registrar is operation mode 2 



#### REGISTRAR module 
loadmodule "mid_registrar.so" 
modparam("mid_registrar", "mode", 2) 
modparam("mid_registrar", "received_avp", "$avp(RECEIVED)") 
modparam("mid_registrar", "max_contacts", 10) 
modparam("mid_registrar", "tcp_persistent_flag", "TCP_PERSIST_REGISTRATIONS") 
modparam("mid_registrar", "outgoing_expires", 7200) 








2019/02/12 20:05:47.343433 10.30.100.41:5060 -> 10.30.100.49:5160 
REGISTER sip:domain.com:5160 SIP/2.0 
Via: SIP/2.0/UDP 10.30.100.41:5060;branch=z9hG4bKdc87.52e497f3.0;i=6d42cd15 
Via: SIP/2.0/TLS 192.168.1.58:5070;received=186.146.92.92;branch=z9hG4bK687754333;rport=48658;alias 
Route: <sip:sbc1.colpbx.com:5081;lr> 
From: <sip:106 at domain.com:5160>;tag=1228599454 
To: <sip:106 at domain.com:5160> 
Call-ID: 943618234-5070-1 at BJC.BGI.B.FI 
CSeq: 2004 REGISTER 
Contact: <sip:106 at 192.168.1.58:5070;transport=tls>;reg-id=6;+sip.instance="<urn:uuid:00000000-0000-1000-8000-000B82E179C7>" 
Authorization: Digest username="106", realm="domain.com", nonce="0f668738-a4cd-4ede-9767-51439035aad0", uri="sip:domain.com:5160", response="27d5335eb36c0f0c 
6c6d62c6f564fe", algorithm=MD5, cnonce="01204462", qop=auth, nc=00000004 
X-Grandstream-PBX: true 
Max-Forwards: 69 
User-Agent: Grandstream GXP2160 1.0.9.127 
Expires: 180 
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE 
Content-Length: 0 
Supported: path 
Path: <sip:106 at 10.30.100.41:5060;transport=udp> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190212/69b337a7/attachment.html>


More information about the Users mailing list