AG Barr has agreed a new long-term contract with Cadbury Schweppes for the production, marketing and sale of the Orangina brand.