Here's where I am at now....having tried knob's and dbsquareds' suggestions
The script connects to the 1st entry, opens the capture, names it correctly and logs off. The 2nd entry is then dialled, at this point while the switch is still being dialled a capture file called pwxx.cap is opened...
Thanks dbsquared the script is now dialling each entry in turn as required although your version is probably neater.
This is what I have so far the capture file name is still causing problems
proc main
dial DATA GROUP "group name" CONNECTALL ; Dial group entry.
while...
I think I have this sorted now. I added a while 1 command after connecting.
However I have another problem, I am trying to set the capture file name to the connection directory name. I have used set capture CURRENT which works for the first connection but not subsequent ones, these are called...
I need to write a script that logs into a group of pbx sites using the connection directory, opens a capture file capture some data, and close the capture file for each entry. So far I have managed to get the script to perform correctly for the 1st site, but on the 2nd entry the site is dialled...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.