Browse Source

Update index.php

FusionPBX 7 years ago
parent
commit
f5c8bbd864
1 changed files with 2 additions and 2 deletions
  1. 2 2
      sipjs/index.php

+ 2 - 2
sipjs/index.php

@@ -112,7 +112,7 @@ echo "	};\n";
 		}
 	};
 	//makes the call
-	//session = user_agent.invite('sip:1020@pbx.fusionpbx.com', options);
+	//session = user_agent.invite('sip:1020@voip.fusionpbx.com', options);
 
 	//answer
 	user_agent.on('invite', function (session) {
@@ -182,7 +182,7 @@ echo "	};\n";
 		document.getElementById('remote_video').style.display = "inline";
 		document.getElementById('mute_audio').style.display = "inline";
 		document.getElementById('mute_video').style.display = "inline";
-		session = user_agent.invite('sip:'+destination+'<?php echo $domain_name; ?>', options);
+		session = user_agent.invite('sip:'+destination+'@<?php echo $domain_name; ?>', options);
 		
 		var remote_video = document.getElementById("remote_video");
 		remote_video.setAttribute("controls","controls");