We will be learning that how to add sip peer in asterisk
SIP peer is like a extension number or name that will be used to make calls through sip phone
SIP phone is off two type
1 Soft Phone (Ekiga, Zoiper)
2 Hard Phone (Aku vox, Digium, Grandstream)
Open file through vi editor in terminal
# vi /etc/asterisk/sip.conf
sip.conf
[9999]
username=9999
secret =1234
host=dynamic
type=friend
qualify=yes
disallow=all
allow=ulaw
allow=alaw
allow=gsm
Save and exit vi editor by pressing :wq
Now open asterisk
# asterisk -rvvvvv
type command

1) sip reload
2) sip show peers {In this command you will see sip peers name is visible}

Now open soft phone ekiga

Go to edit and select account -> select Add a SIP account
Now Add SIP account

In host type ip address of asterisk server (sip server)

Click on ok button . You will get Registered

Later on we will discuss about context and dialplan of asterisk server
SIP peer is like a extension number or name that will be used to make calls through sip phone
SIP phone is off two type
1 Soft Phone (Ekiga, Zoiper)
2 Hard Phone (Aku vox, Digium, Grandstream)
Open file through vi editor in terminal
# vi /etc/asterisk/sip.conf
sip.conf
[9999]
username=9999
secret =1234
host=dynamic
type=friend
qualify=yes
disallow=all
allow=ulaw
allow=alaw
allow=gsm
Save and exit vi editor by pressing :wq
Now open asterisk
# asterisk -rvvvvv
type command
1) sip reload
2) sip show peers {In this command you will see sip peers name is visible}
Now open soft phone ekiga
Go to edit and select account -> select Add a SIP account
Now Add SIP account
In host type ip address of asterisk server (sip server)
Click on ok button . You will get Registered
Later on we will discuss about context and dialplan of asterisk server
No comments:
Post a Comment