PBXes (http://www1.pbxes.com/forum/index.php)
- English (http://www1.pbxes.com/forum/board.php?boardid=16)
-- Terminal Equipment (http://www1.pbxes.com/forum/board.php?boardid=21)
--- RE: SubPBX with Trixbox -- HELP (http://www1.pbxes.com/forum/threadid.php?threadid=1315410573)


Posted by elkosupertech on 07.09.2011 at 17:49:

Zunge raus! SubPBX with Trixbox (Solved)

Ok, I have setup my Trixbox setup and I would like to try to use the SubPBX feature. I thought I had set it up like your supposed to but so far it won't work either way.

Setting up the trunk from Trixbox, it seems to register with PBXes but when you call, I get the message of "All Circuits are Busy Now" and doesn't complete.

From PBXes, I can see the call hitting my address but nothing on the trixbox indicating the call came in.

Please help.

UPDATE (9/12/2011)
I have figured this out so I am editing this post to reflect the settings in Trixbox for those who run into this issue. I imagine it would be the same for any Asterisk build that uses the FreePBX interface:

Under Trunks, set it up as SIP and I named mine PBXes

Under Outgoing Settings
Trunk Name: again just used the name PBXes

PEER Details
username=[name of SubPBX account name]
type=friend
sendrpid=no
secret=[Password for SubPBX Account]
qualify=no
promiscredir=yes
language=en
insecure=very
host=www2.pbxes.com (the www part, use Datacenter under Personal Data)
fromuser=[name of SubPBX account name]
fromdomain=pbxes.org
dtmfmode=inband
disallow=h263&h263p
context=from-trunk
canreinvite=no

Leave Incoming Settings blank.

Register String:
[SubPBX Account]:[Password]@[Datacenter (same as host)]/[SubPBX Account]


Posted by shohn15 on 28.10.2011 at 15:52:

Zunge raus! RE: SubPBX with Trixbox -- HELP

You are a HERO! This should be a sticky for ANYONE who wants to use the Sub PBX feature with their asterisk box, be it trixbox, freepbx, or anything else that configures like this.

UPDATE 10/30/2011
Allow me to state this. The configuration you've given will allow the extensions of your local Asterisk box & PBXes to communicate with each other, yes. It will also allow the extensions of your local Asterisk box to use the PBXes trunks.
Now, if you want the PBXes extensions to be able to use the trunks of your local Asterisk box without DISA, the context should be from-internal. This way, PBXes incoming calls thru the PBXes trunk will be treated as local extensions and use the outbound rules if not dialing a local extension. With the context of from-trunk, from-pstn or from-zaptel, the calls are treated as external and only inbound rules will determine traffic flow.

This site was useful for said information:
http://www.freepbx.org/forum/freepbx/users/trunk-to-trunk-transfer

If you have any more info that'd help us both, I'd like to hear it!

Powered by: Burning Board Lite 1.0.2 © 2001-2004 WoltLab GmbH
English translation by Satelk