hard to explain… but its like this… I have 5 ext., and answer for 3 companys each company have 2 lines, like port1 to port6… i need to ring all 5 ext and when the attendant answer the phone she needs to know from where this call is coming if it is from port 1,2,3,4,5 or 6. So i want to know if its possible make this in asterisk

Yes. Have each two ports go to its own context. In that context change the CID and add a prefix. Something like Exten => s,1,Set(CALLERID(name)=A - ${CALLERID(name)})

This way the receptionist knows what line is being called.