[OpenSIPS-Users] Get IP/Port of registered user (or from Location table?)

Liviu Chircu liviu at opensips.org
Sun Nov 17 01:09:31 CET 2013

On 15.11.2013 21:38, bluerain wrote:
> What is the "@ip"?  is that the IP of the "domain" field in the subscriber
> table, or the IP in the "contact" field of the location table?
"contact" field of the location table.
> So, do I put the entire line in the $var(aor) or I have to search for the
> ";" and then truncate and manipulate the "contact" field to just
> "sip:FRANK101 at"  and then put it in the variable?
Any extra parameters should be simply ignored by OpenSIPS.
> And sorry, lastly, just a side question regarding the location table, why is
> it sometime I would see all my data in the "location" table disappear, but
> when I do a "opensipsctl ul show --brief" I do see all the AOR entry and
> that all the device are registered with OpenSIP.  And then even if I do a
> "opensipsctl fifo ul_flush"  it still does not update the mysql database.
First of all, "opensipsctl ul show" does not do any DB queries! If 
"ul_flush" fails, what sort of errors do you see in the OpenSIPS logs? 
(regardless of DB engine)

Best regards,

Liviu Chircu
OpenSIPS Developer

More information about the Users mailing list