# # VOIP BLASTER CONFIGURATION FILE (vb.txt is example, vb.ini is used) # # 1> quotes not really required unless you want with space in the entry # 2> if don't specify the ':port' in address entries, then the default port # will be assumed # 3> usually only need to set the PUBLIC_ADDRESS if have multiple machines # running this software behind a single public address and using # port-remapping to get to each of them, even then can use an address of # 0.0.0.0:port, where 'port' is replaced with the desired port number. # # select which device to use, default is 0 if commented out #DEVICE_INDEX 1 # can enable lots of debug stuff here, default is 0 if commented out #DEBUG_LEVEL 9 # this sets the volume level inside the device # 0 = lowest, 6 = highest, 3 = default DEVICE_VOLUME 3 # how long (in tenths of a second) to make CPC signal, many answering # machines expect this to notice the caller hungup, a good value is # around 5, disabled if commented out. #CPC_DURATION 5 # set to zero if do not want to use '#' to start call at end of dialed digits # enabled if commented out or value set to 1. #FORCE_DIAL 0 # these have to do with how much latency/jitter to allow # bumping up NET_HIGH_COUNT can help alot if have lots of jitter # ususally caused by TCP retrans, but will increase delay as well, but # will give better quality speech. NET_HIGH_WATER 2 NET_HIGH_COUNT 4 #NET_HIGH_COUNT 16 #NET_HIGH_COUNT 32 # use this port for outgoing calls unless explicitly given PORT_OUTGOING 8008 # use this port for incoming calls (port 'vb' actually listens to) PORT_LISTEN 8008 # remove this to disable voice over UDP PORT_LISTEN_UDP 8010 # use this port for phonebook server unless explicitly given PORT_SERVER 8009 # set to YES if want to use HTTP protocol for phonebook server access # must set PORT_SERVER to 80 also HTTP_SERVER NO # address for phonebook server (only primary used for now) PHONEBOOK_SERVER "vs1.fobbit.net" PHONEBOOK_SERVER "vs2.fobbit.net" # Information to publish to phonebook server # Should only set PUBLIC_ADDRESS if inbound is via a NAT box, even then, # unless want port-redirection should not need to set, since server will # use the 'recv-from' address as the default. Can use something like # "0.0.0.0:8158" if only what to set the port for NAT redirection. # Generally the port in the PUBLIC_ADDRESS should match PORT_LISTEN unless # you know what you are doing (same for UDP versions) # The NAME, LOCATION, and EMAIL are not required in anyway to use the # phonebook server but would appreciate it if at least said what # part of the world you are in (i.e. country or continent). # if you give your email will only use it to try and help if I notice # a problem, and perhaps email you about program updates. #PUBLIC_ADDRESS "0.0.0.0:8008" #PUBLIC_ADDRESS_UDP "0.0.0.0:8010" PUBLIC_NAME "Someone" PUBLIC_LOCATION "Somewhere" PUBLIC_EMAIL "foo@bar.com" # if set both of these to NO will act like before (without phonebook server) PUBLISH_TO_SERVER YES QUERY_SERVER YES # this should only be set to NO if can't accept inbound tcp connections # because blocked by a firewall/nat box, if at all possible should leave # yes and add redirect rules to firewall/nat box. This currently doesn't # really do anything, but if you can't accept tcp connections on the inbound # port, won't be able to receive calls CAN_ACCEPT_INBOUND YES # various sound files to use, seems if use dialtone file causes dialing issues # ringback and busy are required, but if dialtone not specified uses builtin FILE_RINGBACK "sounds/ringback.723" FILE_BUSY "sounds/busy.723" #FILE_DIALTONE "sounds/dialtone.723" FILE_DIALTONE_HEADSET "sounds/dialtone.723" # this controls how to dial, first is number of seconds from off-hook till # must enter the first digit, second is how many seconds from last digit # until the program initiates the call DIAL_TIMEOUT_1 15 DIAL_TIMEOUT_2 5 # when dial, first check local DIALED table, use ip/port direct if a match # else check speed table, convert to serial-number if so and use, else # use directly as a serial-number. send serial-number to phonebook server # for lookup # the dialed digits table is used to map dialed digits to an IP address:port # this is mainly used if don't want to use the phonebook-server # the 2nd column is what the user dials and the 3rd column is the destination # ip:port to use for the call, if no port is specified then the default # outgoing port is used (PORT_OUTGOING), any number of dialed digits can # be used and can vary from one entry to another #DIALED 100 hostname1:8008 #DIALED 101 hostname2:8008 #DIALED 102 hostname3:8119 #DIALED 202 hostname5 #DIALED 411 hostname6 # map dialed digits to a serial-number (only usefull with phonebook-server) # entry number '1' is for a windows box that is hooked up to an answering # machine that anyone is free to use for testing, again any number of dialed # digits can be used and can vary from one entry to another SPEED 1 104747227 #SPEED 2 10850???? #SPEED 3 10935???? # # The End! #