mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-12 23:40:04 +00:00
Merge pull request #200 in FS/freeswitch from ~SJTHOMASON/freeswitch:bugfix/FS-7192-expires-header-included-in-gateway to master
* commit '54f16398310846a6b793491d21778e0961b48712': FS-7192: [mod_sofia] do not include Expires header in INVITEs responding to a auth challenge
This commit is contained in:
commit
3c4c64a9de
@ -2548,7 +2548,7 @@ void sofia_reg_handle_sip_r_challenge(int status,
|
||||
tl_gets(tags, NUTAG_CALLSTATE_REF(ss_state), SIPTAG_WWW_AUTHENTICATE_REF(authenticate), TAG_END());
|
||||
|
||||
nua_authenticate(nh,
|
||||
TAG_IF(gateway, SIPTAG_EXPIRES_STR(gateway ? gateway->expires_str : "3600")),
|
||||
TAG_IF(sofia_private && !zstr(sofia_private->gateway_name), SIPTAG_EXPIRES_STR(gateway ? gateway->expires_str : "3600")),
|
||||
NUTAG_AUTH(authentication), TAG_END());
|
||||
|
||||
goto end;
|
||||
|
Loading…
x
Reference in New Issue
Block a user