How to make asterisk server automatically response to SIP call?
My objective: I want to use softphone(3CX phone) register with asterisk server, and make call to the server and asterisk act as a server to automatically response something, like play a song. How i did: I installed asteriskNow using virtualbox, and registered the softphone by setting exntension for my SIP device (extension 333). And i write a dialplan in etc/asterisk/extensions.conf . The dialplan is : [incoming] exten =>s,1,Answer() exten =>s,n,Playback(dir-intro-oper) exten =>s,n,Hangup() I want any incoming call to server, the server will automatically answer, and play a pre-defined voice