Menu

Creating 2 lines or 2 calls in the same line

Help
pezze
2008-02-27
2013-04-23
  • pezze

    pezze - 2008-02-27

    Hi. I've a problem. When trying to create 2 lines the library return "Failure".

    Here is the complete error:

    -----------------------
    SipXTapiDotNet.SipxException: SipXTapi returned error: Failure
       in SipXTapiDotNet.SipxLine.Provision() in C:\DevRoot\VS2005\SipXTapiPhone\SipXTapiDotNet\SipXTapiDotNet_VB\SipxLine.vb:riga 189
       in SipXTapiDotNet.SipxInstance.LineCreate() in C:\DevRoot\VS2005\SipXTapiPhone\SipXTapiDotNet\SipXTapiDotNet_VB\SipxInstance.vb:riga 80
       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
    -----------------------

    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

     
    • Atif Ali Bhatti

      Atif Ali Bhatti - 2008-07-22

      hi,
        I have got the same problem. have you got any solutions. if yes do let me know please. Have you tried to Unregister any line. I have tried to but does not gets unregister.

      Regards.
      Atif Ali Bhatti.

       
      • pezze

        pezze - 2008-07-22

        I've changed totally the approach. The last update of SipXTapiDotNet is on October 10 2006 so I've downloaded the sources, rewritten in C# (my preferred .NET language) and used the modified C version of sipXTapi: http://code.google.com/p/sipxtapi/

        If you need support email me at info(AT)alessandrobenedetti.com

         
    • JD

      JD - 2009-07-10

      Hello

      Are you willing to share what you have done with the community?

      Thanks

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.