hi I want to make calls without going through the server I change the parameter direct media = yes extensions and sip canreinvite = yes but it did not work

If you trying to bypass the server, why would the settings in the server matter?
If your prone sets support IP calling, you have to program that in the phone set.

It is pretty simple, you just call IP of the other phone instead of extension number…