Hi folks, I am trying to set up a simple way to use sipviewer from an external system (in this case MACOS OSX) to conveniently look at calls. I read the wiki page on this, but was not able to get a fully satisfactory solution.
I have configured ssh with a key so that I can execute commands remotely on the sipx server without a password. I first tried using sipx-trace with the "--system" option, but that just returns with the syntax description text and no error message. I assume from the docs that I am supposed to copy the sipx-trace.sh file to my local system and execute it here, having it fetch logs through its own use of SSH to the sixp server (but please correct me if I am wrong). I don't know why that is not working as advertised. As an alternative, I wrote a script which runs locally that executes sipx-trace on the sipx server, copies the resulting xml file back to the local host, and tries to open it in sipxviewer: cp a_call.xml a_call_prev.xml ssh sipx sipx-trace --all-components --output /tmp/a_call.xml ${1} scp sipx:/tmp/a_call.xml a_call.xml /Applications/SIPVIEWER/sipviewer a_call.xml This works, but has the minor problem that sipviewer does not accept a filename parameter, so I have to manually navigate to and open the trace file. Does anyone have any better ideas how to make this task more automatable? Thanks, Jeff _______________________________________________ sipx-users mailing list sipx-users@list.sipfoundry.org List Archive: http://list.sipfoundry.org/archive/sipx-users Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users sipXecs IP PBX -- http://www.sipfoundry.org/