callgen323

leszek95b
2007-11-15
2013-06-03
  • leszek95b
    leszek95b
    2007-11-15

    Hello,
    callgen323 (after starting) waits for an ENTER pressed to disconnect and exit.I need to run callgen323 for many times (from a script). Eg:

    ################
    #!/bin/bash
    ################
    ./callgen323 -i 192.168.1.1:1720 -g 192.168.1.1 -u listener0 -I dirs/listener0 -O /home/lb/listener/media.wav --tcp-base 1720 --tcp-max 1720 --udp-base 1720 --udp-max 1720 --rtp-base 1720 --rtp-max 1720 -l 2>/dev/null >&2 &
    ./callgen323 -i 192.168.1.1:1721 -g 192.168.1.1 -u listener1 -I dirs/listener1 -O /home/lb/listener/media.wav --tcp-base 1721 --tcp-max 1721 --udp-base 1721 --udp-max 1721 --rtp-base 1721 --rtp-max 1721 -l 2>/dev/null >&2 &
    ################

    The problem is, after starting with "&" at the end it acts lie there was an ENTER pressed.
    Any idea what is the problem?