Hi. I've a problem. While trying to create 2 lines the library return "Failure".
Here is the complete error:
-----------------------
SipXcli.SipxException: sipXcli returned error: Failure - Generic Failure
in SipXcli.SipxLine.Provision(Int32 contactId)
in SipXcli.SipxInstance.LineCreate(Int32 contactId)
in SipXcli.SipxInstance.LineCreate()
in testConsole.SIpClient1.Call() in D:\Lavoro\Sertea\Voip\Nuove librerie VOIP\TEstSiPXApi\testConsole\SIpClient1.cs:riga 50
in testConsole.Program.Main(String[] args) in D:\Lavoro\Sertea\Voip\Nuove librerie VOIP\TEstSiPXApi\testConsole\Program.cs:riga 18
All done press a key
-----------------------
This library supports only one line. It may be used to support more that one line but code is not completed to implement this future. You can modify it for your needs.
Regards,
Victor
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi. I've a problem. While trying to create 2 lines the library return "Failure".
Here is the complete error:
-----------------------
SipXcli.SipxException: sipXcli returned error: Failure - Generic Failure
in SipXcli.SipxLine.Provision(Int32 contactId)
in SipXcli.SipxInstance.LineCreate(Int32 contactId)
in SipXcli.SipxInstance.LineCreate()
in testConsole.SIpClient1.Call() in D:\Lavoro\Sertea\Voip\Nuove librerie VOIP\TEstSiPXApi\testConsole\SIpClient1.cs:riga 50
in testConsole.Program.Main(String[] args) in D:\Lavoro\Sertea\Voip\Nuove librerie VOIP\TEstSiPXApi\testConsole\Program.cs:riga 18
All done press a key
-----------------------
and here is the code:
-----------------------
aSipxInstance = SipxInstance.Create(identity, 5060, 5060, 5061, 10000, 32, "0.0.0.0", false);
aSipxInstance.Connect(true);
int lineNumber = aSipxInstance.LineCreate();
SipxLine line = aSipxInstance.Lines[lineNumber];
line.AddCreditial("*********", "*******+", "sip.*******.it");
int lineNumber2 = aSipxInstance.LineCreate(); // ERROR
-----------------------
Any suggestion?
Thanks.
Alessandro
Hi,
This library supports only one line. It may be used to support more that one line but code is not completed to implement this future. You can modify it for your needs.
Regards,
Victor