Hi All,
I am having numerous problems getting a new VoIP telephony system working with an assortment of programs - I have been trying to solve these problems for 2-3 months now but am having no luck, sometimes I fix one, and it breaks another - Hopefully someone out there will know the answers to my problem.
Here is a diagram of my setup :

- The orange lines represent communications of an internally developed XML protocol. This is a standalone system, and is working.
- The green lines represent general web traffic. This is a standalone system, and is working.
- The blue lines represent VoIP traffic. This is a standalone system, and is not working.
To give you a general overview of how the system works, (This is just for background reading, without problems) :
Developers are housed at the central development office, and some also work remotely. Each of them can access the central management server either via a web interface or thier desktop client which provides them with thier tasklists, auto-timesheeting etc. Currently all voice communication is done via normal landlines and mobile phones - what I want to do is create a system where calls can be directed to the correct developer (they work on different projects and clients should be passed to the correct developer).
To do this I have set up Axon, IVM, VRS + IMS, on the central management server which houses amongst other applications a webserver, dns server, database server. The IVM directs users through a few menus and uses an internally developed plugin to determine the appropriate extension to pass the user to. This part of the IVM system communicates with the management system perfectly fine and is working well.
The central management server is housed remotely in a data center with a 10MBps synchronous connection. The OS is Windows Server 2003. IPSec is the only 'firewall' as such. The box has 2 IP addresses (.76 and .77) on 1 NIC which is directly connected to the internet. The SIP Provider is aql - using single VoIP line.
So, onto the problems :
Dual IP Address not working
When running Axon on the server, it incorrectly sets its Public IP Address to use the second address (.77) when it should be using the first (.76). Using uPnP, STUN or manual override (and in any combination of the three) on the networking page of Axon has no effect. This has numerous strange effects including not answering/ringing for calls at all, one way audio, no audio - seems to vary.
This fault is quite easily overriden by removing the second IP Address from the NIC. This is not acceptable as a permanent solution - however, it is a slightly lower priority as the other issues persist despite this quick-fix.
One Way Audio
Have had this in all sorts of strange ways since setting the system up. Currently, an inbound call will ring through Axon to IVM, be answered, and will have bi-directional audio. (But this has been 'on and off' so to speak).
Audio from a softphone in the development office now has no audio in either (Hard to confirm outbound) direction.
I have toggled every different setting on the Axon line and tried several of my VoIP providers outbound proxies at thier reccomendation - Nothing has been effective and simply leaves different variants of the same fault (i.e reversing the direction which can be heard).
I have tested disabling the IPSec which effectively means the central management server has no firewall. this does not seem to have any effect whatsoever.
What would be most useful is if someone could confirm what the firewall settings should be used at any applicable point (i.e Central Server IPSec, NAT Routers, Development Office Server)
VRS has proven useful in getting some sort of insight into this issue - VRS seems to record both directions of audio in all circumstances.
Extensions not ringing
This was not always the case, but currently even if directly passed through Axon (using 'ring on' from the voip line) or called via a transfer from IVM, the softphones at the development office do not ring.
On-Hold not working
Anything that causes 'on hold' / 'ringing' to start, or any position where the on hold music from IMS should play, is instantly 'taken over' by music I presume to be from my VoIP provider. This includes pressing the 'hold' button (back when the extensions were sort of working), IVM starting a transfer, or using a group/queue set to use the IMS on hold player.
This problem probably has a lot to do with my VoIP provider but what I wonder, is why does the signal to hold ever get as far as my VoIP provider ???
Cannot use DNS Name on Extensions (FIXED : See later post)
When using a normal SIP gateway, the DNS name (+ possibly the port) is entered into the server field. If I enter the domain name of the central management server (which is working correctly, as it works for web/xml management client) - the extension will fail to register. Is this intended behaviour ? What if I ever wanted to put axon on a different server !?
I have been searching the forums quite a lot for the last 2 months but am really at a dead end with a lot of these errors. If anyone can help me solve these problems I would be VERY appreciative as they are driving me nuts !!! 
Thanks in advance.