Tandberg Call Status
Jubal
Posts: 77
Im doing Program to check the duration and call status for this tandberg unit, i know how to get the status and put it in a buffer but my question is how can i know the status of VC call without pressing any button (what i mean is when somebody call it should appear instantly)
2nd question is the status i get from tandberg for call duration is in second.
Line 4 (15:21:44):: String From [5001:3:1]-[*s Call 39 Duration: 1140$0D$0A** end$0D$0A$0D$0AOK$0D$0A]
how can i change it to time format like this 1140 = 00:19:00
2nd question is the status i get from tandberg for call duration is in second.
Line 4 (15:21:44):: String From [5001:3:1]-[*s Call 39 Duration: 1140$0D$0A** end$0D$0A$0D$0AOK$0D$0A]
how can i change it to time format like this 1140 = 00:19:00
0
Comments
2. wrt time something like this should work, I think (haven't checked to be sure and there may be easier ways though)
hours = time/3600
minutes = (time%3600)/60
seconds = (time%3600)%60
i want to send this command but need this one automatic when there's a call
SEND_STRING dvVTC, "'xStatus Call Duration',$0D"
SEND_STRING dvVTC, "'xStatus Call Status',$0D"
where can i find that document???
I just googled "Cisco C60 api" it was one of the first hits.
The sLine parsing gets pretty complicated because you have to remember state across multiple lines to process each response effectively. Make sure to get the username and password in there, it is required even on the serial port. The login can be turned off from the codec advanced menu, but it is safer to deal with it in code, as this setting is reset when firmware is updated on the codec. Unless you are pursing this for the learning experience you might want to check out the AMX module to control this beast. It is a fairly complex process to parse all the data that comes back from these codecs. That being said, doing is the best way to learn!
I dont want to use all feature of this module i only need this two part.
My issue is if i use all module, most of the channel code number is similar to the one i already have
if i change the port also in module i need to change the name for this TP. i find it more also