---slug: /guides/voice/recording-callssidebar_position: 1.9---# Recording CallsIn [Making and Receiving PhoneCalls](../making-and-receiving-phone-calls/index.mdx) we learned how to use XMLbins to define what should happen when a call is received by one of yourSignalWire numbers. In that case, we just played some audio. In this article,instead, we will use the same technique to record the audio of the call.## XML for Call RecordingWe are going to define the instructions for recording the call in an XML bin hosted onSignalWire. To create an XML bin, go to the LaML section in your [SignalWirespace](https://signalwire.com/signin), then click on Bins. To create a new XML bin, click the blue button in the LaML section of your SignalWire space. Create a new bin, and paste the following XML in it:xmlWe used the [](pathname:///compatibility-api/xml/voice/record) verb to start the recording, which will then be available from your SignalWire Space under the LaML section.The [](pathname:///compatibility-api/xml/voice/record) verb accepts alarge number of optional attributes which can be used to notify the state of arecording to an external URL, to define a set of keys that will stop therecording, to enable voice transcription, and much more. Check out the[technical documentation](pathname:///compatibility-api/xml/voice/record).## Assigning the Bin to a SignalWire Phone NumberThe final step is to configure one of your SignalWire phone numbers to answer calls using the XML bin we just created. You can do that from the Phone Numbers section: To configure your number to handle incoming calls with an XML bin, set Handle calls using to LaML Webhooks, then specify the URL of the XML bin. Refer to [Making and Receiving PhoneCalls](../making-and-receiving-phone-calls/index.mdx#receiving-incoming-calls) for more information about this step.## ConclusionYou are now ready to test the call recording bin.XML bins offer a quick and easy way to get started with common use cases. If you are an advanced developer, or you need moreflexibility and real-time control on your calls, you may be interested in ourguide about how to [make and receive calls in Node.js](guides/voice-api/guides/realtime-api/first-steps-with-voice/index.mdx).