# Playback sound is messed up ( crippled )

**URL:** <https://community.asterisk.org/t/playback-sound-is-messed-up-crippled/8870>\
**Category:** Asterisk Support\
**Created:** [August 29, 2006, 2:16pm UTC](https://community.asterisk.org/t/playback-sound-is-messed-up-crippled/8870 "2006-08-29T14:16:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![belanda](https://avatars.discourse-cdn.com/v4/letter/b/6a8cbe/32.png) [@belanda](https://community.asterisk.org/u/belanda)\
**Post date:** [August 29, 2006, 2:16pm UTC](https://community.asterisk.org/t/playback-sound-is-messed-up-crippled/8870/1 "2006-08-29T14:16:47Z")

</div>

Hi, I try to learn playback feature.  
exten =\> 5,2,Playback(/usr/share/asterisk/sounds/hello-world)

I installed asterisk from Ubuntu packages ( sudo apt-get install asterisk ).

The version?  
hulahula\*CLI\> show version  
Asterisk 1.2.7.1 built by buildd @ terranova on a i686 running Linux on 2006-08-04 06:49:36 UTC

This is my sip.conf:

```auto
[general]
context=default
srvlookup=yes
videosupport=yes ; Turn on support for SIP video
realm=hulahula
disallow=all ; First disallow all codecs
allow=gsm
allow=ulaw ; Allow codecs in order of preference
allow=alaw
allow=speex
allow=h261
allow=h263
allow=h263p
[john]
type=friend
secret=welcome
qualify=yes ; Qualify peer is no more than 2000 ms away
nat=no ; This phone is not natted
host=dynamic ; This device registers with us
canreinvite=no ; Asterisk by default tries to redirect
context=internal ; the internal context controls what we can do
```

This is my extensions.conf

```auto
[internal]
exten => 5,1,Answer()
exten => 5,2,Playback(/usr/share/asterisk/sounds/hello-world)
exten => 5,3,Hangup()
```

I run asterisk server and client in local lan.  
Ok, I test it with yate softphone:  
When I click 5 and dial it, it connects and I can hear the sound but it is messed up. I didn’t know what it say. The sound came very quickly. But the volume is okay. The sound is quite loud.

I got this in my asterisk console ( in server ):  
– Executing Answer(“SIP/john-ac53”, “”) in new stack  
– Executing Playback(“SIP/john-ac53”, “/usr/share/asterisk/sounds/hello-world”) in new stack  
– Playing ‘/usr/share/asterisk/sounds/hello-world’ (language ‘en’)

Ok, what’s wrong? Oh yeah any software to listen gsm file in linux? I just curious what hello-world.gsm sounds like.

---

<div class="post-metadata">

**Author:** ![cpdist](https://avatars.discourse-cdn.com/v4/letter/c/49beb7/32.png) [@cpdist](https://community.asterisk.org/u/cpdist)\
**Post date:** [August 29, 2006, 2:36pm UTC](https://community.asterisk.org/t/playback-sound-is-messed-up-crippled/8870/2 "2006-08-29T14:36:02Z")

</div>

I don’t know why the playback is clumsy. But, you can use “Play” utility in linux for playing gsm,wav files etc… It comes along with standard sox package.
