[Users] WeSIP with OpenSER 1.2.0

Elias Baixas elias.baixas at voztele.com
Sun Mar 18 20:20:38 CET 2007


Hello, actually in 1.2.0 there's been a bugfix that changed the binary 
communication protocol between WeSIP and openser, so you need to 
download the new version of WeSIP from http://www.WeSIP.eu

the fixed bug was preventing the transmission of headers longer than 255 
chars between openSER and WeSIP, now headers transmitted can be as long 
as 2^16.

Elias

tele wrote:
> Hi,
>
> I've upgraded openser from 1.2.0-pre6 to 1.2.0 with the seas module 
> loaded.
> try to send a call and this is the output:
>
> 5(24664) SIP Request:
> 5(24664)  method:  <INVITE>
> 5(24664)  uri:     <sip:390104491079 at 82.215.163.67>
> 5(24664)  version: <SIP/2.0>
> 5(24664) parse_headers: flags=2
> 5(24664) Found param type 232, <branch> = <z9hG4bK5d297af7>; state=16
> 5(24664) end of header reached, state=5
> 5(24664) parse_headers: Via found, flags=2
> 5(24664) parse_headers: this is the first via
> 5(24664) After parse_msg...
> 5(24664) preparing to run routing scripts...
> 5(24664) parse_headers: flags=100
> 5(24664) DEBUG:maxfwd:is_maxfwd_present: value = 70
> 5(24664) parse_headers: flags=ffffffffffffffff
> 5(24664) DEBUG:parse_to:end of header reached, state=9
> 5(24664) DBUG:parse_to: display={}, ruri={sip:390104491079 at 82.215.163.67}
> 5(24664) DEBUG: get_hdr_field: <To> [32]; 
> uri=[sip:390104491079 at 82.215.163.67]
> 5(24664) DEBUG: to body [sip:390104491079 at 82.215.163.67
> ]
> 5(24664) get_hdr_field: cseq <CSeq>: <1> <INVITE>
> 5(24664) DEBUG: get_hdr_body : content_length=213
> 5(24664) found end of header
> 5(24664) DEBUG: t_newtran:  T on entrance=0xffffffff
> 5(24664) parse_headers: flags=ffffffffffffffff
> 5(24664) parse_headers: flags=78
> 5(24664) t_lookup_request: start searching: hash=4873, isACK=0
> 5(24664) DEBUG: RFC3261 transaction matching failed
> 5(24664) DEBUG: t_lookup_request: no transaction found
> 5(24664) DEBUG: add_param: tag=5d297af7
> 5(24664) DEBUG:parse_to:end of header reached, state=29
> 5(24664) DBUG:parse_to: display={}, ruri={sip:3405300695 at 82.215.163.5}
> 5(24664) new INVITE
> 5(24664) parse_headers: flags=ffffffffffffffff
> 5(24664) check_via_address(82.215.163.5, 82.215.163.5, 0)
> 5(24664) WARNING:vqm_resize: resize(0) called
> 5(24664) DEBUG:tm:_reply_light: reply sent out. buf=0x814fa58: SIP/2.0 
> 1..., shmem=0xb60a0680: SIP/2.0 1
> 5(24664) DEBUG:tm:_reply_light: finished
> 5(24664) as found ! (app_server_one) processor id = 1
> 5(24664) parse_headers: flags=ffffffffffffffff
> 5(24664) parse_headers: flags=ffffffffffffffff
> 5(24664) msglen = 561,msg starts at 167
> 5(24664) DEBUG:tm:UNREF_UNSAFE: after is 0
> 5(24664) DEBUG:destroy_avp_list: destroying list (nil)
> 5(24664) 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.lang.StringIndexOutOfBoundsException: String index out of range: -19
>        at java.lang.String.checkBounds(String.java:368)
>        at java.lang.String.<init>(String.java:404)
>        at 
> com.voztele.javax.sip.header.MaxForwards.<init>(MaxForwards.java:30)
>        at 
> com.voztele.javax.sip.message.SIPMessage.createSIPHeader(SIPMessage.java:266) 
>
>        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:135) 
>
>        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:595)
> Exception in thread "ExpressMChannel[2]" java.lang.NullPointerException
>        at 
> com.voztele.seas.SeasMessageEvent.getSIPMessage(SeasMessageEvent.java:141) 
>
>        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:595)
>
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users





More information about the sr-users mailing list