Asterisk time based routing

This is a very common requirement that route the calls to Voice-mail after office hours. Orr transfer the calls to cell phone after 6:00. In Asterisk you can control the call location based on time and date. [AutoAttendant] exten => start,1,Verbose(2,Entering our...

Add Condition in Asterisk Dial-plan

While building a dial plan you will always run in scenario where you have to choose the action based on a if statement. In this example we can use a counter variable and based on the value of the variable we can make another decision.  Lets start with normal counter...

Call Recording in asterisk

If you want to do call recording in asterisk, Mix(Monitor() is your friend that you can use in dialplan. For example you want to record the calls coming on DID 1949 555 55555 exten => 19495555555,1,MixMonitor(${UNIQUEID}.ulaw) same => n,Dial(SIP/101) In another...

Insert Audio in Conference Bridge

So you have a working conference bridge in asterisk and you want to play a audio file in the conference bridge. Here is how you can add audio to the conference bridge. [ConferenceAudio] ; Users would join the conference at extension 5000 exten => 5000,1,Goto(start,1)...