[hide]
[font=Roboto, sans-serif]You will need:[/font]
[font=Roboto, sans-serif]================================================
- Linux server (ubuntu, debian, whatever)
- X-Lite Softphone client (for making VoIP calls)
- Asterisk (free open source, to be installed on the server)
- PBX "host" that allows Caller ID to be set by you (free ones are hard to find)
================================================
SSH into your server and issue these commands:[/font]
[font=Roboto, sans-serif] [/font]
[font=Roboto, sans-serif]sudo apt-get install asterisk
yum install asterisk[/font]
[font=Roboto, sans-serif] [/font]
[*]pick one based on your distro
[*]
[font=Roboto, sans-serif] [/font]
[font=Roboto, sans-serif]vi /etc/asterisk/sip.conf[/font]
[font=Roboto, sans-serif] [/font]
[*][font=Roboto, sans-serif]all asterisk connection info is here[/font]
[*]
[font=Roboto, sans-serif] [/font]
[font=Roboto, sans-serif][sipuser]
type=peer
host=dynamic
username=allan
secret=1234
context=outgoing[/font]
[font=Roboto, sans-serif] [/font]
[font=Roboto, sans-serif] [/font]
[*][font=Roboto, sans-serif]this is what should be in the config[/font]
[*][font=Roboto, sans-serif]modify it to your own PBX[/font]
[*][font=Roboto, sans-serif]secret is your password[/font]
[*]
[font=Roboto, sans-serif]vi /etc/asterisk/extension.conf[/font]
[font=Roboto, sans-serif] [/font]
[*][font=Roboto, sans-serif]this is were we setup the callerID[/font]
[*]
[font=Roboto, sans-serif] [/font]
[font=Roboto, sans-serif] [/font]
[font=Roboto, sans-serif][outgoing]
exten => _1NXXNXXXXXX,1,SetCallerID(2024561111)
exten => _1NXXNXXXXXX,n,Dial(IAX2/VoicePulse/${EXTEN})[/font]
[font=Roboto, sans-serif] [/font]
[font=Roboto, sans-serif] [/font]
[*][font=Roboto, sans-serif]add this to the end of the config[/font]
[*][font=Roboto, sans-serif]set callerID to whatever you want[/font]
[*]
[font=Roboto, sans-serif]service asterisk restart[/font]
[*][font=Roboto, sans-serif]save and reload the service (using systemctl or whatever)[/font]
[*]
[font=Roboto, sans-serif] [/font]
[*][font=Roboto, sans-serif]now fire up X-Lite phone and enter your IP details[/font]
[*]
[font=Roboto, sans-serif] [/font]
[*][font=Roboto, sans-serif]server ip can be found by issuing this command:
hostname -I[/font]
[*]
[font=Roboto, sans-serif]And you're done.
[/font]
[/hide]
[font=Roboto, sans-serif]You will need:[/font]
[font=Roboto, sans-serif]================================================
- Linux server (ubuntu, debian, whatever)
- X-Lite Softphone client (for making VoIP calls)
- Asterisk (free open source, to be installed on the server)
- PBX "host" that allows Caller ID to be set by you (free ones are hard to find)
================================================
SSH into your server and issue these commands:[/font]
[font=Roboto, sans-serif] [/font]
[font=Roboto, sans-serif]sudo apt-get install asterisk
yum install asterisk[/font]
[font=Roboto, sans-serif] [/font]
[*]pick one based on your distro
[*]
[font=Roboto, sans-serif] [/font]
[font=Roboto, sans-serif]vi /etc/asterisk/sip.conf[/font]
[font=Roboto, sans-serif] [/font]
[*][font=Roboto, sans-serif]all asterisk connection info is here[/font]
[*]
[font=Roboto, sans-serif] [/font]
[font=Roboto, sans-serif][sipuser]
type=peer
host=dynamic
username=allan
secret=1234
context=outgoing[/font]
[font=Roboto, sans-serif] [/font]
[font=Roboto, sans-serif] [/font]
[*][font=Roboto, sans-serif]this is what should be in the config[/font]
[*][font=Roboto, sans-serif]modify it to your own PBX[/font]
[*][font=Roboto, sans-serif]secret is your password[/font]
[*]
[font=Roboto, sans-serif]vi /etc/asterisk/extension.conf[/font]
[font=Roboto, sans-serif] [/font]
[*][font=Roboto, sans-serif]this is were we setup the callerID[/font]
[*]
[font=Roboto, sans-serif] [/font]
[font=Roboto, sans-serif] [/font]
[font=Roboto, sans-serif][outgoing]
exten => _1NXXNXXXXXX,1,SetCallerID(2024561111)
exten => _1NXXNXXXXXX,n,Dial(IAX2/VoicePulse/${EXTEN})[/font]
[font=Roboto, sans-serif] [/font]
[font=Roboto, sans-serif] [/font]
[*][font=Roboto, sans-serif]add this to the end of the config[/font]
[*][font=Roboto, sans-serif]set callerID to whatever you want[/font]
[*]
[font=Roboto, sans-serif]service asterisk restart[/font]
[*][font=Roboto, sans-serif]save and reload the service (using systemctl or whatever)[/font]
[*]
[font=Roboto, sans-serif] [/font]
[*][font=Roboto, sans-serif]now fire up X-Lite phone and enter your IP details[/font]
[*]
[font=Roboto, sans-serif] [/font]
[*][font=Roboto, sans-serif]server ip can be found by issuing this command:
hostname -I[/font]
[*]
[font=Roboto, sans-serif]And you're done.
[/hide]