# Saving raw G.711 PCMU data from voicemail?

**URL:** <https://community.asterisk.org/t/saving-raw-g-711-pcmu-data-from-voicemail/37283>\
**Category:** Asterisk Support\
**Created:** [November 4, 2011, 11:56pm UTC](https://community.asterisk.org/t/saving-raw-g-711-pcmu-data-from-voicemail/37283 "2011-11-04T23:56:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [November 4, 2011, 11:56pm UTC](https://community.asterisk.org/t/saving-raw-g-711-pcmu-data-from-voicemail/37283/1 "2011-11-04T23:56:11Z")

</div>

Is it possible to get Asterisk to save the raw G.711 PCMU data of a call instead of saving it as a wave file? I have to do some processing on the raw data and it would be much simpler if I didn’t have to convert it back from WAV format.

Thanks for any help!

---

<div class="post-metadata">

**Author:** ![david55](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@david55](https://community.asterisk.org/u/david55)\
**Post date:** [November 5, 2011, 10:38am UTC](https://community.asterisk.org/t/saving-raw-g-711-pcmu-data-from-voicemail/37283/2 "2011-11-05T10:38:13Z")

</div>

Make the extension part of the filename be the same as you would for a raw Mu-Law voice-announcement, or music on hold.

---

<div class="post-metadata">

**Author:** ![david55](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@david55](https://community.asterisk.org/u/david55)\
**Post date:** [November 5, 2011, 10:50am UTC](https://community.asterisk.org/t/saving-raw-g-711-pcmu-data-from-voicemail/37283/3 "2011-11-05T10:50:06Z")

</div>

Sorry, I answered for monitoring. For voicemail, there is a format parameter in voicemail.conf.
