Compare commits
6 Commits
c8cef18f9f
...
7862bc76dc
Author | SHA1 | Date |
---|---|---|
wmasilva | 7862bc76dc | |
Antonio Silva | 6a096b0792 | |
Antonio Silva | f6f0c86ae2 | |
Antonio Silva | 93096d6a16 | |
Antonio Silva | 5c62791bc1 | |
Antonio Silva | b341643657 |
|
@ -943,6 +943,12 @@ static void login_fire_custom_event(jsock_t *jsock, cJSON *params, int success,
|
|||
switch_event_add_header_string(s_event, SWITCH_STACK_BOTTOM, "verto_sessid", cJSON_GetObjectCstr(params, "sessid"));
|
||||
}
|
||||
}
|
||||
if (jsock->id) {
|
||||
switch_event_add_header_string(s_event, SWITCH_STACK_BOTTOM, "verto_id", jsock->id);
|
||||
}
|
||||
if (jsock->domain) {
|
||||
switch_event_add_header_string(s_event, SWITCH_STACK_BOTTOM, "verto_domain", jsock->domain);
|
||||
}
|
||||
switch_event_add_header(s_event, SWITCH_STACK_BOTTOM, "verto_success", "%d", success);
|
||||
switch_event_add_header_string(s_event, SWITCH_STACK_BOTTOM, "verto_result_txt", result_txt);
|
||||
switch_event_fire(&s_event);
|
||||
|
|
Loading…
Reference in New Issue