Testing
Now that we’ve got everything configured, all we need to do is test our setup.
- Dial your Google Voice number from a land-line or cell phone. This should ring your SIP phone. Try this a few times and:
- Answer the call
- Let the call ring through to voicemail (unavailable greeting)
- Reject the call (busy greeting)
- Dial 1002 from your SIP phone. This should give you an error message.
- Dial 1009 from your SIP phone. This should connect you to the voicemail system. Enter 1000 for the mailbox number, and 1234 for the password. Try recording greetings and playing any messages you’d left earlier.
- Call a land-line or cell phone from your SIP phone.
- Dial 1010 from your SIP phone, this should ring the phone number you specified in extensions.conf
- Dial 3000 from your SIP phone, this should playback a test message.
- Dial 911 from your SIP phone, this should playback an error message.
Conclusion
Now that you’ve got started with Asterisk, you can customize your setup to do any number of things, all it takes is a little creativity and ingenuity.
Howdy,
It seems to me that something important is missing here. I am new to asterisk, so I may be wrong. You have setup the asterisk server. Don’t you need to change your sip phone to register to this asterisk server, instead of the sipgate id you were using earlier in the setup? If not, I don’t understand why outgoing calls would get routed through google voice. Surely, the call needs to come to this asterisk server so all the setup you did takes place.
Assuming you do need to change registrations, what do you use for the registration information on the sip phone?
Your setup here inspired me to try interfacing directly with Asterisk for the first time. I have used AsteriskNow before, but I liked to idea of getting closer to the software. Now, I just need to learn more about it.
Good day
Howdy,
Somehow I missed part of the setup. I found it today. So, nevermind about the last question. I do have another one. The setup acts like it is working for me, but I have not found anyone home to do the real test with. That will come.
But, I am not sure if I have everything setup right. Several places where you show code to put into config files, I am not sure where the code ends. Especially on page http://kenny.barnt.us/?p=157, the blue sections with the code end and there are following lines that I think should also be included. I thought the are outside of the blue was all just explanation when I first went through it, but look at the [internal] section, for instance. There are 5 lines in blue on the website. The following 25 lines are not demarked, but sure look like they should be part of the extensions.conf file.
Have a good day