[OpenSIPS-Users] remove function not working for specific contact
jayesh1017 at gmail.com
Tue Nov 10 14:29:14 CET 2015
Forgot to mention. I'm using version 2.1.
On Tue, Nov 10, 2015 at 6:01 PM Jayesh Nambiar <jayesh1017 at gmail.com> wrote:
> I've been trying to delete specific contact for AOR using the remove
> function in the registrar module, but somehow it doesn't remove it from the
> My db_mode is 0 as I only want to store it in opensips memory. I hav the
> "use_domain" param as 1. On register, the contact gets stored in the
> following format:
> sip:579e08000 at 18.104.22.168:49612
> I tried multiple ways to remove this:
> 1) remove("location", "sip:579e08000 at abc.com",
> "sip:579e08000 at 22.214.171.124:49612
> 2) remove("location", "sip:579e08000 at abc.com", "
> sip:579e08000 at 126.96.36.199:49612")
> Also, I'd like to mention that I have an edge proxy in the middle who
> proxies the REGISTER to this Registrar and I use the PATH module to route
> back reliably. I'm essentially trying to remove location entry for
> particular endpoints based on some conditions.
> Any help is appreciated. Thanks,
> - Jayesh
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users