I am able to connect a call and hear voice. But unable to hear the music/sound when IVR plays.
Checked with Asterisk CLI. It is showing as “<SIP/reliance-0000016d> Playing ‘tt-monkeys.gsm’ (language ‘en’)”.
Also checked the sound location using “locate sounds” command. It is showing “/var/lib/asterisk/sounds/en/…” path only.
Asterisk CLI Result:
Below I am adding the audio file information and sip.conf details. Kindly have a look and help me on solving this issue
File path : /var/lib/asterisk/sounds/en/tt-monkeys.gsm
Folder Permission : /var/lib/asterisk/ - drwxr-xr-x
File permission : -rw-r–r-- 1 asterisk asterisk 26697 Jan 19 2016 tt-monkeys.gsm
Sip.conf
[reliance]
type=peer
secret=123456
username=****
host=***
dtmfmode=rfc2833
canreinvite=no
directmedia=no
disallow=all
allow=gsm
allow=ulaw
allow=alaw
insecure=port,invite
fromdomain=bangalore.relianceims.in
context=from-trunk
qualify=yes
nat=force_rport,comedia
sndrpid=yes
Dialplan
exten => _X.,1,Answer() ; Connect
exten => _X.,n,Playback(tt-monkeys) ; Play the audio
exten => _X.,n,Hangup() ; End the call