FS-5441: --resolve

This commit is contained in:
William King 2013-05-17 12:39:17 -07:00
parent 58e205ccdb
commit 8d7aa3ff65
3 changed files with 8 additions and 3 deletions

View File

@ -33,7 +33,7 @@
* Nathan Patrick <npatrick at corp.sonic.net> * Nathan Patrick <npatrick at corp.sonic.net>
* Joseph Sullivan <jossulli@amazon.com> * Joseph Sullivan <jossulli@amazon.com>
* Emmanuel Schmidbauer <e.schmidbauer@gmail.com> * Emmanuel Schmidbauer <e.schmidbauer@gmail.com>
* * William King <william.king@quentustech.com>
* *
* sofia.c -- SOFIA SIP Endpoint (sofia code) * sofia.c -- SOFIA SIP Endpoint (sofia code)
* *

View File

@ -28,7 +28,7 @@
* Paul D. Tinsley <pdt at jackhammer.org> * Paul D. Tinsley <pdt at jackhammer.org>
* Bret McDanel <trixter AT 0xdecafbad.com> * Bret McDanel <trixter AT 0xdecafbad.com>
* Raymond Chandler <intralanman@freeswitch.org> * Raymond Chandler <intralanman@freeswitch.org>
* * William King <william.king@quentustech.com>
* *
* sofia_presence.c -- SOFIA SIP Endpoint (presence code) * sofia_presence.c -- SOFIA SIP Endpoint (presence code)
* *

View File

@ -32,7 +32,7 @@
* Eliot Gable <egable AT.AT broadvox.com> * Eliot Gable <egable AT.AT broadvox.com>
* Leon de Rooij <leon@scarlet-internet.nl> * Leon de Rooij <leon@scarlet-internet.nl>
* Emmanuel Schmidbauer <e.schmidbauer@gmail.com> * Emmanuel Schmidbauer <e.schmidbauer@gmail.com>
* * William King <william.king@quentustech.com>
* *
* sofia_reg.c -- SOFIA SIP Endpoint (registration code) * 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) { 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_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); switch_event_add_header_string(params, SWITCH_STACK_BOTTOM, "sip_request_host", sip->sip_request->rq_url->url_host);