Hello ,
On Mon, Sep 14, 2020 at 4:16 AM Alex Balashov
wrote:
> Hi,
>
> On 2020-09-11 08:19, sagar malam wrote:
>
> > Hello ,
> > I am using the usrloc module to store registrations. I could not find
> > any way to remove stale registrations before expires time. Most of the
> > registrations are
Hi,
On 2020-09-11 08:19, sagar malam wrote:
Hello ,
I am using the usrloc module to store registrations. I could not find
any way to remove stale registrations before expires time. Most of the
registrations are mobile app so they wont run in background to save
battery of phone hence we end u
On Fri, Sep 11, 2020 at 11:06 PM David Villasmil <
david.villasmil.w...@gmail.com> wrote:
> Why not just expire them quickly?
>
This may work but it will increase rate of registrations and put load on
server.
>
> On Fri, 11 Sep 2020 at 17:25, sagar malam wrote:
>
>> Hello Juha,
>>
>> baresip app
There was mistake in Json syntax but it does not work with kamcmd as well :
[root@SBC-4-2 kamailio]# kamcmd ul.rm_contact location
30...@jeff.sip.teledge.com "sip:30001@43.228.229.106:38048
;x-nat=yes;pv-ip=10.212.134.171;pb-ip=43.228.229.106;pb-pt=38048;transport=tcp"
error: 404 - Contact not fou
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":"
> 30...@x.com
> <30...@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=
sagar malam writes:
> I am using the usrloc module to store registrations. I could not find any
> way to remove stale registrations before expires time. Most of the
> registrations are mobile app so they wont run in background to save battery
> of phone hence we end up having lots of registrations
Why not just expire them quickly?
On Fri, 11 Sep 2020 at 17:25, sagar malam wrote:
> Hello Juha,
>
> baresip app is interesting. I will look at it.
>
> 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":
Hello Juha,
baresip app is interesting. I will look at it.
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":"
30...@x.com
<30...@jeff.sip.teledge.com>","2":"sip:30001@X.X.X.X:43108;x-nat=yes;pv-ip=10.21
Hello ,
I am using the usrloc module to store registrations. I could not find any
way to remove stale registrations before expires time. Most of the
registrations are mobile app so they wont run in background to save battery
of phone hence we end up having lots of registrations in usrloc which were