[Users] WeSIP with openser 1.2.0 again

tele tele at plexia.com
Sat Apr 28 16:07:34 CEST 2007


Hi,

I don't really know what i'm doing wrong, with the old version of wesip 
and pre openser 1.2.0 i've no problem.
Using same config, same servlet i've tried with wesip 0.1.4 version and 
openser 1.2.0 and svn openser, but when any message come to wesip i get 
this:

 1(21647) SIP Request:
 1(21647)  method:  <OPTIONS>
 1(21647)  uri:     <sip:test at IP>
 1(21647)  version: <SIP/2.0>
 1(21647) parse_headers: flags=2
 1(21647) Found param type 232, <branch> = <z9hG4bK.36985da3>; state=6
 1(21647) Found param type 235, <rport> = <n/a>; state=6
 1(21647) Found param type 237, <alias> = <n/a>; state=16
 1(21647) end of header reached, state=5
 1(21647) parse_headers: Via found, flags=2
 1(21647) parse_headers: this is the first via
 1(21647) After parse_msg...
 1(21647) preparing to run routing scripts...
 1(21647) parse_headers: flags=100
 1(21647) DEBUG:parse_to:end of header reached, state=9
 1(21647) DBUG:parse_to: display={}, ruri={sip:test at IP}
 1(21647) DEBUG: get_hdr_field: <To> [22]; uri=[sip:test at IP]
 1(21647) DEBUG: to body [sip:test at IP]
 1(21647) get_hdr_field: cseq <CSeq>: <1> <OPTIONS>
 1(21647) DEBUG: get_hdr_body : content_length=0
 1(21647) DEBUG:maxfwd:is_maxfwd_present: value = 70
 1(21647) parse_headers: flags=ffffffffffffffff
 1(21647) found end of header
 1(21647) DEBUG: t_newtran:  T on entrance=0xffffffff
 1(21647) parse_headers: flags=ffffffffffffffff
 1(21647) parse_headers: flags=78
 1(21647) t_lookup_request: start searching: hash=11514, isACK=0
 1(21647) DEBUG: RFC3261 transaction matching failed
 1(21647) DEBUG: t_lookup_request: no transaction found
 1(21647) as found ! (app_server_one) processor id = 1
 1(21647) parse_headers: flags=ffffffffffffffff
 1(21647) parse_headers: flags=ffffffffffffffff
 1(21647) DEBUG: add_param: tag=53bbde88
 1(21647) DEBUG:parse_to:end of header reached, state=29
 1(21647) DBUG:parse_to: display={}, ruri={sip:sipsak at 127.0.0.1:32773}
 1(21647) msglen = 351,msg starts at 182
 1(21647) DEBUG:tm:UNREF_UNSAFE: after is 0
 1(21647) DEBUG:destroy_avp_list: destroying list (nil)
 1(21647) receive_msg: cleaning up
-1(0) Event relaied to app_server_one AS
-1(0) Event type FINAL_REPLY
-1(0) Scanning data from 1 AS
-1(0) Scanning data from 0 uncomplete AS
-1(0) polling [2 ServSock] [1 pipe] [1 App Servers] [0 Uncomplete AS]
java.text.ParseException: ERROR: bad index for start of uri:0<8
        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.SIPRequest.<init>(SIPRequest.java:154)
        at 
com.voztele.javax.sip.parser.StringMsgParser.parseSERMessage(StringMsgParser.java:355)
        at 
com.voztele.seas.SeasMessageEvent.getSIPMessage(SeasMessageEvent.java:136)
        at 
com.voztele.seas.SeasTransactionEvent.getSIPMessage(SeasTransactionEvent.java:70)
        at 
com.voztele.seas.ExpressMessageChannel.run(ExpressMessageChannel.java:301)
        at java.lang.Thread.run(Thread.java:619)
java.text.ParseException: ERROR: bad index for start of uri:0<20
        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.SIPRequest.<init>(SIPRequest.java:154)
        at 
com.voztele.javax.sip.parser.StringMsgParser.parseSERMessage(StringMsgParser.java:355)
        at 
