diff --git a/bbb-voice/src/main/java/org/bigbluebutton/voiceconf/sip/CallAgent.java b/bbb-voice/src/main/java/org/bigbluebutton/voiceconf/sip/CallAgent.java index 8f0047ccab499aa89b144a8fff21daa062de7df8..29af4ce241afe3e822e3ff9efe739faba51b6446 100644 --- a/bbb-voice/src/main/java/org/bigbluebutton/voiceconf/sip/CallAgent.java +++ b/bbb-voice/src/main/java/org/bigbluebutton/voiceconf/sip/CallAgent.java @@ -139,10 +139,10 @@ public class CallAgent extends CallListenerAdapter implements CallStreamObserver } private void setupCallerDisplayName(String callerName, String destination) { - String fromURL = "\"" + callerName + "\" <sip:" + destination + "@" + portProvider.getHost() + ">"; + String fromURL = "\"" + callerName + "\" <sip:" + destination + "@" + clientRtpIp + ">"; userProfile.username = callerName; userProfile.fromUrl = fromURL; - userProfile.contactUrl = "sip:" + destination + "@" + sipProvider.getViaAddress(); + userProfile.contactUrl = "sip:" + destination + "@" + clientRtpIp; if (sipProvider.getPort() != SipStack.default_port) { userProfile.contactUrl += ":" + sipProvider.getPort(); }