[Freeswitch-users] custom bridge ringback

Serge S. Yuriev me at nevian.org
Thu Apr 12 02:21:10 MSD 2012


Hello,

I trying to sequental bridge w/custom ringback. No RB here - just silence till connect, definitely I did something wrong

bridge {ringback=/usr/local/freeswitch/sounds/music/8000/danza-espanola-op-37-h-142-xii-arabesca.wav,effective_caller_id_number=${caller_id_number},ignore_early_media=true}[leg_timeout=30]loopback/7926xxxxxxx/allcoms.ru|loopback/7964yyyyyyy/allcoms.ru"

If I remove ignore_early_media - it plays media from leg B and not switching to next target as expected.
Loopback used as workaround for FS-3109 - can we use any other method?

btw if I use TGML in ringback, channel immediately HANGUP

2012-04-12 01:19:24.325555 [DEBUG] switch_ivr_originate.c:1227 Play Ringback Tone [^^:%(800:3200:425:0)]
2012-04-12 01:19:24.345530 [DEBUG] switch_core_codec.c:241 loopback/7964yyyyyyy-b Restore previous codec PCMA:8.
2012-04-12 01:19:24.345530 [DEBUG] switch_channel.c:2848 (sofia/external/7964yyyyyyy) Callstate Change EARLY -> HANGUP
2012-04-12 01:19:24.345530 [NOTICE] switch_ivr_originate.c:3182 Hangup sofia/external/7964yyyyyyy [CS_CONSUME_MEDIA] [NO_ANSWER]
2012-04-12 01:19:24.345530 [DEBUG] switch_channel.c:2871 Send signal sofia/external/7964yyyyyyy [KILL]

-- 
wbr,
Serge



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list