[Users] WeSIP C2C and freeswitch
Andy Pyles
andy.pyles at gmail.com
Mon Apr 2 10:04:30 CEST 2007
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.8e50c39>.
Contact: <sip:5000 at 192.168.0.112:5060>.
To: <sip:5000 at 192.168.0.110>;tag=f3783b63.
From: <sip:5000 at 192.168.0.110>;tag=B712F1B2E6240BA0E679ED5FD82D4DCC.
Call-ID: F309951C9E79AA2051EAF1E9B58D6EFC at 192.168.0.110.
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:5000 at 192.168.0.110 SIP/2.0
Call-ID: AF0B0A41163B94EBA3E3BEA9E4656761 at 192.168.0.110
CSeq: 1 INVITE
From: <sip:5000 at 192.168.0.110>;tag=5C52C7DB87B8234E5F2C9BF63AC7DA6D
To: <sip:5000 at 192.168.0.110>
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
More information about the Users
mailing list