com.voztele.seas.SeasMessageEvent.getSIPMessage(SeasMessageEvent.java:136)
        at 
com.voztele.seas.SeasTransactionEvent.getSIPMessage(SeasTransactionEvent.java:70)
        at 
com.voztele.seas.ExpressMessageChannel.run(ExpressMessageChannel.java:301)
        at java.lang.Thread.run(Thread.java:619)
java.lang.StringIndexOutOfBoundsException: String index out of range: -32
        at java.lang.String.checkBounds(String.java:398)
        at java.lang.String.<init>(String.java:443)
        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.SIPRequest.<init>(SIPRequest.java:154)
        at 
com.voztele.javax.sip.parser.StringMsgParser.parseSERMessage(StringMsgParser.java:355)
        at 
com.voztele.seas.SeasMessageEvent.getSIPMessage(SeasMessageEvent.java:136)
        at 
com.voztele.seas.SeasTransactionEvent.getSIPMessage(SeasTransactionEvent.java:70)
        at 
com.voztele.seas.ExpressMessageChannel.run(ExpressMessageChannel.java:301)
        at java.lang.Thread.run(Thread.java:619)
Exception in thread "ExpressMChannel[0]" 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.ExpressMessageChannel.run(ExpressMessageChannel.java:301)
        at java.lang.Thread.run(Thread.java:619)

:tele

tele wrote:
> Uh there is a 0.1.4 version, i'll try it :-)
>
> :tele
>
>
> On Mon, 2007-04-16 at 10:43 +0200, Ginés Gómez wrote:
>   
>> Hi tele,
>>
>> 	I downloaded and installed last version at www.wesip.eu   
>> (wesip-02-04-07-beta-0.1.4.tar.gz ) with OpenSER 1.2.0 on thursday  
>> and everything went fine. What's strange is that you say that you  
>> installed wesip-05_03_07-beta-0.1.3.tar.gz. Did you download it from  
>> the www.wesip.eu on friday? It shouldn't be there by that time but  
>> maybe there is a proxy problem or similar.
>>
>> Regards
>>
>> Ginés
>>
>>
>> El 14/04/2007, a las 21:56, tele escribió:
>>
>>     
>>> Hi,
>>>
>>> fresh install of OpenSER 1.2.0 and wesip-05_03_07-beta-0.1.3.tar.gz.
>>> i'm able to run wesip and successful deploy my app, but when the  
>>> first INVITE come into wesip i get:
>>>
>>> java.lang.StringIndexOutOfBoundsException: String index out of  
>>> range: -37
>>>        at java.lang.String.checkBounds(String.java:398)
>>>        at java.lang.String.<init>(String.java:443)
>>>        at com.voztele.javax.sip.header.ExtensionHeaderImpl.<init> 
>>> (ExtensionHeaderImpl.java:40)
>>>        at com.voztele.javax.sip.message.SIPMessage.createSIPHeader 
>>> (SIPMessage.java:243)
>>>        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.SIPRequest.<init> 
>>> (SIPRequest.java:154)
>>>        at  
>>> com.voztele.javax.sip.parser.StringMsgParser.parseSERMessage 
>>> (StringMsgParser.java:355)
>>>        at com.voztele.seas.SeasMessageEvent.getSIPMessage 
>>> (SeasMessageEvent.java:136)
>>>        at com.voztele.seas.SeasTransactionEvent.getSIPMessage 
>>> (SeasTransactionEvent.java:70)
>>>        at com.voztele.seas.ExpressMessageChannel.run 
>>> (ExpressMessageChannel.java:301)
>>>        at java.lang.Thread.run(Thread.java:619)
>>> Exception in thread "ExpressMChannel[2]"  
>>> 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.ExpressMessageChannel.run 
>>> (ExpressMessageChannel.java:301)
>>>        at java.lang.Thread.run(Thread.java:619)
>>>
>>> I'm using JDK/JRE version 6.
>>> With old version of wesip and openser i've no problem.
>>>
>>> thanks
>>>
>>> :tele
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at openser.org
>>> http://openser.org/cgi-bin/mailman/listinfo/users
>>>
>>>       




More information about the sr-users mailing list