Introducing Asterisk Incoming External Calls
We’re back! After a short break, we are back with the latest in our Introducing Asterisk Tutorial series. Today, we have a quick recap on what we’ve done so far & Mathias gets serious by examining some real life telephony scenarios.
What that all means is that we briefly review what we’ve done so far, plus getting to grips with some more in depth Dialplan configurations. We simulate receiving incoming external calls using a softphone. At this point, we could have added a SIP provider, but as this can be a complicated process, we decided to continue with testing steps before moving on to the more advanced stages of setting up your Asterisk PBX.
In order to simulate external callers, we need to setup a a new SIP peer in the sip.cong asterisk directory. The process is very similar to how we added our internal SIP peers, with the exception of the context. It is generally considered a best practice to define a new context [e.g. incoming] for external calls in order to prevent unauthorised access and usage of your telephony services.
The next step is to add the new context into your dialplan, and configure the context to jump to another context within the dialplan through using the Goto application and then reloading the dialplan and testing that everything functions as expected. Remember, when setting up your PBX testing every step is the key to ensuring not encountering problems in the future.
Stay tuned next week when we will take a look at some more real life scenarios and get going with simulating making an outgoing external call.
If you would like more information regarding pascom and our Asterisk based MobyDick Software PBX, please visit our MobyDick Website. Alternatively, why not download our Community Version and try MobyDick for yourself. For more general information about Asterisk, please visit their Website.
As usual, don’t forget to let us know what you think or if you have any thoughts or tips of your own about Asterisk Dial Plans, by leaving a comment, liking and sharing.
More Asterisk Tutorials:
- Introducing Asterisk – File Playback
- Introducing Asterisk – Dialplan Shortcuts
- Introducing Asterisk – First Dial
- Introducing Asterisk – Dial Plans
- Introducing Asterisk – SIP Peers
- Introducing Asterisk – Network Configurations
- Introducing Asterisk – Start Scripts
- Introducing Asterisk – Compiling Asterisk
- Introducing Asterisk