- Setup
- 2 Servers Called Server2 and Server3 (to match IP no server1)
- Server2
- (MAC: 00:00:00:00:00:02)
- IP:10.1.2.100
- Phones: 2001,2002,2003
- Server3
- (MAC: 00:00:00:00:00:03)
- IP:10.1.3.100
- Phones 3001,3002,3003
- //Server 2 Setup ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- //dundi.conf
- [general]
- organization=Server2
- locality=foo
- stateprov=NY
- country=US
- phone=5555555555
- ttl=32
- autokill=yes
- entityid=00:00:00:00:00:02
- [mappings]
- priv => dundiextens,0,IAX2,priv:${SECRET}@10.1.2.100/${NUMBER}
- [00:00:00:00:00:03]
- model = symmetric
- host = 10.1.3.100
- inkey = priv
- outkey = priv
- include = priv
- permit = priv
- qualify = yes
- order = primary
- //iax_custom.conf
- [priv]
- type=friend
- dbsecret=dundi/secret
- context=incomingdundi
- //extensions_custom.conf
- [incomingdundi]
- include => dundiextens
- [dundiextens]
- exten => _2XXX,1,Goto(from-internal,${EXTEN},1)
- //FreePBX Setup
- Server2 DUNDi Trunk
- Trunk Name: priv
- Outbound CallerID: <XXXX>
- Dialed Number Manipulation Rules: ()+ | NXXX
- DUNDi Mapping: priv
- // End of Server 2 Setup ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- //Server 3 Setup ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- //dundi.conf
- [general]
- organization=Server3
- locality=foo
- stateprov=NY
- country=US
- phone=5555555555
- ttl=32
- autokill=yes
- entityid=00:00:00:00:00:03
- [mappings]
- priv => dundiextens,0,IAX2,priv:${SECRET}@10.1.3.100/${NUMBER}
- [00:00:00:00:00:02]
- model = symmetric
- host = 10.1.2.100
- inkey = priv
- outkey = priv
- include = priv
- permit = priv
- qualify = yes
- order = primary
- //iax_custom.conf
- [priv]
- type=friend
- dbsecret=dundi/secret
- context=incomingdundi
- //extensions_custom.conf
- [incomingdundi]
- include => dundiextens
- [dundiextens]
- exten => _3XXX,1,Goto(from-internal,${EXTEN},1)
- //FreePBX Setup
- Server3 DUNDi Trunk
- Trunk Name: priv
- Outbound CallerID: <XXXX>
- Dialed Number Manipulation Rules: ()+ | NXXX
- DUNDi Mapping: priv
- // End of Server 3 Setup ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~