According to the Extensive Dictionary of Rhymes (Guangyun), it is the same as the character pronounced yǎn. The History of Tang (Tangshu), Biography of Wang Zhongsi records: The army surrounded and ambushed from both flanks.
Also, according to the Collected Rhymes (Jiyun), it is the same as the character pronounced yǎn. Refer to the notes for the character pronounced yǎn under Radical: Corpse (shī).