How to execute another tcl script from one?

Version 1

    Subject: RE: How to execute another tcl script from one?
    Replied by: Max Lamovich on 02-06-2011 05:08:09 AM
    Hi all!
    Thank you for help!
     
    I have one more question:
    How can I execute another tcl application from one tcl script?
     
    I need it for simultaneous outgoing calls, because in signle tcl script, as I see, I can't make a multiple outgoing simultaneous calls to various phones.


    Already wote You here Link

    Subject: RE: How to execute another tcl script from one?
    Replied by: Raghavendra Gutty Veeranagappa on 02-06-2011 07:40:31 AM
    Hi Marat,

    You can use sendmsg command, Sends a message to another application instance with list of params.

    sendmsg {<app-name> | <handle>} -p <parameter_array>

    Thanks,
    Raghavendra
    This document was generated from CDN thread

    Created by: Marat Rabidinov on 01-06-2011 11:07:21 PM
    Hi all!
    Thank you for help!
     
    I have one more question:
    How can I execute another tcl application from one tcl script?
     
    I need it for simultaneous outgoing calls, because in signle tcl script, as I see, I can't make a multiple outgoing simultaneous calls to various phones.

    Subject: RE: How to execute another tcl script from one?
    Replied by: Marat Rabidinov on 02-06-2011 05:11:51 AM
    Link is dead

    Subject: RE: How to execute another tcl script from one?
    Replied by: Yaw-Ming Chen on 02-06-2011 12:59:41 PM

    Hi all!
     
    I need it for simultaneous outgoing calls, because in signle tcl script, as I see, I can't make a multiple outgoing simultaneous calls to various phones.



     
    If I understand correctly you are trying yo blast the call, when destination phone pick up will hear the media play.
     
    Please refer to the leg setup command in programming guide
     
    If multiple destination numbers are specified, the leg setup command places the call to all the
    specified numbers simultaneously (causing all the destination phones to ring at the same time).
    When the first destination phone is answered, the call is connected and the remaining calls are
    disconnected.
    (This is called blast calling.) Therefore, when you receive the ev_setup_done event
    and then issue an infotag get evt_legs info-tag command, the incoming leg is returned.
     
    No you will argue that rest of call will be disconnected. But luckily you don't have incoming leg so rest of calls will remain ringing/connected...
    But you need to use  "infotag get evt_legs" to get leg id to play media and you need to properly managinf each leg in state machine.
     
    By the way with Cisco Developer Services team they can help you in great detail if yuo open a case with Developer Services contract
     
    Thanks !

    Subject: RE: How to execute another tcl script from one?
    Replied by: Max Lamovich on 02-06-2011 10:22:15 PM
    Link is dead

    Sorry )
    http://developer.cisco.com/web/vgapi/forums/-/message_boards/view_message/3946922