HI Helmut,
In this case I'm not using freeswitch. This is just openser 1.2 and
wesip beta 0.2.
Andy
On 4/2/07, Helmut Kuper <[EMAIL PROTECTED]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> as far as I know, this seems to be a problem in wesip beta 0.1.3
(0.2
> beta isn't out yet, isn't it?) and openser 1.2. Developers say,
that the
> binary format betwen openser 1.2 and wesip 0.1.3 has changed a
bit, but
> that's not realy sure.
>
> If u ask me, it's not a freeswitch bug.
>
> regards
> Helmut
>
>
>
>
> Andy Pyles schrieb:
> > I too am having "bad index" errors. This is a different setup,
but is
> > there a way to turn on full debug, to determine what
specifically is
> > getting rejected?
> >
> >
> > I have: openser1 (1.2.0 release ) ( seas proxy) 192.168.0.110
port 5061
> > I have: openser2 (1.2.0 release ) ( registrar, proxy )
192.168.0.110
> > port 5060
> > I have 5000 X-lite : 192.168.0.112 port 5060
> > I have 5001 sipura : 192.168.0.104 port 5061
> > wesip version = beta 0.2.
> >
> > setup is :
> >
> > caller( 5000) openser2 openser1 callee
(5001)
> > <------INVITE(nosdp)
> > <------------INVITE(no sdp)
> > ------------>180 Ringing
> > -------->180 Ringing
> > ------------>200 ok(5000's sdp)
> > --------> 200 OK(5000's sdp)
> > ------------>200 ok(5000's sdp) ( this message is
retransmitted )
> >
> > As far as I can tell there is something in the 200 ok from
openser2
> > that wesip doesn't like.
> >
> > Here's the 200 OK packet:
> >
> >
> > U 192.168.0.112:5060 -> 192.168.0.110:5060
> > SIP/2.0 200 OK.
> > Via: SIP/2.0/UDP 192.168.0.110;branch=z9hG4bKc487.36c6a7f1.0.
> > Via: SIP/2.0/UDP 192.168.0.110:5061;branch=z9hG4bKc487.f8ab40c.0.
> > Record-Route:
> > <sip:
192.168.0.110;lr;ftag=B712F1B2E6240BA0E679ED5FD82D4DCC;did=4c8.8e50c3
9>.
> >
> > Contact: <sip:[EMAIL PROTECTED]:5060>.
> > To: <sip:[EMAIL PROTECTED]>;tag=f3783b63.
> > From: <sip:
[EMAIL PROTECTED]>;tag=B712F1B2E6240BA0E679ED5FD82D4DCC.
> > Call-ID: [EMAIL PROTECTED]
> > CSeq: 1 INVITE.
> > Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE,
> > SUBSCRIBE, INFO.
> > Content-Type: application/sdp.
> > User-Agent: X-Lite release 1006e stamp 34025.
> > Content-Length: 184.
> > .
> > v=0.
> > o=- 4 2 IN IP4 192.168.0.112.
> > s=CounterPath X-Lite 3.0.
> > c=IN IP4 192.168.0.112.
> > t=0 0.
> > m=audio 5062 RTP/AVP 0 101.
> > a=fmtp:101 0-15.
> > a=rtpmap:101 telephone-event/8000.
> > a=sendrecv.
> >
> >
> >
> > Using sample c2c, I'm getting :
> >
> > [HttpProcessor[5080][4]] - Transport: udp
> > ExpressMessageChannel [HttpProcessor[5080][4]] - Creating
Express
> > message channel 192.168.0.110/5060
> > ExpressMessageChannel [HttpProcessor[5080][4]] - setting
spiral=false
> > SIPClientTransaction [HttpProcessor[5080][4]] - actionID =
1533381624
> > SipRequest [HttpProcessor[5080][4]] - >>>>>>>>> Sending
Request
> >>>>>>>>>>
> > INVITE sip:[EMAIL PROTECTED] SIP/2.0
> > Call-ID: [EMAIL PROTECTED]
> > CSeq: 1 INVITE
> > From: <sip:
[EMAIL PROTECTED]>;tag=5C52C7DB87B8234E5F2C9BF63AC7DA6D
> > To: <sip:[EMAIL PROTECTED]>
> > Max-Forwards: 70
> > Contact: <sip:192.168.0.110:5061;transport=udp>
> > Via: SIP/2.0/UDP 192.168.0.110:5061;branch=z9hG4bK1533381624
> > Content-Length: 0
> >
> >
> >
> > ExpressMessageChannel [HttpProcessor[5080][4]] - sending with
> > spiral=false
> > ActionRouter$ActionSender [ActionSender] - Writing 375
bytes
> > into Action Socket
> > SeasMessageEvent [SeasRouter] - New message received,
from
> > 192.168.0.110:5060 to 192.168.0.110:5061 over UDP
> > SeasTransactionEvent [SeasRouter] - hash_index =
659,label=698262579
> > flags=0
> > SeasReplyEvent [SeasRouter] - Response Event: uac_id:
1533381624 code:180
> > ExpressMessageChannel [ExpressMChannel[0]] - peerAddress =
> > 192.168.0.110/5060
> > 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.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(Thread.java:595)
> > 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(Thread.java:595)
> > SeasMessageEvent [ExpressMChannel[0]] - ERROR
parsing
> > a SEAS message event!!!
> > java.lang.StringIndexOutOfBoundsException: String index
out of
> > range: -58
> >
> >
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFGEOwq4tZeNddg3dwRAi5sAJ4iN54Rk93fNnXWTohl7uRW13Z1xACdFLWY
> bKjIvdPp52buAXlvg0WIhlM=
> =XMXU
> -----END PGP SIGNATURE-----
>