How to Spoof Caller ID | Setup Own VOIP Call Server.

 


Hi Hacker's Welcome back my new blog post, in this post I will show you How to setup VOIP  Call server and how to setup PortSIP VOIP in own VPS Network. so Without Wasting your let's start. 

What is VOIP

VoIP stands for Voice over Internet Protocol. It is a technology that allows voice communication and multimedia sessions, such as video calls, to be transmitted over the Internet rather than traditional telephone lines or dedicated networks.

With VoIP, voice signals are converted into digital data packets and transmitted over the Internet Protocol (IP) network. These packets are then reassembled into voice signals at the receiving end, allowing real-time communication between users.

VoIP offers several advantages over traditional telephone systems. Some of these benefits include:

Cost savings: VoIP typically offers lower costs for both local and international calls compared to traditional phone services. This is because VoIP uses the existing Internet infrastructure rather than separate telephone networks.

Flexibility and scalability: VoIP allows users to make calls from any location with an Internet connection. It is not tied to a specific physical location or phone line. Additionally, VoIP systems are easily scalable, making it simple to add or remove phone lines as needed.

Advanced features: VoIP systems often come with a range of advanced features that enhance communication, such as call forwarding, voicemail, call waiting, video conferencing, and virtual phone numbers.

Integration with other systems: VoIP can be easily integrated with other communication systems and applications, such as email, instant messaging, and customer relationship management (CRM) software.

Mobility: VoIP enables users to make and receive calls on their mobile devices, such as smartphones and tablets, using dedicated VoIP apps. This allows for greater mobility and flexibility in communication.

Prerequisite knowledge for Linux

Deploying PortSIP PBX in a Linux environment requires planning and knowledge of session

initiation protocol (SIP) audio, video call and presence, Instant Messaging (IM) administration.

You should also have knowledge of the following Linux infrastructures:

A popular Linux distribution:

• CentOS 7.9 (64-bit)

• Debian 10.x (64-bit)

• Ubuntu 18.04 or 20.04 (64-bit)

• Docker 20.10 or higher

• IPv4/IPv6

• Systemd

• IP tables

• Firewalld

• UFW

This document assumes that the Linux OS is already deployed and administrators of PortSIP

PBX have been allocated with the root permission to Linux.

Step.1: How to setup VOIP Server

To setup VOIP, first of all you will need a VPS server, then here we are going to use Ubuntu 22.10 server, which we have created with the help of Digital Ocean. apart from this, you can also use our Server in this Work.




Step.2: How Can I setup VOIP Server

after creating the ubuntu server instance, now you have to login to it using ssh command, after that you have to update ubuntu server as well

ssh root@yourip



What is PortSIP

PortSIP is a company that specializes in developing and providing VoIP (Voice over Internet Protocol) software and solutions. They offer a range of products and services designed to facilitate voice and video communication over IP networks.

PortSIP's primary offering is their software development kit (SDK), which allows developers to integrate VoIP capabilities into their applications or services. The PortSIP SDK provides a comprehensive set of tools, libraries, and APIs (Application Programming Interfaces) that enable developers to build custom VoIP applications with features like voice calling, video calling, instant messaging, and presence.

In addition to the SDK, PortSIP offers a variety of other products and solutions, including:

PortSIP PBX: A software-based IP PBX (Private Branch Exchange) system that enables businesses to establish and manage their own internal phone networks. It supports features like call routing, call recording, auto-attendant, voicemail, and more.

PortSIP SBC: SBC stands for Session Border Controller. PortSIP provides an SBC solution that helps secure and optimize VoIP traffic between different networks. It ensures compatibility, interoperability, and security for VoIP calls, protecting against malicious attacks and ensuring high-quality communication.

PortSIP WebRTC Gateway: WebRTC (Web Real-Time Communication) is a technology that enables real-time communication directly in web browsers, without the need for additional plugins or software. PortSIP offers a WebRTC Gateway solution that facilitates the integration of WebRTC into existing VoIP networks and applications.

PortSIP's products are used by businesses, service providers, and developers looking to implement VoIP solutions for various purposes, such as internal communication systems, call centers, unified communications platforms, and more. Their solutions are designed to be flexible, scalable, and customizable to meet the specific requirements of different organizations.

Step.3: How to Setup PortSIP PBX.

Now you have to set up PortSIP inside your Ubuntu server. with this command, inside it were all the commands by witch whatever tools are required for PortSIP will be downloaded in ubuntu server, this process may be take some time, so you have to give it.

curl https://raw.githubusercontent.com/portsip/portsip-pbx-sh/master/v12.6.x/install_pbx_docker.sh|bash



Step.4: VOIP Call Server How to Make

 Now run the PortSIP PBX Docker container instance.

Performing the below command will launch the PortSIP PBX docker instance on a Linux server for which the IP is 146.190.208.106.

The POSTGRES_PASSWORD is used to specify the PortSIP DB password. In this case, we will use 123456, you can change it by yourself. Suggest use alphanumeric only, special character maybe causes problems.

