Hi Klaus,

Some Perl code snippets - we use:
call_command("bridge", "sofia/gateway/bt/$ntd");
which, in turn, is:
sub call_command($$) {
        my $cmd = shift;
        my $arg = shift;
        print $sock "sendmsg\ncall-command: execute\nexecute-app-name: 
$cmd\nexecute-app-arg: $arg\n\n";
}

Cheers --

Dave

> Hi Folks,
>
> so far i could understand how to bridge calls with Javascript. I'm trying to 
> do the same with Java via the Socket Interface. My first trials weren't 
> successful. maybe you can help me understand what is goin on. 
>
> What i want to do is to bridge an existing leg (Unique-ID is known) to a 
> party that wasn't yet dialed (Unique-ID unknown). With javascript it is 
> something like:
>
> session.bridge("sofia/internal/1002");
>
> How do i do this using the event socket interface? what application/command 
> would i use with which arguments?
>
>
> One way i tried to do this is to orginate a call to 'sofia/internal/1002' and 
> bridge the two existing legs using uuid_bridge. Unfortunately, it wasn't 
> successful. The only message i had on the FS console is: 
>
> 2008-12-02 16:57:34 [DEBUG] switch_core_session.c:693 
> switch_core_session_queue_private_event() Send signal sofia/internal/[EMAIL 
> PROTECTED] [BREAK]
>
> Any idea what i'm missing?
>
> Thanks,
>
> Klaus.
>
>
>
>
>
>   


-- 
David Knell, Director, 3C Limited
T: 020 8114 8901  F: 020 3002 7257  M: 001 415 630 3031
http://www.3c.co.uk 


_______________________________________________
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

Reply via email to