[OpenSIPS-Users] usrloc events not triggering
Jeff Pyle
jpyle at fidelityvoice.com
Mon Nov 25 17:18:01 CET 2013
With a timer_interval of 30s I noticed the event trigger at 21 seconds
after the ul_show_contact MI command started showing 404. Clearly this has
some bearing. :)
This is great. Thanks for your help.
- Jeff
On Mon, Nov 25, 2013 at 11:08 AM, Jeff Pyle <jpyle at fidelityvoice.com> wrote:
> Răzvan,
>
> I had not. I thought it was strange that after several tests each one
> triggered at exactly 36 seconds. I haven't set a specific timer interval.
> I'll try it at 30 seconds to see if the behavior changes.
>
>
> - Jeff
>
>
>
>
> On Mon, Nov 25, 2013 at 10:58 AM, Răzvan Crainea <razvan at opensips.org>wrote:
>
>> Hi, Jeff!
>>
>> Have you checked the timer_interval parameter[1]? Contacts processing is
>> done on a timer that is run periodically. For performance reasons the timer
>> is run every couple of seconds, every 60s by default.
>>
>> [1] http://www.opensips.org/html/docs/modules/1.10.x/usrloc#id294043
>>
>>
>> Best regards,
>>
>> Razvan Crainea
>> OpenSIPS Core Developer
>> http://www.opensips-solutions.com
>>
>> On 11/25/2013 05:26 PM, Jeff Pyle wrote:
>>
>>> Indeed I was! I see the events with WRITE_BACK or WRITE_THROUGH mode.
>>>
>>> The INSERT event fires as soon as the AOR is registered, but the DELETE
>>> event fires 36 seconds after the AOR is no longer visible in usrloc.
>>> Where does the 36 seconds come from? Is it adjustable?
>>>
>>>
>>> - Jeff
>>>
>>>
>>>
>>> On Mon, Nov 25, 2013 at 4:09 AM, Răzvan Crainea <razvan at opensips.org
>>> <mailto:razvan at opensips.org>> wrote:
>>>
>>> Hi, Jeff!
>>>
>>> Are you using a DB_ONLY mode for the usrloc persistence[1]?
>>>
>>> [1]
>>> http://www.opensips.org/html/__docs/modules/1.10.x/usrloc.__
>>> html#id294121
>>>
>>> <http://www.opensips.org/html/docs/modules/1.10.x/usrloc.
>>> html#id294121>
>>>
>>> Best regards,
>>>
>>> Razvan Crainea
>>> OpenSIPS Core Developer
>>> http://www.opensips-solutions.__com <http://www.opensips-
>>> solutions.com>
>>>
>>>
>>>
>>> On 11/22/13 20:19, Jeff Pyle wrote:
>>>
>>> Hello,
>>>
>>> On 1.10 I'm trying to use E_UL_AOR_INSERT and E_UL_AOR_DELETE to
>>> trigger
>>> event_routes with xlogs. But I can't get the events to trigger.
>>> I have
>>> verified the insertion and deletion of my test AOR with the
>>> ul_show_contact MI command.
>>>
>>> I configured event_route[E_RTPPROXY_STATUS] for testing and it
>>> triggers
>>> fine. Does usrloc require any extra care to enable it to
>>> trigger events?
>>>
>>>
>>>
>>> - Jeff
>>>
>>>
>>> _________________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>> http://lists.opensips.org/cgi-__bin/mailman/listinfo/users
>>> <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>>>
>>>
>>> _________________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>> http://lists.opensips.org/cgi-__bin/mailman/listinfo/users
>>>
>>> <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20131125/33bba08a/attachment.htm>
More information about the Users
mailing list