How to test early media using Asterisk?

Folks

Can someone provide insight into how we can test early media using Asterisk? Fundamentally I like to know how to get Asterisk to pump early media (before call connects) to the caller by reading some media from a local file.

TIA
MBGCHAT

To test early media with Asterisk you can play a file with Playback dialplan application, with the option “noanswer” set, without answering the call, like in the following example:

exten=>s,1,Wait(1)
exten=>s,2,Playback(welcome,noanswer)
exten=>s,3,Hangup

I did some tests about, just two weeks ago, with Asterisk and one Audiocodes E1-SIP gateway and all worked well.

Cheers.

Marco Bruni
www.marcobruni.net