at www.skip2pbx.com there is some nice software to add skype support to asterik based pbxes. Up to 30 skype lines can be used.
As I understand it the software is setup as a seperate severs and sip users can connect to them. I have no idea if this could be integrated at all with pbxes but it might be a very nice feature at some monthly extra cost.