An image forming apparatus and a method of controlling the same is provided. In an embodiment of the present invention, a service-providing network, which has the capability of providing advanced telephony services to a service subscriber for calls that traverse it, provides advanced telephony services to calls directed to a telephony device on a native transport network. Charges attached to the material pattern are removed with at least one discharge gas.