[asterisk-users] play prompt after hanup

Rilawich Ango maillisting at gmail.com
Sun Aug 16 21:54:11 CDT 2009


HI,

  Actually, I want to do the following.
A (user) talks to B (CS).  At the end of the talk, B hangup and A will
goto the survey system.  That's why I need to play prompt for the user
after hangup.  Is it possible?



On Fri, Aug 14, 2009 at 6:32 PM, Trevor Hammonds<trevor at concipient.net> wrote:
> 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
>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> AstriCon 2009 - October 13 - 15 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list