FreePBX SIP Trunk

Source: Internet
Author: User

FreePBX SIP TrunkDocking

background: PBX1 is a virtual machine running FreePBX, whichnow needs to be connected via SIP TRUNK docking , PBX2, using PBX2 E1 The line calls out the phone.

PBX1 192.168.100.1

PBX2 192.168.100.2

PBX1on the configurationOneConfigurationTrunk

New SIP TRUNK


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/54/0B/wKioL1R2mLHDypJCAACZApCqdfY299.jpg "title=" 1.png " alt= "Wkiol1r2mlhdypjcaaczapcqdfy299.jpg"/>

TwoConfigurationOubtound Routers

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/54/0C/wKiom1R2mb3iFDP9AADHjKGfNA0539.jpg "title=" 2.jpg " alt= "Wkiom1r2mb3ifdp9aadhjkgfna0539.jpg"/>

There are no matching rules, no matter what number you call, send the number directly to it's PBX2.

PBX2ConfigurationOneConfigurationSIP TRUNK

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/54/0B/wKioL1R2mkuA2MLCAACcgfyUskc234.jpg "title=" 3.jpg " alt= "Wkiol1r2mkua2mlcaaccgfyuskc234.jpg"/>

TwoModifyAsteriskconfiguration file

Vi/etc/asterisk/extensions.conf

look for the from-trunk option, which is modified as follows:

[From-trunk]

Include = From-internal

Include = From-pstn

Note: Both sides PBX IP to allow each other!!! Also, if debug discovery is unsuccessful. First make sure that the phone number dialed on the PBX1 is successfully sent to PBX2 and the debug log is turned on. Then Add the From-trunk to the dial plan that normally uses the E1 line (and, of course, make sure the docking is ASTERISK is the dial plan that is used).

this way, The PBX1 can exhale the phone through the PBX. But the number of outgoing calls is not controllable. The outgoing display number is based on the match on the PBX2. For example, in an outbound route on my PBX2:

251 shows the 053181765959,

the prefix shown is 02131156123.

So, if I'm in PBX1 on the registered extension, when dialing, direct dial mobile phone number such as:1561XXXXX, will show 02131156123, and if I dial 251+ phone, will show 053181765959.


This article is from "Nothing Left" blog, please be sure to keep this source http://3357278.blog.51cto.com/3347278/1583135

FreePBX SIP Trunk

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.