Giter VIP home page Giter VIP logo

sip-viewer's People

Contributors

ftardif avatar jagliot avatar jrochette avatar

sip-viewer's Issues

Fedora 17 - Exception in thread "main" java.lang.RuntimeException

What steps will reproduce the problem?
1. in terminal, run java -jar sip-viewer-1.9.2-jar-with-dependencies.jar 
full-11apr
2.
3.

What is the expected output? What do you see instead?
I get error:-
Exception in thread "main" java.lang.RuntimeException: Expected IN or OUT, 
found unexpected char V
    at javax.sip.viewer.parser.TextLogMessageParser.parseDetails(TextLogMessageParser.java:291)
    at javax.sip.viewer.parser.TextLogParser.parseMessageDetails(TextLogParser.java:57)
    at javax.sip.viewer.parser.TextLogParser.parseLogs(TextLogParser.java:39)
    at javax.sip.viewer.SipTextViewer.display(SipTextViewer.java:76)
    at javax.sip.viewer.SipTextViewer.main(SipTextViewer.java:238)

What version of the product are you using? On what operating system?
i uses sip-viewer-1.9.2-jar-with-dependencies.jar. OS is Linux Fedora 17

Please provide any additional information below.
[J.Benedict@S9 Downloads]$ java -jar sip-viewer-1.9.2-jar-with-dependencies.jar 
full-11apr
Exception in thread "main" java.lang.RuntimeException: Expected IN or OUT, 
found unexpected char V
    at javax.sip.viewer.parser.TextLogMessageParser.parseDetails(TextLogMessageParser.java:291)
    at javax.sip.viewer.parser.TextLogParser.parseMessageDetails(TextLogParser.java:57)
    at javax.sip.viewer.parser.TextLogParser.parseLogs(TextLogParser.java:39)
    at javax.sip.viewer.SipTextViewer.display(SipTextViewer.java:76)
    at javax.sip.viewer.SipTextViewer.main(SipTextViewer.java:238)
[J.Benedict@S9 Downloads]$

Original issue reported on code.google.com by [email protected] on 11 Apr 2013 at 10:36

What version of java?

What steps will reproduce the problem?
1.grab sip viewer 1.8.4 and try and open log file
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?
1.8.4 windows 7 X64 pro

Please provide any additional information below.
is there a special version of java that i need?

Original issue reported on code.google.com by [email protected] on 25 Sep 2014 at 7:58

Sip events are displayed in reverse order

Sip-viewer eclipse plugin 1.8.0

Check this output. Event #2 is the original REGISTER method, and #1 is the 
response to that.

1 sessions displayed 

***** Thu, 3 May 2012 15:08:52 
956************************************************************
B2B Tokens: []
CallIds: [[email protected]]
#  Time          Delay (ms) 127.0.0.1:5080                  127.0.0.1:37281
---------------------------------------------------------------------------
1  15:08:52.978  22              |(a)----------200 OK----------->|
2  15:08:52.956  1336046932956   |<-----REGISTER LittleGuy----(a)|

----- #1 Thu, 3 May 2012 15:08:52 
978--------------------------------------------------------------------
SIP/2.0 200 OK
To: "to display" <sip:[email protected]>;tag=1814529
Via: SIP/2.0/TLS 
127.0.0.1:5072;branch=z9hG4bKe790102a-eb27-4931-824d-97b3f60854b9_bd51dce7_12637
886322589;rport=37281
CSeq: 1 REGISTER
Call-ID: [email protected]
From: "from display" 
<sip:[email protected]>;tag=35010007_bd51dce7_e790102a-eb27-4931-824d-97b3f60854b9
Content-Length: 0

