1 Reply Latest reply on Jul 9, 2012 10:38 AM by Steve Welsh

    cisco C20 send commands


      hi All


      I am trying to add some Cisco/Tandberg C20 to Cattools, in order to edit the phonebook from Cattools.


      My problem is that is will not start to send the commands to the device.


      From the debug it states:



      <NEWSESSION CatTools 3.7.0 09-07-2012 12:22:01>


      <DEVICE TYPE=Generic.Device>

      <ACTIVITY TYPE=Device.CLI.Send commands>

      <ACTIVITY SCRIPT=C:\Program Files (x86)\CatTools3\Scripts\Client.Device.CLI.Send commands.txt>


      <C OK 12:22:01><R-12:22:01>login: <W-12:22:01>admin[13]<R-12:22:01>admin[13][10]<R-12:22:02>Welcome to NR. Sundby, MTG6 [13][10]TANDBERG Codec Release TC5.1.2.289652[13][10]SW Release Date: 2012-05-23[13][10]<R-12:22:02>[13][10]OK[13][10][13][10]


      WFMDRetVal=1 Waiting for: "Password"

      WFMDRetVal=2 Waiting for: "Incorrect Password!"

      WFMDRetVal=9 Waiting for: ">"

      WFMDRetVal=10 Waiting for: "#"

      WFMDBuffer="admin[13][10]welcome to nr. sundby, mtg6 [13][10]tandberg codec release tc5.1.2.289652[13][10]sw release date: 2012-05-23[13][10][13][10]ok[13][10][13][10]"



      In putty:


      login: admin
      Welcome to NR. Sundby, MTG6
      TANDBERG Codec Release TC5.1.2.289652
      SW Release Date: 2012-05-23


      There is no Promt when you add commands.


      Any ideas.



        • Re: cisco C20 send commands
          Steve Welsh

          Hi Martin,


          If the device does not display any prompt (i.e. '>' or '#' for instance) or some other form of reoccurring text, then the Generic.Device type in CatTools will not work for this device.


          The prompt is an 'anchor point' that CatTools checks for after each command has been sent.

          Without a prompt, CatTools will be unable to determine that the command output has been fully captured.


          If the device has some form of reoccurring text (for example on menu-driven systems, you sometimes see things like 'press X to return to main menu'); then you may have some luck getting the device to work with CatTools; however if you can't get it working via the Device Variations feature within the Generic.Device type, then this will need to be added as a feature request.