Buenas como estan? queria comentarles que tuve avances pero me esta faltando algo porque "hace todo" pero no se reproduce el auio.
En Extension-custom.conf tengo:
[TTS]
exten=> 6565,1,Answer()
exten => 6565,n,Wait(1)
exten => 6565,n,Set(TTSVAR=${SIP_HEADER(P-Mitrol-Texto)})
same => n,festival(${TTSVAR})
exten => 6565,n,Wait(1)
same => n,Hangup()
En el Log me aparece esto:
[2022-07-01 14:22:53] VERBOSE[14270][C-0000007d] pbx.c: Executing [6565@from-internal:1] Answer("SIP/Mite .15-0000007c", "") in new stack
[2022-07-01 14:22:53] VERBOSE[14270][C-0000007d] pbx.c: Executing [6565@from-internal:2] Wait("SIP/Mite .15-0000007c", "1") in new stack
[2022-07-01 14:22:54] VERBOSE[14270][C-0000007d] pbx.c: Executing [6565@from-internal:3] Set("SIP/Mite .15-0000007c", "TTSVAR=Hello") in new stack
[2022-07-01 14:22:54] VERBOSE[14270][C-0000007d] pbx.c: Executing [6565@from-internal:4] Festival("SIP/Mite .15-0000007c", "Hello") in new stack
[2022-07-01 14:22:55] VERBOSE[14270][C-0000007d] pbx.c: Spawn extension (from-internal, 6565, 4) exited non-zero on 'SIP/Mite .15-0000007c'
[2022-07-01 14:22:55] VERBOSE[14270][C-0000007d] pbx.c: Executing [h@from-internal:1] Hangup("SIP/Mite .15-0000007c", "") in new stack
[2022-07-01 14:22:55] VERBOSE[14270][C-0000007d] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/Mite .15-0000007c'