mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
res_pjsip: Add headers to AMI Event ContactStatusDetail
* Added Useragent and RegExpire headers to AMI Event ContactStatusDetail with associated documentation. ASTERISK-25903 #close Change-Id: If3d121e943e588d016ba51d4eb9c6a421a562239
This commit is contained in:
committed by
Richard Mudgett
parent
74951bd591
commit
49813bc9e5
@@ -1119,6 +1119,8 @@ static int format_contact_status(void *obj, void *arg, int flags)
|
||||
|
||||
ast_str_append(&buf, 0, "AOR: %s\r\n", wrapper->aor_id);
|
||||
ast_str_append(&buf, 0, "URI: %s\r\n", contact->uri);
|
||||
ast_str_append(&buf, 0, "UserAgent: %s\r\n", contact->user_agent);
|
||||
ast_str_append(&buf, 0, "RegExpire: %ld\r\n", contact->expiration_time.tv_sec);
|
||||
ast_str_append(&buf, 0, "Status: %s\r\n", ast_sip_get_contact_status_label(status->status));
|
||||
if (status->status == UNKNOWN) {
|
||||
ast_str_append(&buf, 0, "RoundtripUsec: N/A\r\n");
|
||||
|
Reference in New Issue
Block a user