Merge pull request #1009 in FS/freeswitch from ~J0SH/freeswitch:unreg-user-ev to master
* commit '5bb6742b440d6fdce44bc6d4f2fafd68cbb0004a': mod_sofia: Add 'username' header for expiration events.
This commit is contained in:
commit
5591dde7e1
|
@ -712,6 +712,7 @@ int sofia_reg_del_callback(void *pArg, int argc, char **argv, char **columnNames
|
||||||
switch_event_add_header_string(s_event, SWITCH_STACK_BOTTOM, "profile-name", argv[10]);
|
switch_event_add_header_string(s_event, SWITCH_STACK_BOTTOM, "profile-name", argv[10]);
|
||||||
switch_event_add_header_string(s_event, SWITCH_STACK_BOTTOM, "call-id", argv[0]);
|
switch_event_add_header_string(s_event, SWITCH_STACK_BOTTOM, "call-id", argv[0]);
|
||||||
switch_event_add_header_string(s_event, SWITCH_STACK_BOTTOM, "user", argv[1]);
|
switch_event_add_header_string(s_event, SWITCH_STACK_BOTTOM, "user", argv[1]);
|
||||||
|
switch_event_add_header_string(s_event, SWITCH_STACK_BOTTOM, "username", argv[1]);
|
||||||
switch_event_add_header_string(s_event, SWITCH_STACK_BOTTOM, "host", argv[2]);
|
switch_event_add_header_string(s_event, SWITCH_STACK_BOTTOM, "host", argv[2]);
|
||||||
switch_event_add_header_string(s_event, SWITCH_STACK_BOTTOM, "contact", argv[3]);
|
switch_event_add_header_string(s_event, SWITCH_STACK_BOTTOM, "contact", argv[3]);
|
||||||
switch_event_add_header_string(s_event, SWITCH_STACK_BOTTOM, "expires", argv[6]);
|
switch_event_add_header_string(s_event, SWITCH_STACK_BOTTOM, "expires", argv[6]);
|
||||||
|
|
Loading…
Reference in New Issue