[Freeswitch-users] custom bridge ringback

Mario G mario_fs at mgtech.com
Thu Apr 12 02:59:00 MSD 2012


First, I am a FS novice here (17 months), but I do the same and I will tell you what I found:
1.  I use a separate statement prior to the bridge, I think yours would be (in fact you may just be missing the "file_string":
<action application="set" data="ringback=file_string:///usr/local/freeswitch/sounds/music/8000/danza-espanola-op-37-h-142-xii-arabesca.wav"/>
        
2. I recently found that mixing[] first then {} on the same bridge line caused problems, changing the first [] to {} so both sets matched fixed it. Yours is opposite though so I don't know if it applies.

May not be your issue but something to try.
Mario G

On Apr 11, 2012, at 3:21 PM, Serge S. Yuriev wrote:

> 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
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120411/8dd2dbdf/attachment.html 


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