sipsorcery-org / sipsorcery

A WebRTC, SIP and VoIP library for C# and .NET. Designed for real-time communications apps.
https://sipsorcery-org.github.io/sipsorcery
Other
1.44k stars 438 forks source link

Cannot register to 3CX V18 #952

Open Paolo113 opened 1 year ago

Paolo113 commented 1 year ago

SIPRegistrationUserAgent allow only Username and Password. 3CX require Username, Login and Password.

How can I pass the right credential?

palybok commented 1 year ago

For 3cx you need this:

new SIPRegistrationUserAgent(new SIPTransport(), null, new SIPURI("my_3cx_extension", "my_3cx_domain", null), "my_3cx_login", "my_3cx_password", null, "my_3cx_domain", new SIPURI("my_3cx_extension", "my_3cx_domain", null), 3600, null, 60, 300, 3, true );