ringback variable must be set on the originating leg (the A leg aka inbound leg of the call)
then that channel must be provided as the 2nd arg to the session constructor after the dial string or used with bridge.
session.setVariable("ringback", "%(2000,4000,440,480)");
session.execute("bridge", "sofia/internal/foo@bar.com");
or
// passing session as the 2nd arg allows the ringback to play on session while session2 is established.
session2 = new Session("sofia/internal/foo@bar.com", session);
bridge(session, session2); //or whatever
I'm using the default dialplan.
On Fri, Jan 8, 2010 at 4:02 PM, Nicolas Brenner <nicolas@medularis.com> wrote:
> Not that I'm aware.
>
>
> On Fri, Jan 8, 2010 at 11:41 AM, Brian West <brian@freeswitch.org> wrote:
>> Are you using proxy media?
>>
>> /b
>>
>> On Jan 7, 2010, at 11:33 PM, Nicolas Brenner wrote:
>>
>>> I'm trying to fake a ringback for leg1 of a two-legged call without success.
>>
>>
>> _______________________________________________
>> 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
>>
>
_______________________________________________
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