mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 20:51:58 +00:00
FS-5441: --resolve
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
* Eliot Gable <egable AT.AT broadvox.com>
|
||||
* Leon de Rooij <leon@scarlet-internet.nl>
|
||||
* Emmanuel Schmidbauer <e.schmidbauer@gmail.com>
|
||||
*
|
||||
* William King <william.king@quentustech.com>
|
||||
*
|
||||
* sofia_reg.c -- SOFIA SIP Endpoint (registration code)
|
||||
*
|
||||
@@ -2603,6 +2603,11 @@ auth_res_t sofia_reg_parse_auth(sofia_profile_t *profile,
|
||||
}
|
||||
}
|
||||
|
||||
if (sip->sip_call_id && sip->sip_call_id->i_id) {
|
||||
switch_event_add_header_string(params, SWITCH_STACK_BOTTOM, "sip_call_id", sip->sip_call_id->i_id);
|
||||
}
|
||||
|
||||
|
||||
if (sip->sip_request) {
|
||||
switch_event_add_header_string(params, SWITCH_STACK_BOTTOM, "sip_request_user", sip->sip_request->rq_url->url_user);
|
||||
switch_event_add_header_string(params, SWITCH_STACK_BOTTOM, "sip_request_host", sip->sip_request->rq_url->url_host);
|
||||
|
||||
Reference in New Issue
Block a user