1. Setup
  2. 2 Servers Called Server2 and Server3 (to match IP no server1)
  3. Server2
  4. (MAC: 00:00:00:00:00:02)
  5. IP:10.1.2.100
  6. Phones: 2001,2002,2003
  7. Server3
  8. (MAC: 00:00:00:00:00:0B)
  9. IP:10.1.3.100
  10. Phones 3001,3002,3003
  11. //Server 2 Setup ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  12. //dundi.conf
  13. [general]
  14. organization=Server2
  15. locality=foo
  16. stateprov=NY
  17. country=US
  18. phone=5555555555
  19. ttl=32
  20. autokill=yes
  21. entityid=00:00:00:00:00:02
  22. [mappings]
  23. priv => dundiextens,0,IAX2,priv:${SECRET}@10.1.2.100/${NUMBER}
  24. [00:00:00:00:00:03]
  25. model = symmetric
  26. host = 10.1.3.100
  27. inkey = priv
  28. outkey = priv
  29. include = priv
  30. permit = priv
  31. qualify = yes
  32. order = primary
  33. //iax_custom.conf
  34. [priv]
  35. type=friend
  36. dbsecret=dundi/secret
  37. context=incomingdundi
  38. //extensions_custom.conf
  39. [incomingdundi]
  40. include => dundiextens
  41. exten => _2XXX
  42. //FreePBX Setup
  43. Server2 DUNDi Trunk
  44. Trunk Name: priv
  45. Outbound CallerID: <XXXX>
  46. Dialed Number Manipulation Rules: ()+ | NXXX
  47. DUNDi Mapping: priv
  48. // End of Server 2 Setup ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  49. //Server 3 Setup ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  50. //dundi.conf
  51. [general]
  52. organization=Server3
  53. locality=foo
  54. stateprov=NY
  55. country=US
  56. phone=5555555555
  57. ttl=32
  58. autokill=yes
  59. entityid=00:00:00:00:00:03
  60. [mappings]
  61. priv => dundiextens,0,IAX2,priv:${SECRET}@10.1.3.100/${NUMBER}
  62. [00:00:00:00:00:02]
  63. model = symmetric
  64. host = 10.1.2.100
  65. inkey = priv
  66. outkey = priv
  67. include = priv
  68. permit = priv
  69. qualify = yes
  70. order = primary
  71. //iax_custom.conf
  72. [priv]
  73. type=friend
  74. dbsecret=dundi/secret
  75. context=incomingdundi
  76. //extensions_custom.conf
  77. [incomingdundi]
  78. include => dundiextens
  79. exten => _3XXX
  80. //FreePBX Setup
  81. Server3 DUNDi Trunk
  82. Trunk Name: priv
  83. Outbound CallerID: <XXXX>
  84. Dialed Number Manipulation Rules: ()+ | NXXX
  85. DUNDi Mapping: priv
  86. // End of Server 3 Setup ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Summary of Simple DUNDi Setup with two Servers refereed to as Server 2 and Server 3

NOTE: NO SERVER ONE