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(a)XXXXX.com
<30001@jeff.sip.teledge.com>","2":"sip:30001@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@domain). Yours does not look like it.
Use ul.dump to check.
-- Juha