|
|
|
@ -159,6 +159,9 @@ modparam("sanity", "autodrop", 0) |
|
|
|
loadmodule "textops.so" |
|
|
|
loadmodule "textopsx.so" |
|
|
|
|
|
|
|
######## sdp operations module ######## |
|
|
|
loadmodule "sdpops.so" |
|
|
|
|
|
|
|
######## Generic Hash Table container in shared memory ######## |
|
|
|
loadmodule "htable.so" |
|
|
|
modparam("htable", "htable", "associations=>size=16;autoexpire=7200") |
|
|
|
@ -579,6 +582,14 @@ route[HANDLE_IN_DIALOG_REQUESTS] |
|
|
|
if (is_method("INVITE") && !isflagset(FLAG_INTERNALLY_SOURCED) && is_audio_on_hold()) { |
|
|
|
setflag(FLAG_ASSOCIATE_USER); |
|
|
|
} |
|
|
|
|
|
|
|
# If the request in an Invite for t38 from internal, |
|
|
|
# mark the request with FLAG_T38 |
|
|
|
if (is_method("INVITE") && isflagset(FLAG_INTERNALLY_SOURCED) && sdp_with_media("image")) { |
|
|
|
xlog("L_DEBUG", "$ci|log|T38 RE-INVITE\n"); |
|
|
|
setflag(FLAG_T38); |
|
|
|
} |
|
|
|
|
|
|
|
if ( is_method("NOTIFY") ) { |
|
|
|
# Add Record-Route for in-dialog NOTIFY as per RFC 6665. |
|
|
|
record_route(); |
|
|
|
|