Ronald Voermans wrote:
I'm not sure I understand what you mean...

I want to have internal extensions (100, 101, 102, etc.) and some full
phone-numbers (10 digits). How do I implement this in *?
Ronald

Right. We have 3 contexts. 1 is for all incomming traffic from PRI or other carrier. 1 for each company and 1 for all outbound. For us, each company has their own context. This context handles all "extensions" local to the company. (eg, 100, 101, etc).

Then you have a pattern match for when the company dials a 10+ digit number. (or 9 followed by any number of digits) We send all these "outbound" numbers from all company contexts to a master context for outboud dialing (using Goto).

This 'master outbound' context actually includes the 'master incomming' context as part of its dialplan so if any customer dials the 10 digit number of another company, the call stays within asterisk, completly SIP.

If no match is found, the call is sent thru a PHP script for least cost routing out via local PRI or SIP carrier.

-Matthew

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to