Skip to content

Commit

Permalink
- call FS anyway even if red5 hasn't registered
Browse files Browse the repository at this point in the history
  • Loading branch information
ritzalam committed Jan 9, 2012
1 parent 4e6bdab commit e7c1d5e
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,13 @@ private void createRegisterUserProfile(String username, String password) {

public void call(String clientId, String callerName, String destination) {
if (!registered) {
log.warn("Call request for {} but not registered.", id);
return;
/* We call FreeSWITCH even if we are not registered.
* We don't actually need to register. We can remove the registration step
* in the future. In FS view, we will act as a gateway that forwards calls
* to it.
*/
log.warn("We are not registered. Have {} call to {} anyway.", callerName, destination);
// return;
}

SipPeerProfile callerProfile = SipPeerProfile.copy(registeredProfile);
Expand Down

0 comments on commit e7c1d5e

Please sign in to comment.