[OpenSIPS-Users] mid_registrar

volga629 at networklab.ca volga629 at networklab.ca
Mon Feb 19 15:51:27 EST 2018

Hello Everyone,
I am back to test mid registrar and having issue with

modparam("mid_registrar", "contact_match_param", "regid")
I so comment this parmater is obsolote what correct way to set it, 
because opensips reject calls with 404 on location lookup. I see that 
contact header is replaced with CallerID and when freeswitch send reply 
it can't locate the cantact.
Original contact
root at casbc00 ~> [/etc/opensips]# opensipsctl ul show
Domain:: location table=512 records=2
	AOR:: 4300
		Contact:: sip:4300 at;transport=tcp Q=
			ContactID:: 1205768431484279123
			Expires:: 1478
			Callid:: 567846761-21414-1 at BJC.BGI.IJ.CCH
			Cseq:: 2027
			User-agent:: Grandstream GXP2140
			State:: CS_NEW
			Flags:: 0
			Socket:: tcp:
			Methods:: 6015

Feb 19 15:45:20 casbc00 /usr/sbin/opensips[2049]: looking up 
[sip:1205768431484279123 at]
Feb 19 15:45:20 casbc00 /usr/sbin/opensips[2049]: 
ERROR:mid_registrar:mid_reg_lookup: no record found for 
sip:1205768431484279123 at, ci: 
Github report https://github.com/OpenSIPS/opensips/issues/1111

More information about the Users mailing list