said by coolspot18:Yes my SPA is answering the call them immediately forwarding the call to voip.ms via a sip uri.
Why do you have it answer first? My similar setup has (in PSTN-To-VoIP Gateway Setup) Off Hook While Calling VoIP set to no. Changing this is unlikely to fix your problem, but it will reduce the amount of silence heard by the caller until the IVR answers.
said by coolspot18:Most of the time the message pays five but about 20 to 30 percent of the time the first few seconds are cut off. I think bbm it maybe voip.ms because this happens if I call my sip directly via a soft phone
I had suspected a network issue and that test, by itself, does little to refute the hypothesis (though it does show that an SPA issue is unlikely). Stronger claims would be:
"This happens if I call my SIP directly via a soft phone, even when my PC is connected directly to the modem in bridge mode and gets a public IP address."
or:
"This happens if I call my SIP directly via a soft phone at my friend's house. He has a different ISP and router."
You might also try temporarily forwarding to a free Callcentric account set to go straight to voicemail. This won't be a real IVR, but you can see whether the first few seconds of the greeting sometimes gets cut off.
Or, if you have some networking knowledge, you could try my favorite approach, which is to find out what is actually going wrong.