Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I connect without a password on the SIP URI #42

Open
hanweimin opened this issue Apr 23, 2020 · 0 comments
Open

How do I connect without a password on the SIP URI #42

hanweimin opened this issue Apr 23, 2020 · 0 comments

Comments

@hanweimin
Copy link

hanweimin commented Apr 23, 2020

Hi

When I use version 0.15.10, Wucheng successfully registered with the password;

This is my configuration option

config : {
/password : user.Pass,
displayName : user.Display,
uri : 'sip:'+user.User+'@'+user.Realm,
wsServers : user.WSServer,
registerExpires : 30,
traceSip : true,
log : {
level : 3,
}
/
uri: user.User+'.'+token+'@'+user.Realm,
displayName: user.Display,
authorizationUser: user.Display,
password: user.Pass,
userAgentString: user.Display,
log : {
level : 3,
builtinEnabled: true,
},
transportOptions: {
wsServers : [user.WSServer],
traceSip : true,
},
registerOptions: {
expires: 30,
//instanceId: "uuid:8f1fa16a-1165-4a96-8341-785b1ef24f12",
//registrar: 'sip:'+user.Realm,
},
//rel100: SIP.C.supported.REQUIRED,
//allowLegacyNotifications: true,
//hackWssInTransport: true,
register: true,
//hackIpInContact: true,
autostart: true,
//hackViaTcp: true

    },

but get errors

sip.min.js:10491 Thu Apr 23 2020 17:19:53 GMT+0800 (中国标准时间) | sip.parser | no CRLF found, not a SIP message, discarded
LoggerFactory.print @ sip.min.js:10491
LoggerFactory.genericLog @ sip.min.js:10469
Logger.genericLog @ sip.min.js:10533
Logger.warn @ sip.min.js:10529
parseMessage @ sip.min.js:5411
UA.onTransportReceiveMsg @ sip.min.js:17939
(anonymous) @ sip.min.js:17917
emit @ sip.min.js:6771
Transport.onMessage @ sip.min.js:20989
sip.min.js:10491 Thu Apr 23 2020 17:19:53 GMT+0800 (中国标准时间) | sip.ua | UA failed to parse incoming SIP message - discarding.
LoggerFactory.print @ sip.min.js:10491
LoggerFactory.genericLog @ sip.min.js:10469
Logger.genericLog @ sip.min.js:10533
Logger.warn @ sip.min.js:10529
UA.onTransportReceiveMsg @ sip.min.js:17941
(anonymous) @ sip.min.js:17917
emit @ sip.min.js:6771
Transport.onMessage @ sip.min.js:20989
sip.min.js:10491 Thu Apr 23 2020 17:20:25 GMT+0800 (中国标准时间) | sip.user-agent-client | User agent client request timed out. Generating internal 408 Request Timeout.

try to try , I can't find the reason

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant