What model phone switch are you using?

Do you have UDP ports 6004-7039 open?