< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate-users] Use of Websockets by User Agent


Hi,

  I want an User Agent based on reSIProcate V.1.9.8 to use Websockets (WS
not WSS) as transport. 
  In the TCP case, registration and calls work OK.
  In the WS case, no packets are sent to the repro still in registration
phase.

  I am using as SIP-proxy a repro built from V.1.9.8, that is listening to
UDP/TCP on port 5060 and WS on port 10060 in 172.28.120.10. All inside my
LAN. It's running on a Windows Server box.
  My UA runs on my WIndows station with IP = 172.28.60.1.
        
  When I use TCP I do:
      mStack->addTransport(resip::TCP, 5870, resip::V4, resip::StunEnabled,
"172.28.60.1", "");
 
mMasterProfile->setOutboundProxy(resip::Uri("sip:172.28.120.10:5060"));

  When I use WS I do:
      mStack->addTransport(resip::WS, 5870, resip::V4, resip::StunEnabled,
"172.28.60.1", "");
 
mMasterProfile->setOutboundProxy(resip::Uri("sip:172.28.120.10:10060"));

  Below Log snippets when trying registration using WS and using TCP.
   
  What could be the next step ?
  Do I need necessarily to set up DNS entries for using WS as transport ?
Why that comparing to UDP/TCP ?

Thanks and Best regards.
Julio Cabezas.


--- Log in Debug Level when using WS ---        
DEBUG | 20150611-173932.579 | EasyUA SIP client | RESIP:DUM | 10916 |
DialogId.cxx:50 | DialogId::DialogId: 3Af7A45siXtdIw0PRPLwJA..-971dee61-
DEBUG | 20150611-173932.588 | EasyUA SIP client | RESIP:DUM | 10916 |
DialogUsageManager.cxx:1110 | Using outbound proxy:
sip:172.28.120.10:10060;lr -> SipReq:  REGISTER np tid=7a4b10188027d038
cseq=1
REGISTER contact=9005 / 1 from(tu)
DEBUG | 20150611-173932.603 | EasyUA SIP client | RESIP:DUM | 10916 |
DialogUsageManager.cxx:1124 | Sending to express outbound w/o flow tuple
DEBUG | 20150611-173932.613 | EasyUA SIP client | RESIP | 10916 |
SipStack.cxx:611 | SEND: SipReq:  REGISTER np tid=7a4b10188027d038 cseq=1
REGISTER contact=9005 / 1 from(tu)
DEBUG | 20150611-173932.624 | EasyUA SIP client | RESIP:TRANSACTION | 11468
| TimerQueue.cxx:50 | Adding timer: Timer F tid=7a4b10188027d038 ms=32000
DEBUG | 20150611-173932.633 | EasyUA SIP client | RESIP:TRANSPORT | 11468 |
TransportSelector.cxx:463 | Looking up dns entries (from route) for
sip:172.28.120.10:10060;lr
DEBUG | 20150611-173932.644 | EasyUA SIP client | RESIP:DNS | 11468 |
DnsResult.cxx:249 | DnsResult::lookup sip:172.28.120.10:10060;lr
DEBUG | 20150611-173932.652 | EasyUA SIP client | RESIP:DNS | 11468 |
DnsResult.cxx:473 | Numeric result, but this result is currently
blacklisted: [ V4 0.0.0.0:0 UNKNOWN_TRANSPORT target domain=unspec
ified mFlowKey=0 ]
DEBUG | 20150611-173932.666 | EasyUA SIP client | RESIP | 11468 |
Helper.cxx:374 | Helper::makeResponse(SipReq:  REGISTER np
tid=7a4b10188027d038 cseq=1 REGISTER contact=9005 / 1 from(tu) code=503 reas
on=
INFO | 20150611-173932.680 | EasyUA SIP client | RESIP:TRANSACTION | 11468 |
TransactionState.cxx:2105 | Ran out of dns entries for 172.28.120.10. Send
503
DEBUG | 20150611-173932.690 | EasyUA SIP client | RESIP:TRANSACTION | 11468
| TuSelector.cxx:70 | Send to TU: TU: DialogUsageManager size=0

SIP/2.0 503 No DNS results
Via: SIP/2.0/ ;branch=z9hG4bK-524287-1---7a4b10188027d038;rport
To: <sip:9005@np>;tag=711bfa61
From: <sip:9005@np>;tag=971dee61
Call-ID: 3Af7A45siXtdIw0PRPLwJA..
CSeq: 1 REGISTER
Warning: 399 DSV-1.pdi.inovax.local "No other DNS entries to try (0,0)"
Content-Length: 0       
        
--- Log in Debug Level when using TCP ---       

DEBUG | 20150611-174811.283 | EasyUA SIP client | RESIP:DUM | 13436 |
DialogId.cxx:50 | DialogId::DialogId: iooUU7PpuT3nUgz_8_vMig..-7821043c-
DEBUG | 20150611-174811.291 | EasyUA SIP client | RESIP:DUM | 13436 |
DialogUsageManager.cxx:1110 | Using outbound proxy:
sip:172.28.120.10:5060;lr -> SipReq:  REGISTER np tid=a0542623bb302f02
cseq=1 R
EGISTER contact=9005 / 1 from(tu)
DEBUG | 20150611-174811.305 | EasyUA SIP client | RESIP:DUM | 13436 |
DialogUsageManager.cxx:1124 | Sending to express outbound w/o flow tuple
DEBUG | 20150611-174811.312 | EasyUA SIP client | RESIP | 13436 |
SipStack.cxx:611 | SEND: SipReq:  REGISTER np tid=a0542623bb302f02 cseq=1
REGISTER contact=9005 / 1 from(tu)
DEBUG | 20150611-174811.322 | EasyUA SIP client | RESIP:TRANSACTION | 1884 |
TimerQueue.cxx:50 | Adding timer: Timer F tid=a0542623bb302f02 ms=32000
DEBUG | 20150611-174811.330 | EasyUA SIP client | RESIP:TRANSPORT | 1884 |
TransportSelector.cxx:463 | Looking up dns entries (from route) for
sip:172.28.120.10:5060;lr
DEBUG | 20150611-174811.339 | EasyUA SIP client | RESIP:DNS | 1884 |
DnsResult.cxx:249 | DnsResult::lookup sip:172.28.120.10:5060;lr
DEBUG | 20150611-174811.346 | EasyUA SIP client | RESIP:DNS | 1884 |
DnsResult.cxx:466 | Numeric result so return immediately: [ V4
172.28.120.10:5060 TCP target domain=172.28.120.10 mFlowKey=0 ]
DEBUG | 20150611-174811.358 | EasyUA SIP client | RESIP:TRANSPORT | 1884 |
TransportSelector.cxx:1178 | Transmitting to [ V4 172.28.120.10:5060 TCP
target domain=172.28.120.10 mFlowKey=0 ] tlsDomain= v
ia [ V4 172.28.60.1:5870 TCP target domain=unspecified mFlowKey=0 ]

------------------------------------------