An electronic device comprising: a modem; at least one sensor; a microphone; and at least one processor configured to: connect to the modem, the at least one sensor and the microphone, activate the at least one sensor during execution of a call application; determine a distance between the electronic device and a user of the electronic device based on data obtained by the activated at least one sensor; identify an environment using first audio data received via the microphone; determine an output strength of second audio data, which is received from a different electronic device connected via the call application, as an output strength corresponding to at least one of the determined distance or the identified environment from among output strengths recoded in a predetermine table; control outputting the second audio data with the determined output strength; determine a beam direction to receive the first audio data based on the identified environment and the data obtained by the activated at least one sensor; and control receiving the first audio data through the microphone in the determined beam direction. a modem; at least one sensor; a microphone; and at least one processor configured to: connect to the modem, the at least one sensor and the microphone, activate the at least one sensor during execution of a call application; determine a distance between the electronic device and a user of the electronic device based on data obtained by the activated at least one sensor; identify an environment using first audio data received via the microphone; determine an output strength of second audio data, which is received from a different electronic device connected via the call application, as an output strength corresponding to at least one of the determined distance or the identified environment from among output strengths recoded in a predetermine table; control outputting the second audio data with the determined output strength; determine a beam direction to receive the first audio data based on the identified environment and the data obtained by the activated at least one sensor; and control receiving the first audio data through the microphone in the determined beam direction. connect to the modem, the at least one sensor and the microphone, activate the at least one sensor during execution of a call application; determine a distance between the electronic device and a user of the electronic device based on data obtained by the activated at least one sensor; identify an environment using first audio data received via the microphone; determine an output strength of second audio data, which is received from a different electronic device connected via the call application, as an output strength corresponding to at least one of the determined distance or the identified environment from among output strengths recoded in a predetermine table; control outputting the second audio data with the determined output strength; determine a beam direction to receive the first audio data based on the identified environment and the data obtained by the activated at least one sensor; and control receiving the first audio data through the microphone in the determined beam direction.