2N gateways
with FreePBX and its derivatives (Elastix, trixbox)
Seeting up 2N VoiceBlue can be quite difficult due to few facts
- Documentation contains some contradictory information which could take a lot of
time searching for right answers
- support from 2N in Czech Republic will redirect You to local support and this could mean a lot.
We were told that default settings with IP 10.0.0.1 is needed for internal working of gateway.
If this is necessary for internal working why is it public accessible from outside?
At one site gateway was spraying SIP REGISTER requests all over 172.X.X.X network?
Support redirect to local/national supports although
support@2n.cz
Cookbook
Trixbox
- Trunks
- SIP
- Outgoing Settings
- Incomming Settings
- Notes:
- If CALLERID parsing editing is needed (prepending for redial for Cisco/Linksys phones) then use
custom context (context=from-trunk-custom)
- output of the sip show peers coomand should show registered GSM2N trunk and
context, possibly unmonitored
- Outobund routes
2N
- factory rset
- prepare licence if not backuped (licence can be found in backup)
- Network
nothing, zilch, nada
- Devices
- SIP lines
|
Line ID |
SIP server |
Phone Number |
Description |
|
[16] |
$IP_ASTERISK |
$EXTENSION |
|
|
|
|
|
|
- Detalis per line
- Line:16
- register with proxy: false
(uncheck)
- port: 5060
FreePBX from trunk outgoing settings
- SIP name: numeric|text
prepended in from-trunk-context
- Enable CLIP: true
(check)
to send CLIP callerid
- SIM Cards
- PINs
add PIN per SIM card if needed
- GSM routing
incomming routing based on modules (no matter which SIM is inside) or SIM cards
|
GSM device |
Service Name |
Description |
|
GSM module - 1 |
incomming |
099 |
|
GSM module - 2 |
incomming |
091 |
- SIM routing
incomming routing based on SIO card
- Operator
extension to be called upon incomming call from mobile network
- Operator number: 38517779555
Inbound route DID in FreePBX
- table
|
Service |
Operator number |
VoIP Line |
Description |
|
incomming |
38517779555 |
16 |
|
- SIP proxy
OFF
link: switch proxy on (meaning it is off)
- LCR == outgoing routing on GSMGW
- Routes
add them first
- Name:
- Lines of route:
pick SIM card or module
- CLI/CLR: default
- Table
|
Destination |
Prefix[es] |
Enabled |
Routes |
Description |
|
091 |
091;0038591;092;0038592;095;0038595 |
checked |
VIP 091 |
VIP 091 |
|
099 |
098;0038598;099;0038599 |
checked |
T-mobile 098, 099 |
HT 098, 099 |
- Destination details
- Prefix
091;0038591;092;0038592;095;0038595
add as much as You need
- Enable: true
(check)
- Route
add route defined inf LCR::Routes
- Priority: first free
- Desc: VIP 091
Test GW with
SIP client to GW
- XLite - RightClick
- SIP Account Settings
select Account
- Properties
- Account
- Domain Proxy
- Register with domain adn receive incomming calls: false
(uncheck)
- usage
extension@$IP_ADDRESS