|
|
|
@ -497,10 +497,9 @@ route[HANDLE_IN_DIALOG_REQUESTS] |
|
|
|
# If the request in an Invite for on hold from external to internal, |
|
|
|
# associate the contact with the media server |
|
|
|
# if Invite for on hold, we need to associate the contact URI with the next hop |
|
|
|
## if (is_method("INVITE") && !isflagset(FLAG_INTERNALLY_SOURCED) && is_audio_on_hold()) { |
|
|
|
## setflag(FLAG_ASSOCIATE_USER); |
|
|
|
## } |
|
|
|
|
|
|
|
if (is_method("INVITE") && !isflagset(FLAG_INTERNALLY_SOURCED) && is_audio_on_hold()) { |
|
|
|
setflag(FLAG_ASSOCIATE_USER); |
|
|
|
} |
|
|
|
route(RELAY); |
|
|
|
} else if (isflagset(FLAG_INTERNALLY_SOURCED)) { |
|
|
|
xlog("L_INFO", "$ci|log|relay internally sourced in-dialog message without loose_route"); |
|
|
|
|