0% found this document useful (0 votes)
145 views6 pages

22

The document contains log messages from a phone service initializing a SIP.js client and registering a phone number with a SIP server. It records the phone service setting up the SIP.js adapter with the user's credentials and phone number, initializing the SIP.js UserAgent, and sending a REGISTER request to the SIP server to register the number. The server responds with a 401 Unauthorized status.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
145 views6 pages

22

The document contains log messages from a phone service initializing a SIP.js client and registering a phone number with a SIP server. It records the phone service setting up the SIP.js adapter with the user's credentials and phone number, initializing the SIP.js UserAgent, and sending a REGISTER request to the SIP server to register the number. The server responds with a 401 Unauthorized status.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

"[2022-06-02T09:21:15.

882Z] LOG - Group - Creating group: undefined


[2022-06-02T09:21:15.898Z] INFO - Profile - setUpPhoneService() called
[2022-06-02T09:21:16.026Z] DEBUG - phoneService - initialize() called with config =
{\"phoneNumber\":\"6265077642\",\"legacySipInfo\":
{\"id\":96,\"host\":\"prod.tncp.textnow.com\",\"username\":\"16265077642_8V3ZoYxoxHIRQqeEF
Fo5AiyC1yTYEoyXX4O6lbxNjuAE\",\"password\":\"7f0cd467f6ebcb191e39b088ae0920cc\",\"pr
oxy\":\"\",\"stun\":\"\",\"voicemail_url\":\"https://s3.amazonaws.com/TN-Prod-
VoicemailGreetings/
a4a8febbcc83be95d71a40765f2e3e391dfac47d53f8ad4c1de70a1e1b87187e.wav\",\"client_ip\":
\"172.226.2.88\",\"ice_servers\":[{\"endpoint\":\"stun:ice-server.us-east-
1.prod.tncp.textnow.com\",\"credential\":{\"expiry\":0,\"username\":\"\",\"password\":\"\"}},
{\"endpoint\":\"turn:turn-global.prod.tncp.textnow.com\",\"credential\":
{\"username\":\"1654900986:16265077642\",\"password\":\"GkujOXM2bA4CR/
WfVX+8JhswKoI=\",\"expiry\":1654900986}}]},\"sipInfo\":{\"tncp\":{\"credentials\":
{\"username\":\"16265077642_8V3ZoYxoxHIRQqeEFFo5AiyC1yTYEoyXX4O6lbxNjuAE\",\"pas
sword\":\"7f0cd467f6ebcb191e39b088ae0920cc\"},\"endpoints\":[{\"address\":\"udp://
prod.tncp.textnow.com:5070\"},{\"address\":\"wss://prod.tncp.textnow.com:443\"}],\"features\":
{\"inbound\":false,\"outbound_free\":true,\"outbound_paid\":false}},\"legacy\":{\"credentials\":
{\"username\":\"16265077642_8V3ZoYxoxHIRQqeEFFo5AiyC1yTYEoyXX4O6lbxNjuAE\",\"pas
sword\":\"f7487c72c23930888df18aff513c1a19\"},\"endpoint\":\"enflick.layered.net\",\"features\":
{\"inbound\":false,\"outbound_free\":false,\"outbound_paid\":false}}}}
[2022-06-02T09:21:16.026Z] INFO - phoneService - setting up SipJsCallAdapter with config:
{\"useWebProxy\":true,\"webProxySubdomain\":\"web1\",\"credentials\":
{\"username\":\"16265077642_8V3ZoYxoxHIRQqeEFFo5AiyC1yTYEoyXX4O6lbxNjuAE\",\"pas
sword\":\"7f0cd467f6ebcb191e39b088ae0920cc\"},\"endpoints\":[\"wss://
prod.tncp.textnow.com/\"],\"enabled_for\":
{\"outbound_free_enabled\":true,\"outbound_paid_enabled\":true,\"inbound_enabled\":true}}
[2022-06-02T09:21:16.026Z] DEBUG - phoneServiceModule/eventRouter -
registerConnectionEvents: registering connection events for sip-js
[2022-06-02T09:21:16.026Z] DEBUG - phoneServiceModule/eventRouter -
registerCallingEvents: registering outgoing calling events for sip-js
[2022-06-02T09:21:16.026Z] DEBUG - phoneServiceModule/eventRouter -
registerCallingEvents: registering incoming calling events for sip-js
[2022-06-02T09:21:16.026Z] DEBUG - phoneServiceModule/eventRouter -
registerCallingEvents: registering calling events for sip-js
[2022-06-02T09:21:16.027Z] DEBUG - SipJsCallAdapter - initialize() called
[2022-06-02T09:21:16.027Z] DEBUG - SipJsCallAdapter - _tryConnecting() called
[2022-06-02T09:21:16.027Z] DEBUG - SipJsCallAdapter - _tryConnecting: starting connection
attempt 1
[2022-06-02T09:21:16.030Z] INFO - sip.UserAgent - Configuration:
[2022-06-02T09:21:16.030Z] INFO - sip.UserAgent - · allowLegacyNotifications: false
[2022-06-02T09:21:16.030Z] INFO - sip.UserAgent - · authorizationHa1: \"\"
[2022-06-02T09:21:16.030Z] INFO - sip.UserAgent - · authorizationPassword: NOT SHOWN
[2022-06-02T09:21:16.030Z] INFO - sip.UserAgent - ·
authorizationUsername: \"16265077642_8V3ZoYxoxHIRQqeEFFo5AiyC1yTYEoyXX4O6lbxNju
AE\"
[2022-06-02T09:21:16.030Z] INFO - sip.UserAgent - · autoStart: false
[2022-06-02T09:21:16.030Z] INFO - sip.UserAgent - · autoStop: true
[2022-06-02T09:21:16.030Z] INFO - sip.UserAgent - · delegate: \\
[2022-06-02T09:21:16.030Z] INFO - sip.UserAgent - · contactName: \"\"
[2022-06-02T09:21:16.030Z] INFO - sip.UserAgent - · contactParams:
[2022-06-02T09:21:16.030Z] INFO - sip.UserAgent - · displayName: \"\"
[2022-06-02T09:21:16.030Z] INFO - sip.UserAgent - · forceRport: false
[2022-06-02T09:21:16.030Z] INFO - sip.UserAgent - · hackAllowUnregisteredOptionTags: false
[2022-06-02T09:21:16.030Z] INFO - sip.UserAgent - · hackIpInContact: false
[2022-06-02T09:21:16.030Z] INFO - sip.UserAgent - · hackViaTcp: false
[2022-06-02T09:21:16.030Z] INFO - sip.UserAgent - · logBuiltinEnabled: false
[2022-06-02T09:21:16.030Z] INFO - sip.UserAgent - · logConfiguration: true
[2022-06-02T09:21:16.030Z] INFO - sip.UserAgent - · logConnector: undefined
[2022-06-02T09:21:16.030Z] INFO - sip.UserAgent - · logLevel: 2
[2022-06-02T09:21:16.030Z] INFO - sip.UserAgent - · noAnswerTimeout: 60
[2022-06-02T09:21:16.030Z] INFO - sip.UserAgent - · preloadedRouteSet: []
[2022-06-02T09:21:16.030Z] INFO - sip.UserAgent - · reconnectionAttempts: 0
[2022-06-02T09:21:16.030Z] INFO - sip.UserAgent - · reconnectionDelay: 4
[2022-06-02T09:21:16.030Z] INFO - sip.UserAgent - · sendInitialProvisionalResponse: true
[2022-06-02T09:21:16.030Z] INFO - sip.UserAgent - · sessionDescriptionHandlerFactory: NOT
SHOWN
[2022-06-02T09:21:16.030Z] INFO - sip.UserAgent - ·
sessionDescriptionHandlerFactoryOptions: },\"modifiers\":[null]}
[2022-06-02T09:21:16.030Z] INFO - sip.UserAgent - · sipExtension100rel: \"Unsupported\"
[2022-06-02T09:21:16.030Z] INFO - sip.UserAgent - · sipExtensionReplaces: \"Unsupported\"
[2022-06-02T09:21:16.030Z] INFO - sip.UserAgent - · sipExtensionExtraSupported: []
[2022-06-02T09:21:16.030Z] INFO - sip.UserAgent - · sipjsId: \"btk01\"
[2022-06-02T09:21:16.030Z] INFO - sip.UserAgent - · transportConstructor: s
[2022-06-02T09:21:16.030Z] INFO - sip.UserAgent - · transportOptions:
[2022-06-02T09:21:16.030Z] INFO - sip.UserAgent - · uri: NOT SHOWN
[2022-06-02T09:21:16.031Z] INFO - sip.UserAgent - · userAgentString: \"SIP.js/0.20.0\"
[2022-06-02T09:21:16.031Z] INFO - sip.UserAgent - · viaHost: \"vaa866idn857.invalid\"
[2022-06-02T09:21:16.031Z] INFO - sip.UserAgent - · register: false
[2022-06-02T09:21:16.031Z] WARN - sip.UserAgent - The transport
option \"maxReconnectionAttempts\" as has apparently been specified and has been
deprecated. It will no longer be available starting with SIP.js release 0.16.0. Please update
accordingly.
[2022-06-02T09:21:16.031Z] WARN - sip.Transport - The transport option \"wsServers\" as has
apparently been specified and has been deprecated. It will no longer be available starting with
SIP.js release 0.16.0. Please update accordingly.
[2022-06-02T09:21:16.031Z] WARN - sip.Transport - The transport
option \"maxReconnectionAttempts\" as has apparently been specified and has been
deprecated. It will no longer be available starting with SIP.js release 0.16.0. Please update
accordingly.
[2022-06-02T09:21:16.032Z] INFO - sip.UserAgent - Starting
sip:16265077642_8V3ZoYxoxHIRQqeEFFo5AiyC1yTYEoyXX4O6lbxNjuAE@prod.tncp.textnow
.com
[2022-06-02T09:21:16.032Z] INFO - sip.UserAgent - Transitioned from Stopped to Started
[2022-06-02T09:21:16.032Z] INFO - sip.Transport - Connecting
wss://web1.prod.tncp.textnow.com/
[2022-06-02T09:21:16.032Z] INFO - sip.Transport - Transitioned from Disconnected to
Connecting
[2022-06-02T09:21:16.083Z] LOG - BadgeService - Setting badge val: 0
[2022-06-02T09:21:16.330Z] LOG - Group - Creating group: null
[2022-06-02T09:21:16.330Z] LOG - Group - Creating group: null
[2022-06-02T09:21:16.330Z] LOG - Group - Creating group: null
[2022-06-02T09:21:16.331Z] LOG - Group - Creating group: null
[2022-06-02T09:21:16.331Z] LOG - Group - Creating group: null
[2022-06-02T09:21:16.331Z] LOG - Group - Creating group: null
[2022-06-02T09:21:16.331Z] LOG - Group - Creating group: null
[2022-06-02T09:21:16.331Z] LOG - Group - Creating group: null
[2022-06-02T09:21:16.332Z] LOG - Group - Creating group: null
[2022-06-02T09:21:16.332Z] LOG - Group - Creating group: null
[2022-06-02T09:21:16.332Z] LOG - Group - Creating group: null
[2022-06-02T09:21:16.584Z] INFO - sip.Transport - WebSocket opened
wss://web1.prod.tncp.textnow.com/
[2022-06-02T09:21:16.584Z] INFO - sip.Transport - Transitioned from Connecting to Connected
[2022-06-02T09:21:16.585Z] INFO - SipJsCallAdapter - _tryConnecting: sipjs user agent
transport connected
[2022-06-02T09:21:16.585Z] DEBUG - SipJsCallAdapter - _register()
[2022-06-02T09:21:16.586Z] INFO - sip.Registerer - Configuration:
[2022-06-02T09:21:16.586Z] INFO - sip.Registerer - · expires: 600
[2022-06-02T09:21:16.586Z] INFO - sip.Registerer - · extraContactHeaderParams: []
[2022-06-02T09:21:16.586Z] INFO - sip.Registerer - · extraHeaders: []
[2022-06-02T09:21:16.586Z] INFO - sip.Registerer - · logConfiguration: true
[2022-06-02T09:21:16.586Z] INFO - sip.Registerer - · instanceId: \"e6be8a16-96fb-4716-beca-
197639ac6851\"
[2022-06-02T09:21:16.586Z] INFO - sip.Registerer - · params: \\
[2022-06-02T09:21:16.586Z] INFO - sip.Registerer - · regId: 1
[2022-06-02T09:21:16.586Z] INFO - sip.Registerer - · registrar: sip:prod.tncp.textnow.com
[2022-06-02T09:21:16.586Z] INFO - sip.Registerer - · refreshFrequency: 99
[2022-06-02T09:21:16.586Z] INFO - sip.Registerer - Waiting toggled to true
[2022-06-02T09:21:16.586Z] DEBUG - sip.transaction.nict - Constructing non-INVITE client
transaction with id z9hG4bK2338668.
[2022-06-02T09:21:16.586Z] INFO - sip.Transport - Sending WebSocket message:

REGISTER sip:prod.tncp.textnow.com SIP/2.0\r


Via: SIP/2.0/WSS vaa866idn857.invalid;branch=z9hG4bK2338668\r
To:
<sip:16265077642_8V3ZoYxoxHIRQqeEFFo5AiyC1yTYEoyXX4O6lbxNjuAE@prod.tncp.textno
w.com>\r
From:
<sip:16265077642_8V3ZoYxoxHIRQqeEFFo5AiyC1yTYEoyXX4O6lbxNjuAE@prod.tncp.textno
w.com>;tag=4cnsb774fa\r
CSeq: 2 REGISTER\r
Call-ID: btk01p4o0b70hjb64n2j\r
Max-Forwards: 70\r
Contact: <sip:[email protected];transport=ws>;reg-
id=1;+sip.instance=\"<urn:uuid:e6be8a16-96fb-4716-beca-197639ac6851>\";expires=600\r
Allow: ACK,CANCEL,INVITE,MESSAGE,BYE,OPTIONS,INFO,NOTIFY,REFER\r
Supported: outbound, path, gruu\r
User-Agent: SIP.js/0.20.0\r
Content-Length: 0\r
\r

[2022-06-02T09:21:16.586Z] LOG - SipJsCallAdapter - Sent request = [object Object]


[2022-06-02T09:21:16.586Z] LOG - SipJsCallAdapter - User Agent: Started
[2022-06-02T09:21:16.689Z] INFO - sip.Transport - Received WebSocket text message:

SIP/2.0 401 Unauthorized\r


Via: SIP/2.0/WSS
vaa866idn857.invalid;rport=57182;received=10.241.33.99;branch=z9hG4bK2338668\r
To:
<sip:16265077642_8V3ZoYxoxHIRQqeEFFo5AiyC1yTYEoyXX4O6lbxNjuAE@prod.tncp.textno
w.com>;tag=bddf01204f7ddc64078da14557abcaf7.bf9a0000\r
From:
<sip:16265077642_8V3ZoYxoxHIRQqeEFFo5AiyC1yTYEoyXX4O6lbxNjuAE@prod.tncp.textno
w.com>;tag=4cnsb774fa\r
CSeq: 2 REGISTER\r
Call-ID: btk01p4o0b70hjb64n2j\r
WWW-Authenticate: Digest realm=\"prod.tncp.textnow.com\",
nonce=\"YpiCOGKYgQwIbJSuE+mvqBrBX2z0FwKM\"\r
Server: sip-registrar2.tncp\r
Content-Length: 0\r
\r
[2022-06-02T09:21:16.695Z] DEBUG - sip.transaction.nict - State change to \"Completed\" on
non-INVITE client transaction with id z9hG4bK2338668.
[2022-06-02T09:21:16.695Z] DEBUG - sip.transaction.nict - Constructing non-INVITE client
transaction with id z9hG4bK7143913.
[2022-06-02T09:21:16.695Z] INFO - sip.Transport - Sending WebSocket message:

REGISTER sip:prod.tncp.textnow.com SIP/2.0\r


Via: SIP/2.0/WSS vaa866idn857.invalid;branch=z9hG4bK7143913\r
To:
<sip:16265077642_8V3ZoYxoxHIRQqeEFFo5AiyC1yTYEoyXX4O6lbxNjuAE@prod.tncp.textno
w.com>\r
From:
<sip:16265077642_8V3ZoYxoxHIRQqeEFFo5AiyC1yTYEoyXX4O6lbxNjuAE@prod.tncp.textno
w.com>;tag=4cnsb774fa\r
CSeq: 3 REGISTER\r
Call-ID: btk01p4o0b70hjb64n2j\r
Max-Forwards: 70\r
Authorization: Digest algorithm=MD5,
username=\"16265077642_8V3ZoYxoxHIRQqeEFFo5AiyC1yTYEoyXX4O6lbxNjuAE\",
realm=\"prod.tncp.textnow.com\", nonce=\"YpiCOGKYgQwIbJSuE+mvqBrBX2z0FwKM\",
uri=\"sip:prod.tncp.textnow.com\", response=\"b486ea8334f478f995dae53da6f96eed\"\r
Contact: <sip:[email protected];transport=ws>;reg-
id=1;+sip.instance=\"<urn:uuid:e6be8a16-96fb-4716-beca-197639ac6851>\";expires=600\r
Allow: ACK,CANCEL,INVITE,MESSAGE,BYE,OPTIONS,INFO,NOTIFY,REFER\r
Supported: outbound, path, gruu\r
User-Agent: SIP.js/0.20.0\r
Content-Length: 0\r
\r

[2022-06-02T09:21:16.820Z] DEBUG - sip.transaction.nict - Destroyed non-INVITE client


transaction with id z9hG4bK2338668.
[2022-06-02T09:21:16.820Z] DEBUG - sip.transaction.nict - State change to \"Terminated\" on
non-INVITE client transaction with id z9hG4bK2338668.
[2022-06-02T09:21:16.832Z] DEBUG - punt - Punt start succeeded
[2022-06-02T09:21:16.832Z] INFO - sip.Transport - Received WebSocket text message:

SIP/2.0 200 OK\r


Via: SIP/2.0/WSS
vaa866idn857.invalid;rport=57182;received=10.241.33.99;branch=z9hG4bK7143913\r
To:
<sip:16265077642_8V3ZoYxoxHIRQqeEFFo5AiyC1yTYEoyXX4O6lbxNjuAE@prod.tncp.textno
w.com>;tag=bddf01204f7ddc64078da14557abcaf7.bf9a0000\r
From:
<sip:16265077642_8V3ZoYxoxHIRQqeEFFo5AiyC1yTYEoyXX4O6lbxNjuAE@prod.tncp.textno
w.com>;tag=4cnsb774fa\r
CSeq: 3 REGISTER\r
Call-ID: btk01p4o0b70hjb64n2j\r
Contact: <sip:[email protected];transport=ws>;expires=529;pub-
gruu=\"sip:[email protected];gr=urn:uuid:e6be8a16-96fb-4716-beca-
197639ac6851\";temp-gruu=\"sip:uloc-624cc868-59f8-3c7597-
[email protected];gr\";+sip.instance=\"<urn:uuid:e6be8a16-96fb-4716-beca-
197639ac6851>\";reg-id=1\r
Path: <sip:[email protected];lr;ob>\r
Supported: outbound\r
Require: outbound\r
Server: sip-registrar2.tncp\r
Content-Length: 0\r
\r

[2022-06-02T09:21:16.837Z] DEBUG - sip.transaction.nict - State change to \"Completed\" on


non-INVITE client transaction with id z9hG4bK7143913.
[2022-06-02T09:21:16.838Z] INFO - sip.Registerer - Registration transitioned to state
Registered
[2022-06-02T09:21:16.838Z] DEBUG - phoneServiceModule/eventRouter -
registerConnectionEvents: event received: phone-service-ready, adapter: sip-js
[2022-06-02T09:21:16.838Z] INFO - sip.Registerer - Waiting toggled to false
[2022-06-02T09:21:16.855Z] DEBUG - sip.transaction.nict - Destroyed non-INVITE client
transaction with id z9hG4bK7143913.
[2022-06-02T09:21:16.856Z] DEBUG - sip.transaction.nict - State change to \"Terminated\" on
non-INVITE client transaction with id z9hG4bK7143913.
[2022-06-02T09:21:16.856Z] DEBUG - sip.transaction.nict - Destroyed non-INVITE client
transaction with id z9hG4bK7143913.
[2022-06-02T09:21:16.984Z] DEBUG - punt - Punt did succeed
[2022-06-02T09:21:19.264Z] DEBUG - permissionService - handleMicrophoneAccessGranted()
[2022-06-02T09:21:19.265Z] INFO - phoneServiceModule/eventRouter - phone service ready
[2022-06-02T09:21:19.265Z] DEBUG - phoneServiceModule/eventRouter -
setServiceState(ready)"

You might also like