The IP_ADDRESS is the IP address of your PBX server (Linux Server). In this case, it is 146.190.208.106. you will need to change it by yourself.

docker container run -d --name portsip-pbx --restart=always --cap-add=SYS_PTRACE --network=host -v /var/lib/portsip:/var/lib/portsip -v /etc/localtime:/etc/localtime:ro -e POSTGRES_PASSWORD="123456" -e POSTGRES_LISTEN_ADDRESSES="*" -e IP_ADDRESS="your ip" portsip/pbx:12



Step.5: PortSIP How to setup in Own Network

once you have created the transport in the PortSIP PBX, you will need to add a new firewall rule to enable your transport port. For example:if you create the UDP transport on port 5060, you will need to add a new firewall rule to enable the UDP port 5060.

sudo firewall-cmd --permanent --service=portsip-pbx --add-port=5060/udp --set-description="PortSIP PBX"
sudo firewall-cmd --permanent --add-service=portsip-pbx 
sudo firewall-cmd --reload



Step.6: PortSIP Setup & Use.

if you create the TCP transport on port 5063 and create WSS transport on port 5065, you will need to add a new firewall rule to enable TCP port 5063 and 5065.

sudo firewall-cmd --permanent --service=portsip-pbx --add-port=5063/tcp --add-port=5065/tcp --set-description="PortSIP PBX"
sudo firewall-cmd --permanent --add-service=portsip-pbx 
sudo firewall-cmd --reload



Step.7: Free VOIP Call in Any Number.

Till now all our work has been completed. PortSIP is now completed setup on our ubuntu server. Now to Open & use this you have to select this port number along with your IP address on the Browser on your computer. make sure you do this with https for it to work properly. and also now you can login inside PortSIP. login Credentials by default is: admin , admin so using this you can login it.

https://YourIP:8887


Step.8: How to Configure PortSIP

If you want to use the HTTPS with PortSIP PBX Web Portal and WebRTC client,, you must set up the "Web Domain" here, and prepare a SSL certificate for this "Web Domain" since the browser is requires a trusted certificates otherwise it will block the HTTPS and WebRTC Client. In case we use the mypbx.com. You will also need resolve your Web domain mysip.com to your PBX server IP.

Enter the Digital Ocean Public IPv4 if you have a static public IP of your LAN. Do not enter the Public IPv4 if reachable by your SIP client. The IP address entered here is the SIP server IP address for PBX. It is required when a SIP client or SIP IP phone registers to PortSIP PBX should be configured as the "Outbound Proxy Server"




Next Step: Configure SIP Domain

in the SIP Domain, you have to paste the public IPv4 of your VPS Server which is setup on Your digital ocean server.




Next Step: Configure transport protocol

You can set transport layer protocol for the SIP signaling here, with the default transport UDP on port 5060.

Note: You can add more transports in PortSIP PBX Web Portal after this Wizard 




Next Step: Configure Certificate

If you want to use the HTTPS with PortSIP PBX Web Portal and WebRTC client, you must upload the SSL certificates file here for WSS transport, by default the PBX listens 5065 port for WSS transport which communicates with the WebRTC client.

Note: You can use the self-signed certificates here but it will cause browser pop ups the warning when you open the WebRTC client, you can purchase a trusted certificate to avoid the browser blocking and warning. More details please read the [2.6 section](#2.6 Avoid HTTPS Certificate Security Warnings)




Next Step: Configure Mail Server

Setup mail server. You may set up the SMTP mail server in this step for receiving notifications, voicemails, conference invitations and CDR downloads. You can use your SMTP server or Gmail SMTP server.

Note: This step is not mandatory. You may choose to setup SMTP server whenever necessary.

By clicking the “Apply” button, you have now completed the initial configuration of PortSIP PBX. You will be redirected to Web Portal




Step.9: How to Spoof Caller ID 

after login inside PortSIP, now you have to add caller number inside it. for this, you click on the option of extensions. click on add and here you can add number or user whatever you want.



Step.10: Free Call Spoofing App

now you have to add username and password inside the extension. Now note that whatever you ass here in joining this, the target will have your number with the same username . if you have given your name then only the name will show. while calling, if you have given the number, then only the number will show while calling.



Step.11: How to Login PortSIP Portal

now you have to download an application named PortSIP from play store to make calls.


Next Step: Connect PortSIP app to PortSIP Server

now you have to enter the same credentials inside PortSIP, which you had added inside your Extension. pay attention that don't put wrong credential, otherwise you can't login it.



Final Step: How to spoof Call number

now you are ready to call any your friends by changing your caller ID, this call will be without sim card, all you need is an internet connection through which you can call anyone and do your conversation.




Conclusion

this is the conclusion of this post that how you can setup your own VOIP server and how you can spoof call. How can you understand call spoofing work and how can call anyone through internet, so I hope you like this post and enjoy it, I will see you in the next post Thanks and Take Care :))

Join Our Advance Ethical Hacking & Cyber Security Courses


Post a Comment

0 Comments