Page 125 - Asterisk™: The Future of Telephony
P. 125
4. Proxy and Registration → Proxy → enter the IP address of Asterisk
(e.g., 192.168.1.100)
5. Proxy and Registration → Register → yes
6. Proxy and Registration → Make Call Without Reg → no
7. Proxy and Registration → Ans Call Without Reg → no
8. Subscriber Information → Display Name → Caller ID information
9. Subscriber Information → User ID → 1000
10. Subscriber Information → Password → (leave blank if you’re using the simple con-
figuration from earlier in this chapter)
11. Subscriber Information → Use Auth ID → yes
12. Subscriber Information → Auth ID → 1000
13. Audio Configuration → Preferred Codec → G711u
14. Audio Configuration → Use Pref Codec Only → no
15. Audio Configuration → Silence Supp Enable → no
16. Audio Configuration → DTMF Tx Method → Auto
17. Submit All Changes
And that’s it! Your phone should be registered to Asterisk now. You’ll know this be-
cause the first lighted line button beside the LCD screen will change from orange to
green.
Configuring the Dialplan for Testing
In order to allow our phone to call other phones (or, if a multiline phone, to call itself),
we need to modify the extensions.conf file. Building on what we had in “Setting Up the
Dialplan for Some Test Calls,” add the following parts to the [internal] context:
exten => 1000,1,Verbose(1|Extension 1000)
exten => 1000,n,Dial(SIP/1000,30)
exten => 1000,n,Hangup()
If you have two phones, or multiple lines configured, you can duplicate the previous
configuration and change the 1000 to the other extension name.
Connecting to a SIP Service Provider
With the advent of Internet telephony, there has been an influx of Internet-based phone
companies springing up all over the world! This gives you a large number of choices
from which to choose. Many of these service providers allow you to connect your As-
#
terisk-based system to their networks, and some of them are even running Asterisk
themselves!
Connecting to a SIP Service Provider | 97