I am trying to setup MicroSIP to act as a phone extension on our company FreePBX / Asterisk server. I am running microsip on my home computer which is connected to the office network via openvpn (pfSense).
I have created a new extension in freepbx with user / password and entered that in microsip . Microsip says that it is OnLine. From that point, I can call my cell phone using microsip as I would from within the office and I can also call that extension from my cell phone. However, microsip does not receive any audio but it can transmit ( microphone working fine). I do however hear the microsip phone ringing when I get a call.
I suspected a firewall issue or UPD packets being blocked. I turned off windows firewall and defender.
I also setup the asterisk extension to use only TCP only for the transport. From the asterisk server, I can connect to port 5060 on my home PC. I also tried to change the codecs supported by microsip in case that would be an issue.
I tried to look in asterisk log but I cannot see any obvious issues with connection during the calls but I am not too sure what to look for. I know that there are also the RTP ports (10000 - 20000 ) to check for but I dont know how to check them. I do not see any listening ports in the range on my home PC.
So I cant figure out why my script is not working. I am trying to uninstall a application called MicroSIP (website: microsip.org) via Microsoft Intune on all of our Windows machines but the script is says "not installed" or "error" every time I run it. I have tied multiple scripts but no luck. I did find my issue. So here it is. Every time the script runs it looks under C:\Users for the name of the MACHINE instead of the USER when expanding %USERNAME%. Can someone please help me fix this? Here is my script and screen screenshot of Intune Log.
I have updated the script to correctly reference the user profile paths using a parameter within the function, ensuring the correct user-specific paths are targeted during the uninstallation process. I have also removed Redundant function calls to improve the efficiency.
We haven't heard back from you. Could you please provide an update on your issue? If you have any questions or concerns, feel free to reach out to us. If the information provided has been helpful, please consider marking it as the accepted answer to close this case. Doing so will assist others with similar questions in finding solutions more easily.