once you are controlling both sessions individually use api to send the
uuid_bridge command:
api uuid_bridge <uuid of leg a> <uuid of leg b>
On Tue, Oct 21, 2008 at 9:37 AM, Dennis <[EMAIL PROTECTED]> wrote:
> 2008/10/20 Anthony Minessale <[EMAIL PROTECTED]>:
>
> >> A more precise question about inbound/outbound: I want to read out the
> >> events from freeswitch with my PHP-script and then tell freeswitch,
> >> what to do next. I have the feeling, that "outbound" is the way to go.
> >> But of course I also want to be able to start calls. Can I do this by
> >> using "outbound"?
> >
> > yes
>
> But what is the difference between "bridge" and "originate" in
> handling dials? "bridge" connects two calls together, but "originate"
> seems to be a part of "bridge".
> If we make a "bridge", both legs seem to bee in the same session, when
> using socked outbound.
>
> We make a "bridge" as follows:
> $this->invokeMessage("bridge", "sofia/internal/[EMAIL PROTECTED]");
>
> When we use "originate" (which we prefer, because we do not want to
> connect both call with each other immediately), we use the following
> command:
> $this->invokeCommand("API originate
> {origination_caller_id_number=123455}sofia/internal/[EMAIL PROTECTED]
> 123");
>
> The problem is, that the new call is now in another call-session and
> we do not know how to bring the calls together.
>
> Does it have something to do with "API"? If yes, is there a way to use
> "originate" with "sendmsg"?
>
> Thanks
> Dennis
>
> _______________________________________________
> Freeswitch-users mailing list
> [email protected]
> 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/
AIM: anthm
MSN:[EMAIL PROTECTED] <[EMAIL PROTECTED]>
GTALK/JABBER/PAYPAL:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:[EMAIL PROTECTED] <[EMAIL PROTECTED]>
iax:[EMAIL PROTECTED]/888
googletalk:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
pstn:213-799-1400
_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org