On Mon, 2010-02-01 at 09:49 -0500, Jeff Gilmore wrote:
> 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've never tested this from OSX, so...

> 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.

Well, let's start with that - first, what version (exactly) of
sipx-trace are you using?  Where did you get it (you didn't install on a
Mac from an RPM :-) ).

Exactly what command line did you enter that failed?

>   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.

The details vary a bit depending on which version of sipx-trace you're
using, but yes, that's how it is supposed to work.

> 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.

It should accept a file name from the command line (the sipx-trace
script does exactly the same thing), so this is clearly another problem.
Again, knowing which version of sipviewer you've installed on your Mac
would be helpful.

> Does anyone have any better ideas how to make this task more automatable?

Several :-) ... and while I don't think they'll make it into the first
release of 4.2, they are in progress...


_______________________________________________
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/

Reply via email to