----- #2 Thu, 3 May 2012 15:08:52 
956--------------------------------------------------------------------
REGISTER sip:[email protected]:5080;transport=tls SIP/2.0
Call-ID: [email protected]
CSeq: 1 REGISTER
From: "from display" 
<sip:[email protected]>;tag=35010007_bd51dce7_e790102a-eb27-4931-824d-97b3f60854b9
To: "to display" <sip:[email protected]>
Max-Forwards: 70
Contact: <sip:[email protected]:5072;transport=tls>
Via: SIP/2.0/TLS 
127.0.0.1:5072;branch=z9hG4bKe790102a-eb27-4931-824d-97b3f60854b9_bd51dce7_12637
886322589;rport=37281
Content-Length: 0

Original issue reported on code.google.com by [email protected] on 3 May 2012 at 12:14

this jar not working

What steps will reproduce the problem?
1.I added the command line as it is with my log file i.e: java -jar 
sip-viewer-1.8.4-jar-with-dependencies.jar sbc.log

i am getting this error even with eclipse and as a normal file also i have 
attached the screen shot can you please help me with this.

Thank you in advance 

Original issue reported on code.google.com by [email protected] on 10 Aug 2015 at 11:11

Attachments:

Requesting Help

I would prefer to just email if possible for easier communication. I am wanting 
to use this software as it looks very helpful for troubleshooting SIP however 
when i try to run it via command line i get java errors and I can not figure 
out how to utilize the the eclipse version and am looking for some direction.

Original issue reported on code.google.com by [email protected] on 19 Aug 2015 at 4:16

main thread exception: java.lang.RuntimeException: [20130319-000122.834 2887756720] INFO UdpTransport.cxx:94 Send message ==> 209.197.209.15:5060 is not having the right format

What steps will reproduce the problem?
someuser-mac:Documents user$ java -jar 
sip-viewer-1.8.4-jar-with-dependencies.jar sip_03192013_0.4863.log
Exception in thread "main" java.lang.RuntimeException: [20130319-000122.834 
2887756720] INFO UdpTransport.cxx:94 Send message ==> 209.197.209.15:5060 is 
not having the right format
    at javax.sip.viewer.parser.TextLogParser.parseMessageDetails(TextLogParser.java:64)
    at javax.sip.viewer.parser.TextLogParser.parseLogs(TextLogParser.java:38)
    at javax.sip.viewer.SipTextViewer.display(SipTextViewer.java:73)
    at javax.sip.viewer.SipTextViewer.main(SipTextViewer.java:226)
Caused by: java.text.ParseException: Unparseable date: "20130319-000122.834 
2887756720"
    at java.text.DateFormat.parse(DateFormat.java:337)
    at javax.sip.viewer.parser.TextLogParser.parseMessageDetails(TextLogParser.java:58)
    ... 3 more


What is the expected output? What do you see instead?
Whatever output SIP-Viewer is intended to give.
sip-viewer is says that the format is not correct.

What version of the product are you using? On what operating system?
sip-viewer version: sip-viewer-1.8.4-jar-with-dependencies.jar 
OS: Mac OSx Mountain Lion

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 19 Mar 2013 at 10:19

Parser Error

Hello,

Thanks for your dev.

When i do this :
java -jar sip-viewer-1.8.3-jar-with-dependencies.jar --parser  
javax.sip.viewer.parser.TextLogParser full -hsl

Exception in thread "main" java.lang.RuntimeException: INVITE 
sip:[email protected]:5060 SIP/2.0 is not having the right format
    at javax.sip.viewer.parser.TextLogParser.parseMessageDetails(TextLogParser.java:66)
    at javax.sip.viewer.parser.TextLogParser.parseLogs(TextLogParser.java:37)
    at javax.sip.viewer.SipTextViewer.display(SipTextViewer.java:73)
    at javax.sip.viewer.SipTextViewer.main(SipTextViewer.java:227)


Have you an ideas ?

thanks

Original issue reported on code.google.com by [email protected] on 10 Jul 2012 at 9:39

Exception in thread

What steps will reproduce the problem?

