I use modify early media a lot for different reasons and it works fine. A couple of things to check:

1. The biggie… does your ITSP support changing early media? One of my ITSPs used to then stopped so I changed ITSPs.

2. See https://wiki.freeswitch.org/wiki/Mod_local_stream, I added the timeout stuff at the bottom which shows syntax for a file.

3. Did you check the FreeSWITCH log for the call to make sure the early media file was found and used properly?

Mario G

On Apr 28, 2015, at 3:06 AM, ankitdoshi <ankit_doshi2011@yahoo.com> wrote:

Hello friends,

I am newbie for ringback
http://https://wiki.freeswitch.org/wiki/Variable_ringback <http://>  
i need something like whenever i will make call until call answer ring must
be replace with my custom ring
i have tried different solutions for that but didn't get exact solution as i
need

My current dialplan show me like

<action application="bridge"
data={ring_back=file_string:///usr/local/freeswitch/sounds/en/us/callie/promofiles/sound_file.wav,ignore_early_media=true}[leg_timeout=30]sofia/gateway/gateway_name/XXXXX"/>


but its didn't work

is it right way to make a ringback as dialplan shows ?

Please let me know if i am doing anything wrong or need to change something
to make it work

Thanks in advance for suggestions and help





--
View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Custom-Ringback-tp7596156.html
Sent from the freeswitch-users mailing list archive at Nabble.com.

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org