瀏覽代碼

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

Pavel Kasparek 17 年之前
父節點
當前提交
94789f36ee
共有 2 個文件被更改,包括 12 次插入12 次删除
  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
 reply_to_via=no
 # public IP address
 # public IP address
 #DEBCONF-LISTEN-START
 #DEBCONF-LISTEN-START
-listen=1.2.3.4
+listen=127.0.0.1
 #DEBCONF-LISTEN-END
 #DEBCONF-LISTEN-END
 # sip.mcast.net for REGISTER replication
 # sip.mcast.net for REGISTER replication
 listen=224.0.1.75
 listen=224.0.1.75
 # administrative interface -- needed for example for multicast source
 # administrative interface -- needed for example for multicast source
 # or XML-RPC
 # or XML-RPC
 #DEBCONF-LISTEN_ADMIN-START
 #DEBCONF-LISTEN_ADMIN-START
-listen=udp:192.168.1.1
+listen=udp:127.0.0.1
 #DEBCONF-LISTEN_ADMIN-END
 #DEBCONF-LISTEN_ADMIN-END
 
 
 # ------------------- misc params -------------------------------------
 # ------------------- misc params -------------------------------------
@@ -276,12 +276,12 @@ avpflags
 
 
 # specify the path to you database here
 # specify the path to you database here
 #DEBCONF-DBURL-START
 #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
 #DEBCONF-DBURL-END
 
 
 # specify the path to your database for accounting
 # specify the path to your database for accounting
 #DEBCONF-DBURLACC-START
 #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
 #DEBCONF-DBURLACC-END
 
 
 # -- usrloc params --
 # -- usrloc params --
@@ -407,7 +407,7 @@ modparam("tm", "restart_fr_on_each_reply", 0)
 # -- nathelper params --
 # -- nathelper params --
 # RTP-Proxy
 # RTP-Proxy
 #DEBCONF-RTTPPROXY-START
 #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
 #DEBCONF-RTTPPROXY-END
 # TCP keepalives as simple as CRLF
 # TCP keepalives as simple as CRLF
 modparam("nathelper", "natping_crlf", 0)
 modparam("nathelper", "natping_crlf", 0)
@@ -868,7 +868,7 @@ route[REGISTRAR]
 		# the source IP address decision up to kernel
 		# the source IP address decision up to kernel
 		# routing tables)
 		# routing tables)
 		#DEBCONF-REPL_SEND_ADDR-START
 		#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
 		#DEBCONF-REPL_SEND_ADDR-END
 		# put UID in request URI so that it doesn't
 		# put UID in request URI so that it doesn't
 		# have to be looked up by all multicast receivers
 		# 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
 Template: ser-oob/LISTEN
 Type: string
 Type: string
-Default: 1.2.3.4
+Default: 127.0.0.1
 Description: List of IP addresses to listen on
 Description: List of IP addresses to listen on
  List of all IP addresses SER will listen for SIP messages on. 
  List of all IP addresses SER will listen for SIP messages on. 
  Multiple entries may be entered separated by commas.
  Multiple entries may be entered separated by commas.
@@ -55,7 +55,7 @@ Description: List of IP addresses to listen on
 
 
 Template: ser-oob/ADMINADDR
 Template: ser-oob/ADMINADDR
 Type: string
 Type: string
-Default: 192.168.0.1
+Default: 127.0.0.1
 Description: Administrative IP address
 Description: Administrative IP address
  Set the IP address of administrative interface (usually a private one), on which
  Set the IP address of administrative interface (usually a private one), on which
  Ser will also listen.
  Ser will also listen.
@@ -64,7 +64,7 @@ Description: Administrative IP address
 
 
 Template: ser-oob/SENDADDR
 Template: ser-oob/SENDADDR
 Type: string
 Type: string
-Default: 192.168.1.1
+Default: 127.0.0.1
 Description: IP address used for sending replication
 Description: IP address used for sending replication
  Set source IP address that Ser will use for sending REGISTERs replication
  Set source IP address that Ser will use for sending REGISTERs replication
  to multicast address.
  to multicast address.
@@ -73,7 +73,7 @@ Description: IP address used for sending replication
 
 
 Template: ser-oob/DBURL
 Template: ser-oob/DBURL
 Type: string
 Type: string
-Default: mysql://ser:heslo@localhost/ser
+Default: mysql://ser:heslo@127.0.0.1/ser
 Description: address of database
 Description: address of database
  Set the address of your database server which includes all provisioning
  Set the address of your database server which includes all provisioning
  data. Example is "mysql://ser:heslo@localhost/ser".
  data. Example is "mysql://ser:heslo@localhost/ser".
@@ -82,7 +82,7 @@ Description: address of database
 
 
 Template: ser-oob/DBURLACC
 Template: ser-oob/DBURLACC
 Type: string
 Type: string
-Default: mysql://ser:heslo@localhost/ser
+Default: mysql://ser:heslo@127.0.0.1/ser
 Description: address of database for accounting
 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".
  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
 Template: ser-oob/RTTPPROXY
 Type: string
 Type: string
-Default: udp:localhost:22222
+Default: udp:127.0.0.1:22222
 Description: RTP proxy control socket
 Description: RTP proxy control socket
  Set address of RTP proxy control socket. Example: "udp:localhost:22222".
  Set address of RTP proxy control socket. Example: "udp:localhost:22222".
  Enter empty string to not set any RTP proxy address.
  Enter empty string to not set any RTP proxy address.