We are building a realtime view for the contacts using AMI.
Sending Action: PJSIPShowContacts we trigger asterisk to send Event: ContactList, and using this event we can build a list of all contacts existing at a specific moment.
Event: ContactList
ObjectType:
ObjectName:
ViaAddr:
ViaPort:
QualifyTimeout:
CallId:
RegServer:
PruneOnBoot:
Path:
Endpoint:
AuthenticateQualify:
Uri:
QualifyFrequency:
UserAgent:
ExpirationTime:
OutboundProxy:
Status:
RoundtripUsec:
To maintain this list updated, we use the ContactStatus as it looks its the only event triggered when a contact status changes.
Event: ContactStatus
URI:
ContactStatus:
AOR:
EndpointName:
RoundtripUsec:
As you can see in this event, there are not all the properties found in the ContactList event.
I’m interested in the UserAgent property.
Is there a reason this property is not included in this event ?