Hi again,
Actually I've just seen there are couple of exceptions, all related to the decodification of the binary encoding of the messages. I guess this might be related to the new binary protocol format. If you're using a recent openser version, then you need to download the new version of WeSIP from www.WeSIP.eu, the binary protocol has changed and that's what is making all these errors.
best regards,
Elias Baixas
Elias Baixas wrote:
Hello Helmut,
Can you send the message/From header/URI that caused the exception ? It'll help debug the error
Thanks for you interest :)
Elias Baixas
Helmut Kuper wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
I tested c2c now with openser. My phone is registered to openser. When I start a call via c2c app, my phone rings but as soon as openser sends back the ringing message, wesip throws this to console:
hk@vm-en-test0:~/wesip/wesip$ java.text.ParseException: ERROR: bad index for start of uri:0<7 at com.voztele.javax.sip.address.SipUri.<init>(SipUri.java:85) at com.voztele.javax.sip.header.From.<init>(From.java:51) at com.voztele.javax.sip.message.SIPMessage.createSIPHeader(SIPMessage.java:254)
at
com.voztele.javax.sip.message.SIPMessage.addSIPHeader(SIPMessage.java:230)
at
com.voztele.javax.sip.message.SIPMessage.<init>(SIPMessage.java:225) at com.voztele.javax.sip.message.SIPResponse.<init>(SIPResponse.java:338) at com.voztele.javax.sip.parser.StringMsgParser.parseSERMessage(StringMsgParser.java:357)
at
com.voztele.seas.SeasMessageEvent.getSIPMessage(SeasMessageEvent.java:136)
at
com.voztele.seas.SeasTransactionEvent.getSIPMessage(SeasTransactionEvent.java:70)
at
com.voztele.seas.SeasReplyEvent.getSIPMessage(SeasReplyEvent.java:37) at com.voztele.seas.ExpressMessageChannel.run(ExpressMessageChannel.java:301)
at java.lang.Thread.run(Unknown Source)
java.text.ParseException: ERROR: bad index for start of uri:0<13 at com.voztele.javax.sip.address.SipUri.<init>(SipUri.java:85) at com.voztele.javax.sip.header.To.<init>(To.java:54) at com.voztele.javax.sip.message.SIPMessage.createSIPHeader(SIPMessage.java:251)
at
com.voztele.javax.sip.message.SIPMessage.addSIPHeader(SIPMessage.java:230)
at
com.voztele.javax.sip.message.SIPMessage.<init>(SIPMessage.java:225) at com.voztele.javax.sip.message.SIPResponse.<init>(SIPResponse.java:338) at com.voztele.javax.sip.parser.StringMsgParser.parseSERMessage(StringMsgParser.java:357)
at
com.voztele.seas.SeasMessageEvent.getSIPMessage(SeasMessageEvent.java:136)
at
com.voztele.seas.SeasTransactionEvent.getSIPMessage(SeasTransactionEvent.java:70)
at
com.voztele.seas.SeasReplyEvent.getSIPMessage(SeasReplyEvent.java:37) at com.voztele.seas.ExpressMessageChannel.run(ExpressMessageChannel.java:301)
at java.lang.Thread.run(Unknown Source)
java.lang.StringIndexOutOfBoundsException: String index out of range: -58 at java.lang.String.checkBounds(Unknown Source) at java.lang.String.<init>(Unknown Source) at com.voztele.javax.sip.header.CallID.<init>(CallID.java:34) at com.voztele.javax.sip.message.SIPMessage.createSIPHeader(SIPMessage.java:260)
at
com.voztele.javax.sip.message.SIPMessage.addSIPHeader(SIPMessage.java:230)
at
com.voztele.javax.sip.message.SIPMessage.<init>(SIPMessage.java:225) at com.voztele.javax.sip.message.SIPResponse.<init>(SIPResponse.java:338) at com.voztele.javax.sip.parser.StringMsgParser.parseSERMessage(StringMsgParser.java:357)
at
com.voztele.seas.SeasMessageEvent.getSIPMessage(SeasMessageEvent.java:136)
at
com.voztele.seas.SeasTransactionEvent.getSIPMessage(SeasTransactionEvent.java:70)
at
com.voztele.seas.SeasReplyEvent.getSIPMessage(SeasReplyEvent.java:37) at com.voztele.seas.ExpressMessageChannel.run(ExpressMessageChannel.java:301)
at java.lang.Thread.run(Unknown Source)
Exception in thread "ExpressMChannel[4]" java.lang.NullPointerException at com.voztele.seas.SeasMessageEvent.getSIPMessage(SeasMessageEvent.java:143)
at
com.voztele.seas.SeasTransactionEvent.getSIPMessage(SeasTransactionEvent.java:70)
at
com.voztele.seas.SeasReplyEvent.getSIPMessage(SeasReplyEvent.java:37) at com.voztele.seas.ExpressMessageChannel.run(ExpressMessageChannel.java:301)
at java.lang.Thread.run(Unknown Source)
any ideas? Is is an error in c2c app or is ringing message not allowed to send to c2c app?
regards helmut -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGAP4D4tZeNddg3dwRAp65AKCKa9QnUMLh5By8ZdgIKtaYCoCfPACeMJ1N RlPhqiZYxecY0HH5uObyTE4= =nTar -----END PGP SIGNATURE-----
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users