[Freeswitch-users] Need to fake ringback

Anthony Minessale anthony.minessale at gmail.com
Fri Jan 8 18:46:48 PST 2010


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 at 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 at bar.com", session);
bridge(session, session2); //or whatever


On Fri, Jan 8, 2010 at 1:02 PM, Nicolas Brenner <nicolas at medularis.com>wrote:

> I'm using the default dialplan.
>
>
> On Fri, Jan 8, 2010 at 4:02 PM, Nicolas Brenner <nicolas at medularis.com>
> wrote:
> > Not that I'm aware.
> >
> >
> > On Fri, Jan 8, 2010 at 11:41 AM, Brian West <brian at 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 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
> >>
> >
>
> _______________________________________________
> 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
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:+19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100108/f45324b3/attachment-0002.html 


More information about the FreeSWITCH-users mailing list