C:\>"C:\Program Files (x86)\Java\jre6\bin\java.exe" -jar 
sip-viewer-1.5.0-jar-with-dependencies.jar 1.log
Exception in thread "main" java.lang.RuntimeException: Received: is not having 
the right format
        at javax.sip.viewer.parser.TextLogParser.parseMessageDetails(TextLogParser.java:64)
        at javax.sip.viewer.parser.TextLogParser.parseLogs(TextLogParser.java:41)
        at javax.sip.viewer.SipTextViewer.display(SipTextViewer.java:61)
        at javax.sip.viewer.SipTextViewer.main(SipTextViewer.java:120)


What version of the product are you using? On what operating system?

sip-viewer 1.5.0
Win7 64

Log file attached.

Original issue reported on code.google.com by [email protected] on 30 Mar 2012 at 7:34

Attachments:

Display problem

Hi,

First of all, thanks for your soft.

But I have a problem. My logs wasn't in a good format, so I have created a Perl 
script to modify it. I succeeded. However, I have a problem in the display. 
Indeed, I have, for instance, 3 IP addresses :

@IP A  <---->  @IP B
@IP B  <---->  @IP C

In fact, I don't have all the IP adresses in the same exchange. They are 
separated in two displays. In the absolute, I want that :

@IP A  <---->  @IP B  <---->  @IP C


To do that, I used : sip-viewer-1.9.1-jar-with-dependencies.jar
Operating system : Windows XP


Thank you very much. If you need more information, don't hesistate to ask me.

Regards,

Axel

PS : I don't have any problem with your example.

Original issue reported on code.google.com by [email protected] on 12 Oct 2012 at 7:34

NullPointerException

What steps will reproduce the problem?
1. java -jar sip-viewer-1.8.4-jar-with-dependencies.jar out.txt
2. java -Xmx4G -jar sip-viewer-1.8.4-jar-with-dependencies.jar out.txt
3.

What is the expected output? What do you see instead?

Well, i was expecting to get another output than a NullPointerException :)

What version of the product are you using? On what operating system?
Last release version (sip-viewer-1.8.4-jar-with-dependencies.jar), not coming 
from SVN.

Please provide any additional information below.

I would like to be able to parse the following file :
[root@whatever tmp]# ll -h out.txt
-rw-r--r-- 1 root root 8.1M Apr 11 10:31 out.txt

When i run the follow command (also tested with -Xmx4G):
[root@whatever tmp]# java -jar sip-viewer-1.8.4-jar-with-dependencies.jar 
out.txt
Exception in thread "main" java.lang.NullPointerException
        at javax.sip.viewer.SipTextFormatter.prepareVariables(SipTextFormatter.java:286)
        at javax.sip.viewer.SipTextFormatter.format(SipTextFormatter.java:83)
        at javax.sip.viewer.SipTextViewer.display(SipTextViewer.java:80)
        at javax.sip.viewer.SipTextViewer.main(SipTextViewer.java:226)

I tried to split the file, and try to parse only the first 100 lines, and it 
doesn't work either.

Find attached the file extract.txt which is the extract coming from the actual 
log file.

Any help would be greatly appreciated.

Regards,

Constantin

Original issue reported on code.google.com by [email protected] on 11 Apr 2013 at 8:48

Attachments:

Great Tool!

Congratulations for a great tool!

I am writing here because there is no public forum listed on the project home 
page and I can't see the full email address of the committers.

Is this tool under active development and maintenance? 

Looking forward to hearing back.

Ivelin Ivanov
Founder, Mobicents

Original issue reported on code.google.com by [email protected] on 23 Sep 2013 at 1:11

Contact Header not supplied in OK to a CANCEL causes unhandled exception.

What steps will reproduce the problem?

[2013/05/20 12:03:08.123] OUT 192.168.0.9:5065 --> 192.168.0.201:5062


CANCEL sip:[email protected]:5062 SIP/2.0
To: <sip:[email protected]:5062>
From: PBX 
<sip:[email protected]:5065>;tag=4d617017-2e5e-4ad4-9238-82504344d315
Call-ID: 95923a80-6625-4518-bd5e-05ac10874676
CSeq: 1 CANCEL
Contact: <sip:[email protected]:5065>
The following cause the formatter to fail:

