Hi all,
Sorry if this question is irrelevant or a duplicate of another one. I’am strugging for days to make this work.
I have a working asterisk installation and an IVR card which can handle incoming calls for a specific application.
What I want is to add an extension to make outgoing calls to a PSTN number and play a sound clip. I use the following extension for testing.
[deneme]
exten => s,1,Wait(2)
exten => s,2,Playback(hello-world)
exten => s,3,Hangup
The problem is when the call starts the called phone rings but the expected “Hello World” sound is not playing and the call finishes after 5 seconds (even if the call is not answered).
The output is like this
CLI> originate DAHDI/4/{PHONE_NUMBER_HERE} extension s@deneme
– Hanging up on ‘DAHDI/4-1’
– Hungup ‘DAHDI/4-1’
I need some clues to workaround this problem but the output does not help.
Any idea would be appreciated