So some of the customers will be limited to five phone numbers, some will be limited to more or less than five, and others will have no limit???
Please post the DDL to build the table or tables involved, and the sample data for at least five customers. There are too many potential twists for me to even guess at a solution yet, and the schema snd sample data should give all of us a better handle on what you need.
-PatP