[SR-Users] Is there any way to remove stale registrations before expires time from usrloc ?

Juha Heinanen jh at tutpro.com
Fri Sep 11 20:35:45 CEST 2020


sagar malam writes:

> I have tried ul_rm_contact but it is not working :
> curl POST --data
> '{"jsonrpc":"2.0","method":"ul.rm_contact","params":{"0":"location","1":"
> 30001 at XXXXX.com
> <30001 at jeff.sip.teledge.com>","2":"sip:30001 at X.X.X.X:43108;x-nat=yes;pv-ip=10.212.134.167;pb-ip=X.X.X.X;pb-pt=43108;transport=tcp"}}'
> -H "Content-Type: application/json" -X POST 10.50.7.14:5060/RPC2

Second param is AOR (username at domain).  Yours does not look like it.
Use ul.dump to check.

-- Juha



More information about the sr-users mailing list