Click here to Skip to main content
15,886,578 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
when i try to register my sip account that time it gives Time out error
below is code

C#
var account = new SIPAccount(registrationRequired, displayName, userName, authenticationId, registerPassword, domainHost, domainPort);
              Console.WriteLine("\nCreating SIP account {0}", account);

              // With the SIP account and the NAT configuration, we can create a phoneline.
              phoneLine = softphone.CreatePhoneLine(account);
              Console.WriteLine("Phoneline created.");
              // The phoneline has states, we need to handle the event, when it is being changed.
              phoneLine.RegistrationStateChanged += phoneLine_PhoneLineStateChanged;

              // If our phoneline is created, we can register that.
              softphone.RegisterPhoneLine(phoneLine);



and after that I got OUT PUT
________________________________
CSS
Phoneline created.
Phone line state changed : RegistrationRequested
Phone line state changed : Error



I provided all my details for crating an account
Posted
Comments
ZurdoDev 8-Oct-15 8:52am    
Contact whoever is running the server where you're trying to register. A time out error is pretty clear.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900