[asterisk-users] play prompt after hanup

Rilawich Ango maillisting at gmail.com
Fri Aug 14 04:39:53 CDT 2009


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')



More information about the asterisk-users mailing list