1

The issue is SayDigits is showing the files that are being played in the debug but cannot hear any sounds as shown below

Executing [*30@processor:1] SayDigits("SIP/507-0000000a", "507") in new stack
--`<SIP/507-0000000a> Playing 'digits/5.gsm' (language 'en')` 
--`<SIP/507-0000000a> Playing 'digits/0.gsm' (language 'en')`
--`<SIP/507-0000000a> Playing 'digits/7.gsm' (language 'en')`

have anybody faced this issue? How do I solve it?

J. Chomel
  • 8,193
  • 15
  • 41
  • 69
Rohit
  • 21
  • 3

1 Answers1

2

You need to answer the call first:

[processor]
exten => *30,1,Answer()
 same => n,SayDigits(${EXTEN})
 ...

*this syntax considers you are using a recent version of Asterisk.

arheops
  • 15,544
  • 1
  • 21
  • 27
Marco Zink
  • 104
  • 4