Jump to content

drewsmith

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by drewsmith

  1. Still no luck. Any other ideas?

     

     

    Hey Drew,

     

    I would approach it in a different way, because it seems to me that your msg variable is defined as global variable. The variable will always be overwritten during a simultaneous call. So you have to set the "global variabel" to be a "local call variable" first (do a type of variable-reinitialisation).

    Try setting a comand-line with another variablename like

     

    IVM.exe -outbound 5555555 -hide -set globalmsg=01

     

    after that in your first OGM in the advanced tab set

    "set local call variables" the value msg=%globalmsg%

     

    that will make the global call variable a local(msg=01). Hope it helps!

     

    Good luck and let me know if it works!

     

    Claudio

  2. Hey All,

     

    I hope someone can help with this. First, an overview of what I’m doing. Right now, I’m trying to dial a number and play an outgoing message from the command line. The outgoing message may be different each time and that is determined by a variable I provide in the command line (i.e. IVM.exe -outbound 5555555 -hide -set msg=01). I’m using a SIP line (vonage), not a land line and the sip line can handle multiple calls at once.

     

    In the first OGM, I have am taking the variable msg and using it to determine which audio file to play. That works just fine. The problem is this. If I initiate a second call with a different msg (i.e. msg=02), the msg variable for the call that is currently in progress will use the data from the second call. In other words:

     

    Call 1: I send msg=01

    Call 2: I send msg=02

    If call 1 hasn’t gotten to the point where it needs to used the data stored in msg, msg=01 will be overwritten with msg=02.

     

    I need to be able to process multiple calls at once in this fashion but with the way that it ends up working, I can only do one at a time otherwise the first call uses the audio file that the second call should use.

     

    Am I missing something? I read that the variable sent by the command line is a global variable. How do I send a variable that is only specific to a single call?

     

    Thanks for the help,

     

    Drew

×
×
  • Create New...