mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-04 12:29:27 +00:00
move flexisip conf files into a dedicated directory.
Add README simple_call is checking CallReleased state.
This commit is contained in:
parent
53c6673032
commit
6d57908ce2
6 changed files with 15 additions and 4 deletions
|
|
@ -1 +1 @@
|
|||
Subproject commit 7a0842cbfc9afe794feff095a2a864a57e9c1e81
|
||||
Subproject commit 72e45852e9f52c4acdabed4810d94db44eb8fa61
|
||||
2
oRTP
2
oRTP
|
|
@ -1 +1 @@
|
|||
Subproject commit b2a7137bbdaf6be4c6462058d01c6023b22d7302
|
||||
Subproject commit 7ad100e9f3b28e6a37f5472f70c49500ec15f49e
|
||||
9
tester/README
Normal file
9
tester/README
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
This is the test suite of liblinphone, with many tests suites for Register, Calls, Message, Presence.
|
||||
|
||||
All thoses tests suites require a SIP server configured accordingly in order to execute. Naturally a Flexisip SIP server is used, whose configuration is put in the flexisip/ directory here.
|
||||
|
||||
In order to invoke it, just place into the tester directory and run
|
||||
$ flexisip --configfile flexisip/flexisip.conf
|
||||
|
||||
The tester_hosts file contains the host-like DNS configuration file to be used by the test suite in order to resolve the virtual SIP domains used by the SIP stack.
|
||||
It is possible to run the flexisip SIP server and the test suite on the same machine by passing a new tester_hosts file where domains resolve to 127.0.0.1 to the tester, using the --dns-hosts option.
|
||||
|
|
@ -270,6 +270,8 @@ static void end_call(LinphoneCoreManager *m1, LinphoneCoreManager *m2){
|
|||
linphone_core_terminate_all_calls(m1->lc);
|
||||
CU_ASSERT_TRUE(wait_for(m1->lc,m2->lc,&m1->stat.number_of_LinphoneCallEnd,1));
|
||||
CU_ASSERT_TRUE(wait_for(m1->lc,m2->lc,&m2->stat.number_of_LinphoneCallEnd,1));
|
||||
CU_ASSERT_TRUE(wait_for(m1->lc,m2->lc,&m1->stat.number_of_LinphoneCallReleased,1));
|
||||
CU_ASSERT_TRUE(wait_for(m1->lc,m2->lc,&m2->stat.number_of_LinphoneCallReleased,1));
|
||||
}
|
||||
|
||||
static void simple_call(void) {
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ transports=sip:*:5060 sips:*:5061;tls-certificates-dir=/etc/flexisip/tls/certif
|
|||
# An absolute path of a directory where TLS server certificate and
|
||||
# private key can be found, concatenated inside an 'agent.pem' file.
|
||||
# Default value: /etc/flexisip/tls
|
||||
tls-certificates-dir=/etc/flexisip/tls/certificates/cn
|
||||
tls-certificates-dir=./certificates/cn
|
||||
#tls-certificates-dir=/media/sf_workspaces/workspace-macosx/flexisip
|
||||
|
||||
##
|
||||
|
|
@ -151,7 +151,7 @@ db-implementation=file
|
|||
# for a DSN-less connection. ex3: /etc/flexisip/passwd; for a file
|
||||
# containing one 'user@domain password' by line.
|
||||
# Default value:
|
||||
datasource=/etc/flexisip/userdb.conf
|
||||
datasource=./flexisip/userdb.conf
|
||||
|
||||
# Odbc SQL request to execute to obtain the password
|
||||
# . Named parameters are :id (the user found in the from header),
|
||||
Loading…
Add table
Reference in a new issue