Dial L Option with LIMIT_PLAYAUDIO_CALLER don not play

Hi everybody,

I’m having problems playing WARNING FILE with L Option to Caller path… In the opposite path (Callee) I have not problem.

As my dialplan below:

[timelimitedtransfers]
exten => _0[12356]XXXX,1,NoOp(CALL TRANSFERED TO EXTENSION: ${EXTEN:1:3} WITH THE NEXT LIMIT ${EXTEN:4} MINUTES)
same => n,Set(LIMITE=$[${EXTEN:4} * 60000])
same => n,Set(LIMIT_PLAYAUDIO_CALLER=yes)
same => n,Set(LIMIT_PLAYAUDIO_CALLEE=yes)
same => n,Set(LIMIT_WARNING_FILE=warning-timeout)
same => n,Dial(SIP/${EXTEN:1:3},TtrHL(${LIMITE}:60000))
same => n,Hangup()

I’m using it to transfer to an extension with x minutes of limit… I receibe a call and I want to transfer to extension 155 with a limit of 2 minutes… for example.

For attended transfers I have configured #1… so I use #1015502

As you can see in the dialplan… when the calls is upon to complete (60 seconds before) I want to play my warning file… that’s ok in the calle path… but the caller path does not heard anything

NOTE: warning file exists… the callee party can hear it.

Thanks in advance.

Can you show the output of the CLI when this executes? In particular, I’m curious what the value of ${LIMITE} is, as well as any other output that may be given when the call reaches its warning mark.

Also: what version of Asterisk are you using?

1 Like