<div dir="ltr">Hi;<div>I'm using the received parameter to send a MESSAGE to unregsiter the first user that is registered to register the second one.</div><div>Using: </div><div><b>modparam("usrloc", "received_column"</b></div><div><b>modparam("registrar|nathelper", "received_avp",<br></b></div><div><b><br></b></div><div>and when I do a:</div><div>select received from location;<br></div><div>as you can see is null.</div><div>+----------+<br>| received |<br>+----------+<br>| NULL     |<br>+----------+<br></div><div><br></div><div>In IPV4 is working fine, but in IPV6 is not. Can you tell me how can I get this value?</div><div>Im going crazy with that.</div><div><br></div><div>                reg_fetch_contacts("location", "$fu", "existingContact");<br>                if( $(ulc(existingContact=>user_agent)[0]) =~ "SPI/v"){<br>                        $var(oldDeviceId) = $(ulc(existingContact=>callid)[0]{s.substr,9,0});<br>                        $var(newDeviceId) = $(hdr(Call-ID){s.substr,9,0});<br>                        if($var(oldDeviceId) !=  $var(newDeviceId) ){<br>                                xlog("L_INFO","New device id is different:warn previous user another user overide him");<br>                                $var(address) = $(ulc(existingContact=><b>received</b>)[0]);<br>                                $var(ruri) = $(var(address){s.substr,4,0});<br>                                #Send a SIP Request signalling the problem and its reason on the body<br>                                $uac_req(method)="MESSAGE";<br>                                $uac_req(ruri) = "sip:"+ $au + "@" + $var(ruri);<br>                                $uac_req(furi) = "sip:kamailio@sip_domain";<br>                                $uac_req(turi) = $fu;<br>                                $uac_req(hdrs)="Max-Forwards: 70\r\nEvent: reg\r\nContent-Type: text/plain\r\nAccept-Contact:*;+g.ext.app.registration\r\n";<br>                                $uac_req(body)="Already registered with another device id";<br>                                uac_req_send();<br>                                drop;<br>                                }<br>                        }<br></div><div><br></div><div><br></div><div>Thank you.</div><div><br></div><div><br></div></div>