Hiš
12.04.2012, 02:59, "Mario G" <mario_fs@mgtech.com>:
First, I am a FS novice here (17 months), but I do the same and I will tell you what I found:
š
My experience even less about 1y or so :)š
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"/>
š
In my case it's impossible AFAIK. I trying this in IVR menu action.
š š š šš
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.
š
I think there only one way to specify per call/per leg variablesš
š
May not be your issue but something to try.
š
Thank you for attention.š
Unfortunately your advices doesn't worked for me :(
Even more - looks like we can't use ringback as per leg - call immediatelyšdropped
š
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