Chapter 5. How To Configure Advanced SIP

In the Forward To table, you define where calls should be forwarded. This is used in the Dial Plan table below.

In this case, calls from one user should be forwarded to the corresponding SIP operator account. Create one row per user and select the account under Account.

At last, you combine these definitions in the Dial Plan table. For each user, make one line for international calls and one for other calls, because we need to add the international prefix for international calls only.

Now, when a local user calls an external phone number, the Telecommuting Module will route this call to your SIP operator and rewrite the signaling to use your SIP operator account.

Incoming Calls

For incoming calls, there are two different ways of forwarding the calls to your SIP server; either via the Dial Plan or via the User Routing table. Which one should be used depends on how the operator sends out your calls.

If they just send them out as number@yourdomain.com, you should use the Dial Plan. If they use the Contact information in the registration, you should use the User Routing.

If you use the Dial Plan, you need to add some more settings on the Dial Plan page.

First, add a row in the Matching From Header table to match incoming calls.

58