New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
usrloc: E_UL_AOR_DELETE enhancement #250
Comments
Could you be more specific on what extra information you would like to get from the event? |
All the fields from the usrloc record. |
Could you be a little more specific? Besides the aor, the usrloc record contains only the registered contacts. What we can do is add a different event that is raised each time a contact is inserted/deleted for a specific aor. This way, info about contact's address and the call id could be provided. |
When you run the MI command 'ul show' it displays all the details about the
|
@ovidiusas 'ul show' displays all the contacts that are registered for that AOR. When the E_UL_AOR_DELETE is triggered, there is no other contact available. When the E_UL_AOR_INSERT only one contacts (or more if the REGISTER contains multiple contacts) is available. But we can't provide all the information shown in 'ul show'.
What do you say? Does this satisfy your needs? |
@razvancrainea I see what you mean and that's fine (I was under the impression that AOR events are actually CONTACT events, hence the confusion). |
Indeed, the E_UL_CONTACT_BINDING_UPDATE is useful in this scenario. And what exactly would you like to get in that event? Only the new contact? Or shall we add the old contact too, to be able to match one another? |
All the CONTACT events should provide (the same) all binding info, then the On Fri, Aug 1, 2014 at 11:20 AM, Răzvan Crainea notifications@github.com
VoIP Embedded, Inc. |
@andrei-datcu just committed the events we were talking about in commit #286 . Let us know if that's what you need. |
All the E_UL_CONTACT_* events should carry the aor (to know which AOR was updated). |
For the E_UL_CONTACT_UPDATE event, the previous received field is the only parameter that could be added. There is no previous contact-address since we are talking about the UPDATE event. If there is another contact-address registered for the same AOR then it will be considered as a different contact and the E_UL_CONTACT_INSERT event will be raised. |
Any updates on the new "aor" param for E_UL_CONTACT* events? |
When a contact expires, the E_UL_AOR_DELETE event is handy in tracking down in the script expired records. Unfortunately, only the AOR is provided, which is ambiguous for AORs with multiple bindings.
The E_UL_AOR_DELETE event should carry the entire location record for proper identification.
The text was updated successfully, but these errors were encountered: