Mercurial > hg > freeDiameter
annotate doc/app_sip.conf.sample @ 1540:407e0a889c7e
SCTP ConnectPeer: sctp_bindx() to local endpoints
When connecting to an SCTP peer using sctp_connectx() with local
addresses configured with ListenOn, bind to the ListenOn addresses
using sctp_bindx() so that the SCTP INIT only contains the
configured local addresses, matching what is advertised in the CER,
and disable SCTP_AUTO_ASCONF.
If no local addresses are configured with ListenOn, the previous
behaviour of sctp_connectx() and enable SCTP_AUTO_ASCONF is used.
author | Luke Mewburn <luke@mewburn.net> |
---|---|
date | Fri, 01 May 2020 18:20:33 +1000 |
parents | f38bff0bf3e9 |
children |
rev | line source |
---|---|
392
8e260030f32c
Added configuration file for app_sip and test_sip
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
1 |
8e260030f32c
Added configuration file for app_sip and test_sip
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
2 # MODE Diameter-SIP server (DSSERVER) or Subscriber Locator (SL) |
432
533188d2e6cc
Corrected bugs on SAR/SAA; added SQL files
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
392
diff
changeset
|
3 #You must have at least in your network a Diameter SIP server and a Subscriber Locator (on different nodes) |
392
8e260030f32c
Added configuration file for app_sip and test_sip
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
4 mode = DSSERVER; |
8e260030f32c
Added configuration file for app_sip and test_sip
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
5 |
432
533188d2e6cc
Corrected bugs on SAR/SAA; added SQL files
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
392
diff
changeset
|
6 |
440
f38bff0bf3e9
Added dynamic port choice for app_sip
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
432
diff
changeset
|
7 # Administrator commands port (port should be provided with "-p" in remote line) |
f38bff0bf3e9
Added dynamic port choice for app_sip
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
432
diff
changeset
|
8 ppr_port=90; |
f38bff0bf3e9
Added dynamic port choice for app_sip
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
432
diff
changeset
|
9 rtr_port=91; |
f38bff0bf3e9
Added dynamic port choice for app_sip
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
432
diff
changeset
|
10 |
f38bff0bf3e9
Added dynamic port choice for app_sip
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
432
diff
changeset
|
11 |
432
533188d2e6cc
Corrected bugs on SAR/SAA; added SQL files
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
392
diff
changeset
|
12 #******************# |
533188d2e6cc
Corrected bugs on SAR/SAA; added SQL files
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
392
diff
changeset
|
13 #*****DATABASE*****# |
533188d2e6cc
Corrected bugs on SAR/SAA; added SQL files
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
392
diff
changeset
|
14 #******************# |
392
8e260030f32c
Added configuration file for app_sip and test_sip
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
15 # DATASOURCE: MYSQL |
8e260030f32c
Added configuration file for app_sip and test_sip
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
16 datasource = MYSQL; |
8e260030f32c
Added configuration file for app_sip and test_sip
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
17 |
8e260030f32c
Added configuration file for app_sip and test_sip
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
18 #MYSQL connection details |
8e260030f32c
Added configuration file for app_sip and test_sip
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
19 mysql_login = "login"; |
8e260030f32c
Added configuration file for app_sip and test_sip
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
20 mysql_password = "password"; |
8e260030f32c
Added configuration file for app_sip and test_sip
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
21 mysql_database = "db"; |
8e260030f32c
Added configuration file for app_sip and test_sip
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
22 mysql_server = "server.fr"; |
432
533188d2e6cc
Corrected bugs on SAR/SAA; added SQL files
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
392
diff
changeset
|
23 |
533188d2e6cc
Corrected bugs on SAR/SAA; added SQL files
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
392
diff
changeset
|
24 #If value=0, default port for mysql will be set |
392
8e260030f32c
Added configuration file for app_sip and test_sip
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
25 mysql_port = 0; |
432
533188d2e6cc
Corrected bugs on SAR/SAA; added SQL files
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
392
diff
changeset
|
26 |
533188d2e6cc
Corrected bugs on SAR/SAA; added SQL files
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
392
diff
changeset
|
27 #Prefix for tables (default is "ds") |
533188d2e6cc
Corrected bugs on SAR/SAA; added SQL files
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
392
diff
changeset
|
28 mysql_prefix = "ds"; |