RingGroup Problem help me

Hi All,

i want to configure ringgroup and allow only one call in one ring group at a time & if one exten of ringgroup is on inbound or outbound call then i don’t want to call on any exten of ringgroup, how i can configure please help me.