host=dynamic
defaultip=10.8.1.120
qualify=yes
requirecalltoken=no
In all site with the asterisk server we should configure iax.conf so every server can be registered with
each other. By doing this you can call other site with extension. Now take a look again our
extensions.conf in this section:
[internal-sip]
exten => _1.,2,Hangup()
exten => _2.,2,Hangup()
Above lines means:
1. _1. –> if you start a call with "pressing 1 then follow by extension then you connect to asterisk
server in ip address 10.1.1.120". 10.1.1.120/${EXTEN:1} means the asterisk server in ip
10.1.1.120 will stripe the first digit.
2. _2. –> if you start a call with "pressing 2 then follow by extension then you connect to asterisk
server in ip address 10.7.1.120". 10.7.1.120/${EXTEN:1} means the asterisk server in ip
10.7.1.120 will stripe the first digit.
I think I already explain everything that you should know about how to setup and configure an asterisk
server, make a conference room, setting up extension, and even connecting between two or more
asterisk server using iax. Now it is your turn. You can experiment with my setting until you get used to
it and try another configuration that match with what you want.
Don’t forget to have a lot of fun.
Comentarios a estos manuales