[Freeswitch-users] Early media

Jurijs Ivolga jurij.ivo at gmail.com
Wed Jun 3 15:49:32 MSD 2015


Hi!

I'm trying to send early media in Freeswitch, but without success. Here is
my code in Lua script:

session:preAnswer()
session:streamFile("/tmp/prompts/vm-not_available_no_voicemail.wav")

When I'm calling from my x-lite, everything works. But when I'm calling
from my mobile it is not working. I'm using Voxbeam as DID provider.

Same Voxbeam provider works perfectly with early media on Asterisk. Working
code from Asterisk:

exten => _X.,1,Ringing
exten => _X.,n,Progress()
exten => _X.,n,Playback(hello-world,noanswer)

Any help will be highly appreciated!

With kind regards,

Jurijs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150603/8ed900fb/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list