How can a UA accept a call but not accept an INVITE?  

On Sunday, June 21, 2015, John Nash <john.nash778@gmail.com> wrote:
I am using freeswitch in media bypass mode. I have a scenario like ...

UA-------->Freeswitch---------------> Gateway

My gateway sends ReInvite in every 12 minutes as keep alive and freeswitch forwards it to UA (Which I think is expected behavior as freeswitch is not handling Media) but the issue is UA does not support it.

Is there any way I can "handle" reinvite at freeswitch in such a way that in case gateway sends same SDP freeswitch sends 200 OK to gateway without forwarding it and send forbidden in case different SDP is sent?

John