Calls Dropping at 6 minutes

I have a system that the call hangups up after 6 minutes or so. I watched the logs and its doing a BYE and does a disconnect.

Is there a place where I can change the expire time? I think its disconnecting like the call is a hung call.