Browse Source

changing all default ip addresses in ser-oob.cfg and debian templates to localhost

Pavel Kasparek 17 years ago
parent
commit
94789f36ee
2 changed files with 12 additions and 12 deletions
  1. 6 6
      etc/ser-oob.cfg
  2. 6 6
      pkg/debian/ser-oob.templates

+ 6 - 6
etc/ser-oob.cfg

@@ -144,14 +144,14 @@ phone2tel=no
 reply_to_via=no
 # public IP address
 #DEBCONF-LISTEN-START
-listen=1.2.3.4
+listen=127.0.0.1
 #DEBCONF-LISTEN-END
 # sip.mcast.net for REGISTER replication
 listen=224.0.1.75
 # administrative interface -- needed for example for multicast source
 # or XML-RPC
 #DEBCONF-LISTEN_ADMIN-START
-listen=udp:192.168.1.1
+listen=udp:127.0.0.1
 #DEBCONF-LISTEN_ADMIN-END
 
 # ------------------- misc params -------------------------------------
@@ -276,12 +276,12 @@ avpflags
 
 # specify the path to you database here
 #DEBCONF-DBURL-START
-modparam("speeddial|auth_db|usrloc|domain|uri_db|gflags|avp_db|db_ops", "db_url", "mysql://ser:heslo@192.168.1.1/ser")
+modparam("speeddial|auth_db|usrloc|domain|uri_db|gflags|avp_db|db_ops", "db_url", "mysql://ser:heslo@127.0.0.1/ser")
 #DEBCONF-DBURL-END
 
 # specify the path to your database for accounting
 #DEBCONF-DBURLACC-START
-modparam("acc_db", "db_url", "mysql://ser:heslo@192.168.1.1/ser")
+modparam("acc_db", "db_url", "mysql://ser:heslo@127.0.0.1/ser")
 #DEBCONF-DBURLACC-END
 
 # -- usrloc params --
@@ -407,7 +407,7 @@ modparam("tm", "restart_fr_on_each_reply", 0)
 # -- nathelper params --
 # RTP-Proxy
 #DEBCONF-RTTPPROXY-START
-modparam("nathelper", "rtpproxy_sock", "udp:192.168.1.1:22222")
+modparam("nathelper", "rtpproxy_sock", "udp:127.0.0.1:22222")
 #DEBCONF-RTTPPROXY-END
 # TCP keepalives as simple as CRLF
 modparam("nathelper", "natping_crlf", 0)
@@ -868,7 +868,7 @@ route[REGISTRAR]
 		# the source IP address decision up to kernel
 		# routing tables)
 		#DEBCONF-REPL_SEND_ADDR-START
-		force_send_socket(udp:192.168.1.1);
+		force_send_socket(udp:127.0.0.1);
 		#DEBCONF-REPL_SEND_ADDR-END
 		# put UID in request URI so that it doesn't
 		# have to be looked up by all multicast receivers

+ 6 - 6
pkg/debian/ser-oob.templates

@@ -42,7 +42,7 @@ Description: Unique identifier of the SER server
 
 Template: ser-oob/LISTEN
 Type: string
-Default: 1.2.3.4
+Default: 127.0.0.1
 Description: List of IP addresses to listen on
  List of all IP addresses SER will listen for SIP messages on. 
  Multiple entries may be entered separated by commas.
@@ -55,7 +55,7 @@ Description: List of IP addresses to listen on
 
 Template: ser-oob/ADMINADDR
 Type: string
-Default: 192.168.0.1
+Default: 127.0.0.1
 Description: Administrative IP address
  Set the IP address of administrative interface (usually a private one), on which
  Ser will also listen.
@@ -64,7 +64,7 @@ Description: Administrative IP address
 
 Template: ser-oob/SENDADDR
 Type: string
-Default: 192.168.1.1
+Default: 127.0.0.1
 Description: IP address used for sending replication
  Set source IP address that Ser will use for sending REGISTERs replication
  to multicast address.
@@ -73,7 +73,7 @@ Description: IP address used for sending replication
 
 Template: ser-oob/DBURL
 Type: string
-Default: mysql://ser:heslo@localhost/ser
+Default: mysql://ser:heslo@127.0.0.1/ser
 Description: address of database
  Set the address of your database server which includes all provisioning
  data. Example is "mysql://ser:heslo@localhost/ser".
@@ -82,7 +82,7 @@ Description: address of database
 
 Template: ser-oob/DBURLACC
 Type: string
-Default: mysql://ser:heslo@localhost/ser
+Default: mysql://ser:heslo@127.0.0.1/ser
 Description: address of database for accounting
  Set the address of your database that will be used for acconting. Example is "mysql://ser:heslo@localhost/ser".
  .
@@ -102,7 +102,7 @@ Description: Synchronization secret for twin servers:
 
 Template: ser-oob/RTTPPROXY
 Type: string
-Default: udp:localhost:22222
+Default: udp:127.0.0.1:22222
 Description: RTP proxy control socket
  Set address of RTP proxy control socket. Example: "udp:localhost:22222".
  Enter empty string to not set any RTP proxy address.