2

I am new to asterisk and before I dive in, I just want to make sure that what I plan to do is possible/correct.

My office will run an asterisk server and have both local and remote extensions. We have few people scattered around the US and want something scalable if that number increases.

I have installed asterisk as a VM on VMware ESXi 5 but have not done any config.

If I understand this correctly, I can get SIP Trunking service (the particular one I was looking at provides 1 DID and 5 ports) and have asterisk use that as the POTS gateway for outgoing calls. This will allow any extension to pick up the next free outgoing line if they want to make a call (right?). Is that a function of the SIP trunk provider or Asterisk?

For incoming, we are already using twilio, so I was planning on keeping that since they now have SIP routing. So I assume I can use their call tree and route to my asterisk extensions. Can I duplicate twilio functionality in asterisk? Thanks!

Mike
  • 23
  • 3
  • Thanks everyone. I got the proposed configuration all working..well more of a proof of concept, but it does work. It only took me 8 hours troubleshooting one problem after another. lol. The only thing I didn't actually do is get a SIP trunk provider. I was able to use google voice as a sip trunk for now.. – Mike Jul 11 '13 at 22:24

3 Answers3

0

This will allow any extension to pick up the next free outgoing line if they want to make a call (right?). Is that a function of the SIP trunk provider or Asterisk?

Yes, and this need to be implemented via Asterisk configuration and/or dialplan

For incoming, we are already using twilio, so I was planning on keeping that since they now have SIP routing. So I assume I can use their call tree and route to my asterisk extensions. Can I duplicate twilio functionality in asterisk? Thanks!

Not really sure how Twillo works but you should be able to route the call to your extensions as they can via normal PSTN call. Duplicate Twillo's functionality in Asterisk is possible but not a trivial job. (Or else they'll be out of business right?)

I would suggest that you start with some simple scenarios (like getting the inbound call working with one extension) do some experiments and come back to here with more specific questions when you get stuck.

number5
  • 266
  • 3
  • 12
0

Your provider's sales droid really should have answered most of these questions for you, but...

It's your responsibility to configure Asterisk to route calls in the manner you want, but the sort of routing you want is certainly possible and not very difficult. Though trying to reimplement all of Twilio would be a major project, just setting up the specific routes you want isn't very hard.

If you have 5 "ports" this generally means you can have 5 simultaneous calls via that provider; a sixth call would have to wait or be routed to another provider. Ask the sales droid for clarification on whether this covers both incoming and outgoing calls; sometimes they are billed differently.

Michael Hampton
  • 244,070
  • 43
  • 506
  • 972
0

if you are completely new in the field, I would recommend using FreeSWITCH instead of Asterisk. It's much more logical and easier to understand, and the book is 3 times thinner :)