[asterisk-dev] Play announcements

Meadows Hoa meadows_sub at yahoo.com
Wed Jun 12 20:29:26 CDT 2013


QUESTION #1

If Asterisk's SIP channel driver (version 1.8) receives an SIP:INVITE from an endpoint (calling party), is it possible to play an announcement back to that originating endpoint immediately after the final SIP:ACK is received by the SIP channel driver?

Would something in the extensions.conf file like the following work?


Exten => 7000,1,Dial(SIP/7000,10)
Same => n,GotoIf($[“${DIALSTATUS}” =
“ANSWER”]?answer:busy)
Same => n(answer),Playback(tt-monkeys)
Same => n(busy),Playback(tt-somethingwrong,noanswer)



QUESTION #2:

Also, would there be a way to send an announcement through the terminating channel driver if the originating channel driver hung up,. so that an ANNOUNCEMENT is played to the called party before the terminating channel driver sends a SIP:BYE to the terminating endpoint (called party)?


QUESTION #3: 
Is there a way to have a Channel Driver 'trigger' an annoucement to play at different times in the call flow through that channel driver to its endpoint? Some kind of function to inv
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130612/331d0868/attachment.htm>


More information about the asterisk-dev mailing list