[asterisk-users] play prompt after hanup

Trevor Hammonds trevor at concipient.net
Fri Aug 14 05:32:34 CDT 2009


On Friday, August 14, 2009, Rilawich Ango wrote:

>Hi,
>
>  Can I play a prompt after hanging up a call?  I have tried below but
failed.
>
>
>...
>exten => s,n,Dial(SIP/1234)
>...
>
>exten => h,1,Playback(demo-instruct)
>
>
>    -- Executing [h at macro-safedial:2] Playback("SIP/3601-09856bf0",
>"demo-instruct") in new stack
>[Aug 14 17:24:03] WARNING[2496]: file.c:738 ast_readaudio_callback:
>Failed to write frame
>    -- <SIP/3601-09856bf0> Playing 'demo-instruct' (language 'en')

Rilawich,

If the channel has been hung up, where do you expect the prompt to be
played?

Sincerely,
Trevor Hammonds




More information about the asterisk-users mailing list