100% found this document useful (1 vote)
3K views6 pages

Textnow PDF

The log file documents the initialization of a phone service, including: 1) Setting up two call adapters (Flashphoner and SipJs) to handle calls using different backends. 2) Registering various event handlers for call events. 3) Flashphoner successfully connects and registers initially, but then the connection closes. 4) Reconnection attempts are made but timeout, so the phone service reinitializes.

Uploaded by

Jerry Lomeli
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
3K views6 pages

Textnow PDF

The log file documents the initialization of a phone service, including: 1) Setting up two call adapters (Flashphoner and SipJs) to handle calls using different backends. 2) Registering various event handlers for call events. 3) Flashphoner successfully connects and registers initially, but then the connection closes. 4) Reconnection attempts are made but timeout, so the phone service reinitializes.

Uploaded by

Jerry Lomeli
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

[2019-02-28T01:00:19.

232Z] LOG - Group - Creating group: null


[2019-02-28T01:00:19.744Z] INFO - Profile - setUpPhoneService() called
[2019-02-28T01:00:19.910Z] LOG - BadgeService - Setting badge val: 0
[2019-02-28T01:00:20.627Z] DEBUG - phoneService - initialize() called with config =
{"phoneNumber":"5593439707","legacySipInfo":{"id":2,"host":"enflick.layered.net","username":"1
5593439707_e02NOxXsTP1ofYEm8osz7OhiszKQqRJwcLxhoe1P7lP","password":"1a931f0c48
02fbac35607b2a98d4c4f0","proxy":"","stun":"","voicemail_url":"https://s3.amazonaws.com/TN-Pr
od-VoicemailGreetings/117b2ca331c005bf5c491c30ab0d90c1f23fcdb87b31fd58d88756396453
28d6.wav"},"sipInfo":{"tncp":{"credentials":{"username":"15593439707_e02NOxXsTP1ofYEm8o
sz7OhiszKQqRJwcLxhoe1P7lP","password":"2aa2ed7fd5b8cf726189025f47c45976"},"endpoint
s":[{"address":"udp://prod.tncp.textnow.com:5070"},{"address":"wss://prod.tncp.textnow.com:443
"}],"features":{"inbound":false,"outbound_free":true,"outbound_paid":false}},"legacy":{"credential
s":{"username":"15593439707_e02NOxXsTP1ofYEm8osz7OhiszKQqRJwcLxhoe1P7lP","passw
ord":"1a931f0c4802fbac35607b2a98d4c4f0"},"endpoint":"enflick.layered.net","features":{"inboun
d":true,"outbound_free":true,"outbound_paid":true}}}}
[2019-02-28T01:00:20.627Z] DEBUG - phoneService - initialize: current feature toggles
tncpEnabled = true, tncpOutboundFreeEnabled = true, tncpOutboundPaidEnabled = false,
tncpInboundEnabled = false
[2019-02-28T01:00:20.628Z] DEBUG - phoneService - configuring FlashphonerCallAdapter with
sipInfo config
[2019-02-28T01:00:20.629Z] INFO - phoneService - setting up FlashphonerCallAdapter with
config:
{"sip_info":{"username":"15593439707_e02NOxXsTP1ofYEm8osz7OhiszKQqRJwcLxhoe1P7lP
","password":"1a931f0c4802fbac35607b2a98d4c4f0","host":"enflick.layered.net"},"enabled_for":{
"outbound_free_enabled":true,"outbound_paid_enabled":true,"inbound_enabled":true}}
[2019-02-28T01:00:20.630Z] INFO - phoneService - setting up SipJsCallAdapter with config:
{"credentials":{"username":"15593439707_e02NOxXsTP1ofYEm8osz7OhiszKQqRJwcLxhoe1P
7lP","password":"2aa2ed7fd5b8cf726189025f47c45976"},"endpoints":["wss://prod.tncp.textnow.
com/"],"enabled_for":{"outbound_free_enabled":true,"outbound_paid_enabled":false,"inbound_e
nabled":false}}
[2019-02-28T01:00:20.631Z] DEBUG - phoneServiceModule/eventRouter -
registerConnectionEvents: registering connection events for flashphoner
[2019-02-28T01:00:20.631Z] DEBUG - phoneServiceModule/eventRouter -
registerConnectionEvents: registering connection events for sip-js
[2019-02-28T01:00:20.632Z] DEBUG - phoneServiceModule/eventRouter -
registerNoAudioEvents: registering no audio events for flashphoner
[2019-02-28T01:00:20.633Z] DEBUG - phoneServiceModule/eventRouter -
registerCallingEvents: registering outgoing calling events for flashphoner
[2019-02-28T01:00:20.633Z] DEBUG - phoneServiceModule/eventRouter -
registerCallingEvents: registering incoming calling events for flashphoner
[2019-02-28T01:00:20.633Z] DEBUG - phoneServiceModule/eventRouter -
registerCallingEvents: registering calling events for flashphoner
[2019-02-28T01:00:20.633Z] DEBUG - phoneServiceModule/eventRouter -
registerCallingEvents: registering outgoing calling events for sip-js
[2019-02-28T01:00:20.634Z] DEBUG - phoneServiceModule/eventRouter -
registerCallingEvents: registering calling events for sip-js
[2019-02-28T01:00:20.634Z] DEBUG - FlashphonerCallAdapter - Initializing Flashphoner
[2019-02-28T01:00:20.635Z] DEBUG - phoneServiceModule/eventRouter -
registerConnectionEvents: event received: connecting, adapter: flashphoner
[2019-02-28T01:00:20.636Z] DEBUG - phoneServiceModule/eventRouter -
setServiceState(connecting)
[2019-02-28T01:00:20.677Z] LOG - FlashphonerCallAdapter - Flashphoner created
[2019-02-28T01:00:20.678Z] DEBUG - FlashphonerHelper - login() called with username =
[15593439707_e02NOxXsTP1ofYEm8osz7OhiszKQqRJwcLxhoe1P7lP], sip =
[enflick.layered.net], port = [{}], isRetry = [undefined]
[2019-02-28T01:00:20.678Z] DEBUG - FlashphonerHelper - login: attempting flashphoner login
to urlServer = [wss://webcall.textnow.com:8443]
[2019-02-28T01:00:20.680Z] DEBUG - SipJsCallAdapter - initialize() called
[2019-02-28T01:00:20.680Z] DEBUG - phoneServiceModule/eventRouter -
registerConnectionEvents: event received: phone-service-ready, adapter: sip-js
[2019-02-28T01:00:21.489Z] DEBUG - jquery.websocket - [WebCall-WebSocketManager]
SENDING MESSAGE:
{"message":"connect","data":[{"login":"15593439707_e02NOxXsTP1ofYEm8osz7OhiszKQqRJw
cLxhoe1P7lP","password":"1a931f0c4802fbac35607b2a98d4c4f0","authenticationName":"1559
3439707_e02NOxXsTP1ofYEm8osz7OhiszKQqRJwcLxhoe1P7lP","domain":"enflick.layered.net
","outboundProxy":"enflick.layered.net","port":5060,"registerRequired":true,"useDTLS":true}]}
[2019-02-28T01:00:21.853Z] DEBUG - jquery.websocket - [WebCall-WebSocketManager]
RECEIVED MESSAGE:
{"message":"getUserData","data":[{"login":"15593439707_e02NOxXsTP1ofYEm8osz7OhiszKQq
RJwcLxhoe1P7lP","authenticationName":"15593439707_e02NOxXsTP1ofYEm8osz7OhiszKQq
RJwcLxhoe1P7lP","authToken":null,"password":"1a931f0c4802fbac35607b2a98d4c4f0","domai
n":"enflick.layered.net","outboundProxy":"enflick.layered.net","port":5060,"regRequired":true}]}
[2019-02-28T01:00:21.874Z] DEBUG - jquery.websocket - [WebCall-WebSocketManager]
RECEIVED MESSAGE: {"message":"getVersion","data":["5.0.2616"]}
[2019-02-28T01:00:21.875Z] DEBUG - jquery.websocket - [WebCall-WebSocketManager]
RECEIVED MESSAGE:
{"message":"registered","data":[{"message":{"data":{"code":200,"raw":"SIP/2.0 200
OK\r\nCall-ID: [email protected]\r\nCSeq: 2
REGISTER\r\nFrom:
<sip:15593439707_e02NOxXsTP1ofYEm8osz7OhiszKQqRJwcLxhoe1P7lP@enflick.layered.ne
t>;tag=3d2f1b\r\nTo:
<sip:15593439707_e02NOxXsTP1ofYEm8osz7OhiszKQqRJwcLxhoe1P7lP@enflick.layered.ne
t>;tag=68caafe91010a88ad23a0de9d7b2d5de.2b04\r\nVia: SIP/2.0/UDP
10.2.40.173:23529;rport=23529;received=34.206.104.32;branch=z9hG4bK0a2db2a2004a5385
b90af1a2fa7189d7\r\nContact:
<sip:15593439707_e02NOxXsTP1ofYEm8osz7OhiszKQqRJwcLxhoe1P7lP@10.2.40.173:2352
9>;expires=3600\r\nServer: OpenSIPS (2.3.3 (x86_64/linux))\r\nContent-Length:
0\r\n\r\n"},"keys":{"code":"java.lang.Integer","raw":"java.lang.String"}},"type":"Response"}]}
[2019-02-28T01:00:21.876Z] LOG - FlashphonerCallAdapter - Flashphoner registered
[2019-02-28T01:00:21.877Z] DEBUG - phoneServiceModule/eventRouter -
registerConnectionEvents: event received: phone-service-ready, adapter: flashphoner
[2019-02-28T01:00:22.230Z] DEBUG - punt - Punt start succeeded
[2019-02-28T01:00:22.754Z] DEBUG - punt - Punt did succeed
[2019-02-28T01:00:22.857Z] DEBUG - permissionService - handleMicrophoneAccessGranted()
[2019-02-28T01:00:22.888Z] INFO - phoneServiceModule/eventRouter - phone service ready
[2019-02-28T01:00:22.889Z] DEBUG - phoneServiceModule/eventRouter -
setServiceState(ready)
[2019-02-28T01:04:45.748Z] WARN - WebSocketManager - Close event received from
websocket:
{"originalEvent":{"isTrusted":true},"type":"close","timeStamp":191067.9999999993,"jQuery21400
3803286953833651":true,"target":{},"eventPhase":2,"currentTarget":{},"cancelable":false,"bubbl
es":false,"delegateTarget":{},"handleObj":{"type":"close","origType":"close","data":null,"guid":117
,"namespace":""},"data":null}
[2019-02-28T01:04:45.779Z] WARN - FlashphonerCallAdapter - Flashphoner connection closed
[2019-02-28T01:04:45.779Z] DEBUG - phoneServiceModule/eventRouter -
registerConnectionEvents: event received: connection-closed, adapter: flashphoner
[2019-02-28T01:04:45.805Z] DEBUG - phoneServiceModule/eventRouter -
setServiceState(initial)
[2019-02-28T01:04:45.845Z] DEBUG - phoneService - RECONNECT command received for
adapter: flashphoner
[2019-02-28T01:04:45.846Z] DEBUG - phoneServiceModule/eventRouter -
setServiceState(connecting)
[2019-02-28T01:04:45.874Z] LOG - phoneService - Attempting to reconnect to webcallserver in:
1198ms
[2019-02-28T01:04:51.912Z] LOG - phoneService - Attempting to reconnect to webcallserver...
[2019-02-28T01:04:51.913Z] DEBUG - FlashphonerHelper - login() called with username =
[15593439707_e02NOxXsTP1ofYEm8osz7OhiszKQqRJwcLxhoe1P7lP], sip =
[enflick.layered.net], port = [{}], isRetry = [true]
[2019-02-28T01:04:51.914Z] DEBUG - phoneServiceModule/eventRouter -
registerConnectionEvents: event received: connecting, adapter: flashphoner
[2019-02-28T01:04:51.914Z] DEBUG - phoneServiceModule/eventRouter -
setServiceState(connecting)
[2019-02-28T01:04:51.953Z] DEBUG - FlashphonerHelper - login: attempting flashphoner login
to urlServer = [wss://webcall.textnow.com:8443]
[2019-02-28T01:06:38.909Z] WARN - phoneServiceModule/eventRouter - connection to web
call server timed out after: 20000ms
[2019-02-28T01:07:54.787Z] LOG - Group - Creating group: null
[2019-02-28T01:07:55.094Z] INFO - Profile - setUpPhoneService() called
[2019-02-28T01:07:55.353Z] LOG - BadgeService - Setting badge val: 0
[2019-02-28T01:07:56.089Z] DEBUG - phoneService - initialize() called with config =
{"phoneNumber":"5593439707","legacySipInfo":{"id":2,"host":"enflick.layered.net","username":"1
5593439707_e02NOxXsTP1ofYEm8osz7OhiszKQqRJwcLxhoe1P7lP","password":"1a931f0c48
02fbac35607b2a98d4c4f0","proxy":"","stun":"","voicemail_url":"https://s3.amazonaws.com/TN-Pr
od-VoicemailGreetings/117b2ca331c005bf5c491c30ab0d90c1f23fcdb87b31fd58d88756396453
28d6.wav"},"sipInfo":{"tncp":{"credentials":{"username":"15593439707_e02NOxXsTP1ofYEm8o
sz7OhiszKQqRJwcLxhoe1P7lP","password":"2aa2ed7fd5b8cf726189025f47c45976"},"endpoint
s":[{"address":"udp://prod.tncp.textnow.com:5070"},{"address":"wss://prod.tncp.textnow.com:443
"}],"features":{"inbound":false,"outbound_free":true,"outbound_paid":false}},"legacy":{"credential
s":{"username":"15593439707_e02NOxXsTP1ofYEm8osz7OhiszKQqRJwcLxhoe1P7lP","passw
ord":"1a931f0c4802fbac35607b2a98d4c4f0"},"endpoint":"enflick.layered.net","features":{"inboun
d":true,"outbound_free":true,"outbound_paid":true}}}}
[2019-02-28T01:07:56.090Z] DEBUG - phoneService - initialize: current feature toggles
tncpEnabled = true, tncpOutboundFreeEnabled = true, tncpOutboundPaidEnabled = false,
tncpInboundEnabled = false
[2019-02-28T01:07:56.091Z] DEBUG - phoneService - configuring FlashphonerCallAdapter with
sipInfo config
[2019-02-28T01:07:56.092Z] INFO - phoneService - setting up FlashphonerCallAdapter with
config:
{"sip_info":{"username":"15593439707_e02NOxXsTP1ofYEm8osz7OhiszKQqRJwcLxhoe1P7lP
","password":"1a931f0c4802fbac35607b2a98d4c4f0","host":"enflick.layered.net"},"enabled_for":{
"outbound_free_enabled":true,"outbound_paid_enabled":true,"inbound_enabled":true}}
[2019-02-28T01:07:56.093Z] INFO - phoneService - setting up SipJsCallAdapter with config:
{"credentials":{"username":"15593439707_e02NOxXsTP1ofYEm8osz7OhiszKQqRJwcLxhoe1P
7lP","password":"2aa2ed7fd5b8cf726189025f47c45976"},"endpoints":["wss://prod.tncp.textnow.
com/"],"enabled_for":{"outbound_free_enabled":true,"outbound_paid_enabled":false,"inbound_e
nabled":false}}
[2019-02-28T01:07:56.095Z] DEBUG - phoneServiceModule/eventRouter -
registerConnectionEvents: registering connection events for flashphoner
[2019-02-28T01:07:56.096Z] DEBUG - phoneServiceModule/eventRouter -
registerConnectionEvents: registering connection events for sip-js
[2019-02-28T01:07:56.097Z] DEBUG - phoneServiceModule/eventRouter -
registerNoAudioEvents: registering no audio events for flashphoner
[2019-02-28T01:07:56.098Z] DEBUG - phoneServiceModule/eventRouter -
registerCallingEvents: registering outgoing calling events for flashphoner
[2019-02-28T01:07:56.098Z] DEBUG - phoneServiceModule/eventRouter -
registerCallingEvents: registering incoming calling events for flashphoner
[2019-02-28T01:07:56.099Z] DEBUG - phoneServiceModule/eventRouter -
registerCallingEvents: registering calling events for flashphoner
[2019-02-28T01:07:56.099Z] DEBUG - phoneServiceModule/eventRouter -
registerCallingEvents: registering outgoing calling events for sip-js
[2019-02-28T01:07:56.099Z] DEBUG - phoneServiceModule/eventRouter -
registerCallingEvents: registering calling events for sip-js
[2019-02-28T01:07:56.100Z] DEBUG - FlashphonerCallAdapter - Initializing Flashphoner
[2019-02-28T01:07:56.101Z] DEBUG - phoneServiceModule/eventRouter -
registerConnectionEvents: event received: connecting, adapter: flashphoner
[2019-02-28T01:07:56.102Z] DEBUG - phoneServiceModule/eventRouter -
setServiceState(connecting)
[2019-02-28T01:07:56.151Z] LOG - FlashphonerCallAdapter - Flashphoner created
[2019-02-28T01:07:56.151Z] DEBUG - FlashphonerHelper - login() called with username =
[15593439707_e02NOxXsTP1ofYEm8osz7OhiszKQqRJwcLxhoe1P7lP], sip =
[enflick.layered.net], port = [{}], isRetry = [undefined]
[2019-02-28T01:07:56.152Z] DEBUG - FlashphonerHelper - login: attempting flashphoner login
to urlServer = [wss://webcall.textnow.com:8443]
[2019-02-28T01:07:56.155Z] DEBUG - SipJsCallAdapter - initialize() called
[2019-02-28T01:07:56.156Z] DEBUG - phoneServiceModule/eventRouter -
registerConnectionEvents: event received: phone-service-ready, adapter: sip-js
[2019-02-28T01:07:56.666Z] DEBUG - jquery.websocket - [WebCall-WebSocketManager]
SENDING MESSAGE:
{"message":"connect","data":[{"login":"15593439707_e02NOxXsTP1ofYEm8osz7OhiszKQqRJw
cLxhoe1P7lP","password":"1a931f0c4802fbac35607b2a98d4c4f0","authenticationName":"1559
3439707_e02NOxXsTP1ofYEm8osz7OhiszKQqRJwcLxhoe1P7lP","domain":"enflick.layered.net
","outboundProxy":"enflick.layered.net","port":5060,"registerRequired":true,"useDTLS":true}]}
[2019-02-28T01:07:57.219Z] INFO - CallDetailsLog - CALL_DETAILS_NETWORK_CHANGED:
downlink: 3.15, downlinkMax: Infinity, effectiveType: 4g, rtt: 150, type: wifi
[2019-02-28T01:07:57.238Z] DEBUG - jquery.websocket - [WebCall-WebSocketManager]
RECEIVED MESSAGE:
{"message":"getUserData","data":[{"login":"15593439707_e02NOxXsTP1ofYEm8osz7OhiszKQq
RJwcLxhoe1P7lP","authenticationName":"15593439707_e02NOxXsTP1ofYEm8osz7OhiszKQq
RJwcLxhoe1P7lP","authToken":null,"password":"1a931f0c4802fbac35607b2a98d4c4f0","domai
n":"enflick.layered.net","outboundProxy":"enflick.layered.net","port":5060,"regRequired":true}]}
[2019-02-28T01:07:57.257Z] DEBUG - jquery.websocket - [WebCall-WebSocketManager]
RECEIVED MESSAGE: {"message":"getVersion","data":["5.0.2616"]}
[2019-02-28T01:07:57.258Z] DEBUG - jquery.websocket - [WebCall-WebSocketManager]
RECEIVED MESSAGE:
{"message":"registered","data":[{"message":{"data":{"code":200,"raw":"SIP/2.0 200
OK\r\nCall-ID: [email protected]\r\nCSeq: 2
REGISTER\r\nFrom:
<sip:15593439707_e02NOxXsTP1ofYEm8osz7OhiszKQqRJwcLxhoe1P7lP@enflick.layered.ne
t>;tag=fe09da33\r\nTo:
<sip:15593439707_e02NOxXsTP1ofYEm8osz7OhiszKQqRJwcLxhoe1P7lP@enflick.layered.ne
t>;tag=ec68159d256c10edd2dcd20a0ed8f360.9cf3\r\nVia: SIP/2.0/UDP
10.2.40.173:39871;rport=39871;received=34.206.104.32;branch=z9hG4bKedafb92060c8ebaa1
777dddb40fe987b\r\nContact:
<sip:15593439707_e02NOxXsTP1ofYEm8osz7OhiszKQqRJwcLxhoe1P7lP@10.2.40.173:3987
1>;expires=3600\r\nServer: OpenSIPS (2.3.3 (x86_64/linux))\r\nContent-Length:
0\r\n\r\n"},"keys":{"code":"java.lang.Integer","raw":"java.lang.String"}},"type":"Response"}]}
[2019-02-28T01:07:57.259Z] LOG - FlashphonerCallAdapter - Flashphoner registered
[2019-02-28T01:07:57.259Z] DEBUG - phoneServiceModule/eventRouter -
registerConnectionEvents: event received: phone-service-ready, adapter: flashphoner
[2019-02-28T01:07:58.667Z] DEBUG - permissionService - handleMicrophoneAccessGranted()
[2019-02-28T01:07:58.691Z] INFO - phoneServiceModule/eventRouter - phone service ready
[2019-02-28T01:07:58.691Z] DEBUG - phoneServiceModule/eventRouter -
setServiceState(ready)

You might also like