Basic settings of SIP Trunk in trixbox
Http://www.voclub.net/zone? Action-viewthread-tid-1065
The basic settings of the SIP Trunk in trixbox are as follows: the extension can call the phone number through a SIP Trunk, and then ring the trunk number to the extension.
Create a new SIP Trunk, provided that you have obtained a sip account that can be connected to an external line.
Dial rules:
X.
Here I set the simplest X. Because X represents any number 0-9, and X represents any length, so this trunk can let any number pass.
Certificate ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Peer details:
Authuser = 0707001 XXXX ---- authentication ID, obtained from the provider
Canreinvite = No ---- only allow the reinvite Function
Context = from-trunk ---- which file is configured
Dtmfmode = inband ---- the DTMF (dual-Tone Multi-frequency) method used. There are three methods (rfc2833, sipinfo and inband)
Fromuser = 0707001 XXXX ---- registration ID. * Some Telecom authentication IDs are different from registration IDs. Note that
Host = 192.168.0.1 ---- address of the proxy server. * domain names are required for registration. You can add fromdomain =.
Insecure = very ---- security level, optional
Secret = *** ---- the registered Password
Type = peer ---- type peer, user, friend
Certificate ----------------------------------------------------------------------------------------------------------------------------------------------------------------
User detials:
Context = from-trunk
Dtmfmode = inband
Insecure = very
Secret = ****
Type = user
Basically the same as above, the secret password here is the same as the above Password
Certificate -----------------------------------------------------------------------------------------------------------------------------------------------------------------
Register string:
0707001 XXXX: ***** @ 192.168.0.1/0707001 xxxx
Here, *** is the registration password.
Certificate -----------------------------------------------------------------------------------------------------------------------------------------------------------------
The call of outgoing above is OK. If you forget to mention it, you need to add a route for the trunk in outgoing routes. Of course, you can also use the default 9 command to get it out.
The setting of the incoming part is simple. You can add a route entry to the incoming routes. In the extensions section of the newly added route, select the extension you want to answer the phone.
Enter the trunk number you want to answer in did number, or enter the CID you want to enter in caller ID number.
If the did number and caller ID number are both empty, it will become an any did/any CID, so that all calls will have a specified extension to answer.