Shares of Viacom Inc. VIAB, +10.07% soared 9.5% in midday trade Tuesday, after the media affirmed its outlook, in the wake of the carriage agreement with AT&T Inc. T, +1.76% The gains add to the 3.9% rise on Monday, Viacom and AT&T issued a joint statement announcing the agreement. The company said in a filing with the Securities and Exchange Commission that it was “reaffirming its guidance for full-year domestic affiliate revenue growth.” The stock had tumbled 9.5% last week, after Viacom warned of a disruption of service for those accessing its TV networks through AT&T’s DirecTV. AT&T shares rose 1.8% on Tuesday, after rising 1.3% last week. Viacom’s stock has rallied 12.1% year to date, while the S&P 500 SPX, +0.76% has gained 12.5%

Have breaking news sent to your inbox. Subscribe to MarketWatch’s free Bulletin emails. Sign up here.