|
From: | Surender Singh |
Subject: | [Linphone-developers] sip test case automation using C#_Linphone API |
Date: | Fri, 9 Dec 2016 07:18:23 +0000 |
Hello, First of all Thanks to develop such a SIP User agent client . I am new for Linphone and want to write some test script using C# using Linphone API. 1)
Register the users 2)
Make the two calls 3)
Three party calls etc… I tried to registered the two users and got success But I unable to make calls to each other. Please suggest me and below is my C# code… Using sipdotnet Account account = new Account("2002", "2002", "1.1.1.1"); Phone DN1 = new Phone(account); DN1.Connect(); Account account = new Account("2003", "2003", "1.1.1.1"); Phone DN2 = new Phone(account); DN2.Connect(); DN1.MakeCall("sip:address@hidden"); sipdotnet.Linphone.LinphoneCall lincall = new Linphone.LinphoneCall(); lincall.SetCallType(Call.CallType.Incoming); lincall.SetFrom("sip:address@hidden"); lincall.SetTo("sip:address@hidden"); //lincall.SetCallState(Call.CallState.None); DN1.ReceiveCall(lincall); Regards Surender Singh
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. ---------------------------------------------------------------------------------------------------------------------------------------------------- |
[Prev in Thread] | Current Thread | [Next in Thread] |