[2013/05/20 12:03:08.123] OUT 192.168.0.9:5065 --> 192.168.0.201:5062


CANCEL sip:[email protected]:5062 SIP/2.0
To: <sip:[email protected]:5062>
From: PBX 
<sip:[email protected]:5065>;tag=4d617017-2e5e-4ad4-9238-82504344d315
Call-ID: 95923a80-6625-4518-bd5e-05ac10874676
CSeq: 1 CANCEL
Contact: <sip:[email protected]:5065>
Via: SIP/2.0/UDP 
192.168.0.9:5065;branch=z9hG4bK-4cf056af-b7ca-4e41-87d6-c66683878264
Allow: INVITE, ACK, OPTIONS, BYE, CANCEL, REGISTER, INFO, REFER, NOTIFY, 
SUBSCRIBE, MESSAGE, UPDATE, PRACK, PUBLISH
Allow-Events: refer
User-Agent: Inventive Labs HmpElements
Content-Length: 0


-----------------------
[2013/05/20 12:03:08.127] IN 192.168.0.9:5065 --> 192.168.0.9:6000


CANCEL sip:[email protected]:5062 SIP/2.0
To: <sip:[email protected]:5062>
From: PBX 
<sip:[email protected]:5065>;tag=4d617017-2e5e-4ad4-9238-82504344d315
Call-ID: 95923a80-6625-4518-bd5e-05ac10874676
CSeq: 1 CANCEL
Contact: <sip:[email protected]:5065>
Via: SIP/2.0/UDP 
192.168.0.9:5065;branch=z9hG4bK-4cf056af-b7ca-4e41-87d6-c66683878264
Allow: INVITE, ACK, OPTIONS, BYE, CANCEL, REGISTER, INFO, REFER, NOTIFY, 
SUBSCRIBE, MESSAGE, UPDATE, PRACK, PUBLISH
Allow-Events: refer
User-Agent: Inventive Labs HmpElements
Content-Length: 0


-----------------------
[2013/05/20 12:03:08.134] OUT 192.168.0.9:5075 --> 192.168.0.9:5065


SIP/2.0 200 OK
Via: SIP/2.0/UDP 
192.168.0.9:5065;branch=z9hG4bK-4cf056af-b7ca-4e41-87d6-c66683878264
To: <sip:[email protected]:5062>
From: PBX 
<sip:[email protected]:5065>;tag=4d617017-2e5e-4ad4-9238-82504344d315
Call-ID: 95923a80-6625-4518-bd5e-05ac10874676
CSeq: 1 CANCEL
Content-Length: 0


-----------------------
[2013/05/20 12:03:08.134] IN 192.168.0.9:5075 --> 192.168.0.9:5065


SIP/2.0 200 OK
Via: SIP/2.0/UDP 
192.168.0.9:5065;branch=z9hG4bK-4cf056af-b7ca-4e41-87d6-c66683878264
To: <sip:[email protected]:5062>
From: PBX 
<sip:[email protected]:5065>;tag=4d617017-2e5e-4ad4-9238-82504344d315
Call-ID: 95923a80-6625-4518-bd5e-05ac10874676
CSeq: 1 CANCEL
Content-Length: 0


-----------------------



What is the expected output? 
Run to Completion

What do you see instead?
Exception in thread "main" java.lang.NullPointerException
        at javax.sip.viewer.SipTextFormatter.prepareVariables(SipTextFormatter.java:286)
        at javax.sip.viewer.SipTextFormatter.format(SipTextFormatter.java:83)
        at javax.sip.viewer.SipTextViewer.display(SipTextViewer.java:80)
        at javax.sip.viewer.SipTextViewer.main(SipTextViewer.java:226)

What version of the product are you using? On what operating system?
Windows 7.  Running Version 1.8.4

Thanks!!

Original issue reported on code.google.com by [email protected] on 20 May 2013 at 7:33

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.