Maybe you can try this:

sipx-dialog-count /var/log/sipxpbx/sipXproxy.log | grep INVITE  >
/tmp/allcalls

This will produce a set of lines like:

           42       INVITE   2010-10-11T18:02:33
MzQ1M2E0NThmODRiZDM3MjA0ZjQ3OThmODcyNzA4YzE.
           12       INVITE   2010-10-12T15:05:58
[email protected]

the first column is the number of requests in the call, the third is the
start time of the call in UTC (universal time), and the fourth is the
call id.

cd /
sipx-trace -P . -o merged.xml  callid1 callid2

Once you get your tokens, for the callid's, you should be able to produce
one trace.


On Thu, Oct 14, 2010 at 3:06 AM, Nikolay Kondratyev <[email protected]> wrote:

>  May be siptrace-merge will do what you want?
> Rgds,
> Nikolay.
>
> P.S.
> [r...@beaver ~]# head /usr/bin/siptrace-merge
> #! /usr/bin/perl
>
> # To run:
> #
> #   siptrace-merge [selection-options] file.xml ... >merged.xml
> #
> # Takes several siptrace XML files and merges them into one.
> # Based on timestamps and branch-ids, detects when a packet is logged in
> # more than one file and combines them.  Works only when the clocks are
> # tightly synchronized, but usually all the logs were taken from servers
>
>
>
>  ------------------------------
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *McIlvin, Don
> *Sent:* Thursday, October 14, 2010 2:31 AM
> *To:* Discussion list for users of sipXecs software
> *Subject:* [sipx-users] merging sipx-trace files?
>
>   Is there a way or tool to merge several sipx-trace files made with
> different tokens to become one file for Sipviewer to open?
>
>
>
> Regards,
>
> Don McIlvin
>
>
>
>
> "The information in this electronic mail message is the sender's
> confidential business and may be legally privileged. It is intended solely
> for the addressee(s). Access to this internet electronic mail message by
> anyone else is unauthorized. If you are not the intended recipient, any
> disclosure, copying, distribution or any action taken or omitted to be taken
> in reliance on it is prohibited and may be unlawful."
>
> "The sender believes that this E-mail and any attachments were free of any
> virus, worm, Trojan horse, and/or malicious code when sent. This message and
> its attachments could have been infected during transmission. By reading the
> message and opening any attachments, the recipient accepts full
> responsibility for taking protective and remedial action about viruses and
> other defects. The sender's employer is not liable for any loss or damage
> arising in any way from this message or its attachments." [v1.0.07.109]
>
>
> _______________________________________________
> sipx-users mailing list
> [email protected]
> List Archive: http://list.sipfoundry.org/archive/sipx-users/
>



-- 
======================
Tony Graziano, Manager
Telephone: 434.984.8430
sip: [email protected]
Fax: 434.326.5325

Email: [email protected]

LAN/Telephony/Security and Control Systems Helpdesk:
Telephone: 434.984.8426
sip: [email protected]

Helpdesk Contract Customers:
http://support.myitdepartment.net
_______________________________________________
sipx-users mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users/

Reply via email to