Updated yaps.rc for new service providers.
This commit is contained in:
MelwareDE 2008-01-17 07:04:02 +00:00
parent 2945591dca
commit 3919153f1a
1 changed files with 472 additions and 317 deletions

789
yaps.rc
View File

@ -1,370 +1,525 @@
# -*- sh -*- # -*- sh -*-
# #
# General yaps example configuration file # General yaps example configuration file
# #
######################################### #########################################
# global section # # global section #
######################################### #########################################
# #
# This is a comma seperated list of available services. This # +--------------------------------------
# is required for autodetect the matching service for a # | angepasste Version: 2004-11-28
# pager-id # | Heiko Teichmeier <heiko.teichmeier@tei-lin-net.de>
services D1,D2,E+ # +--------------------------------------
+services Telmi,Telmi-Fun,Telmi-Family,Telmi-Top,Telmi-Pro # | Changelog:
+services Skyper,Quix # | ----------
# | 2004-11-28
# | <> Service Cityruf hinzugefuegt - Tip von Ralf Soergel
# | <> Alias-Section einbinden einer externen Text-Datei
# | (yaps-alias.txt)
# +--------------------------------------
# #
# This is the default caller-id. If the protocol/service allowes # This is a comma seperated list of available services. This
# it, this is inserted in the message (and the receiver gets this # is required for autodetect the matching service for a
# as the sender's number) # pager-id
call-id +1-(555)-1234 services D1_0151,D1_0160,D1_0170,D1_0171,D1_0175
+services D2_0152,D2_0162,D2_0172,D2_0173,D2_0174
+services E+_0163,E+_0177,E+_0178
+services O2_0159,O2_0176,O2_0179
+services Telmi,Telmi-Fun,Telmi-Family,Telmi-Top,Telmi-Pro
+services Skyper,Quix
+services Cityruf
# #
# If you forget to sign your message, you can automatically append # This is the default caller-id. If the protocol/service allowes
# this string to each message. # it, this is inserted in the message (and the receiver gets this
signature (It's me!) # as the sender's number)
call-id +49-(3777)-1234
# #
# You can either switch the use of the signature here on for all # If you forget to sign your message, you can automatically append
# services or in each service section for that particular service. # this string to each message.
use-signature True signature (Heiko's Linux-Server!)
# #
# To get more verbose output when running yaps increase this value. # You can either switch the use of the signature here on for all
# Currently 4 is the highest supported value. # services or in each service section for that particular service.
verbose 0 use-signature True
# #
# If you'd like to log every sending session define this. It should # To get more verbose output when running yaps increase this value.
# point to a writeable file. If you install the software setgid, then # Currently 4 is the highest supported value.
# change the group of this file to the same yaps uses and make it verbose 0
# group writeable.
logfile /var/log/yaps.log
# #
# A comma seperated list of modem sections. You can also define this # If you'd like to log every sending session define this. It should
# in each service section. # point to a writeable file. If you install the software setgid, then
modems standard # change the group of this file to the same yaps uses and make it
# group writeable.
logfile /var/log/yaps.log
# #
# some global defaults for the serial interface (even if the most # A comma seperated list of modem sections. You can also define this
# protocols are assuming 7e1, these settings seem to work well) # in each service section.
speed 38400 modems standard
bits-per-byte 8 #
parity none # some global defaults for the serial interface (even if the most
stopbits 1 # protocols are assuming 7e1, these settings seem to work well)
speed 38400
bits-per-byte 8
parity none
stopbits 1
# #
# To calculate the cost for each call, you can define some globales # To calculate the cost for each call, you can define some globales
# here and do the fine tuning in each protocol # here and do the fine tuning in each protocol
cost cost=0.12,unit=DM,remainder=2,dial-overhead=13 cost cost=0.0023,unit=Euro,remainder=2,entity-length=1.0
###+cost timetable=wk0800-1800=5.7;Wk1800-0800=11.4;Ss=11.4
# #
# These are two example of internal conversion tables. The can be # These are two example of internal conversion tables. The can be
# used using the `convert' entry (see below). # used using the `convert' entry (see below).
cv-default { cv-default {
Ä [ Ä [
Ö \ Ö \
Ü ] Ü ]
ä { ä {
ö | ö |
ü } ü }
ß ~ ß ~
} }
cv-extend { cv-extend {
\l \s \l \s
\n \s \n \s
\r \s \r \s
\f \s \f \s
\t \s \t \s
}
cv-d1 {
Ä [
Ö \
Ü ~
ä {
ö |
ü ~
ß ^]
}
cv-cityruf {
§ @
} }
# insert-pager-id True
# These values are normally only found in each service section,
# but are listen here with an explaination for completeness.
#
# This is the phone number of the modem gateway for this service
#phone 0015559876
# rm-invalids-pid + (-)
# This is the protocol the service uses. Currently this can be
# either ascii, script, ucp or tap. Each protocol has a set of
# special configuration parameters, see below.
#protocol tap
#
# Most services limit the length of a message to a specific length.
# Enter the value here to check valid messages
#max-size 160
#
# If a message is longer than max-size, you can set this to split
# it off into several single messages of allowed length
#may-split True
#
# If a message is longer than max-size, you can set this to truncate
# the message to the allowed length. The remaining part is discarded.
#truncate True
#
# Some services allow to send more than one message per session. If
# it is limited, set it using this parameter
#max-messages 1
#
# If the service allows using your caller-id set this to True.
#use-call-id True
#
# If the service is reachable over a phonenumber where the pager-id
# is part of the phone number, define this and add a `%P' anywehere
# in the `phone' number.
#insert-pager-id True
#
# Remove these characters from the pager-id, as they are not valid
rm-invalids-pid + (-)
#
# Dito for caller id
rm-invalids-cid + (-)
#
# Check for valid call id (see below for more details) While
# valid-pid is required, this is optional
#valid-cid ^(001|1)
#change-cid 001
#
# Depending on your system the value for this parameter is either a
# regular expression or a simple list of strings (seperated by bars)
# which must match the prefix of the pager-id.
#valid-pid ^(0171|0049171)
#valid-pid 0171|0049171
# Use these paramters in the global section if you want do not want
# to check pager-ids (and do not set change-pid):
#valid-pid .
#valid-pid -
#
# If a pagerid has matched the expression above, then the matching part
# may be replaced by this string
#change-pid 0171
#
# As the services do not use (in general) the ISO 8859/1 character set,
# one can define convertion tables. you can either specify a file which
# contains the convertion rules:
#conv-table /usr/local/lib/yaps/iso2din.tab
# or use predefined convertion rules
#convert *no-control,*no-8bit,cv-default,cv-extended
#
# If this is set, send a message even if a requested feature is
# not available
#force True
#
# If the provider supportes to set a delay for sending the message,
# set this
#can-delay True
#
# If the provider can delete a buffered message after a period of time,
# set this
#can-expire True
#
# If the provider can report a delivery status, set this.
#can-rds True
#
# To check wether a call-id/pager-id is valid use these paramters.
# For the exact syntax see the documentation
#check-call-id >1111111111111111<
#check-pager-id >1111111111111111<
#check-call-id +minimum=0,maximum=16,type=numeric
#
# These values are typically found in a modem section, but can also
# appear in the global section to set some defaults
#
# Set this to the modem device you wish to use
#device /dev/modem
#device /dev/cua1
#device /dev/cua/a
#
# Set this to the prefix of the lockfile use for the device. There
# are several places, and two common formats:
#lock-prefix /usr/spool/uucp/LCK..
#lock-prefix /var/spool/lock/LCK..
#lock-prefix /var/spool/locks/LK.
#
# The different format of the part which is appended to the lockfile
# and the contents can be specified here. See documentation for a
# full list inclusive explaination
#lock-method sysv4
#lock-method binary
#lock-method timeout=10
#
# These are send/expect sequences to talk to the modem. For an exact
# definition see (again) the documentation. Following entries are
# supported:
# init: to initialize the modem
# local-init: a second initialization string, used to customize
# already defined modems for different handling
# dial: to dial a phone number %L is replaced with the
# phone number itself
# timeout: the default timeout in seconds to wait for answers
# reset: to reset the modem
rm-invalids-cid + (-)
lock-prefix /var/lock/LCK..
lock-method sysv4
######################################### #########################################
# service section # # service section #
######################################### #########################################
# #
# D1 (by Deutsche Telekom) # Mir z.Zt. bekannte Vorwahlen:
# =============================
# D1 01712521001 (ISDN)
# #
[D1] # Nach einem Tip von Michael Hüttig eine neue Modem-Einwahl-Nr.
protocol tap # für D1
valid-pid 0171|0049171|49171 # D1 01712521002 (Modem)
change-pid 0171
convert *no-8bit,cv-d1
cv-d1 {
Ä [
Ö \
Ü ~
ä {
ö |
ü ~
ß ^]
}
+cost timetable=Wk0800-1800=5.7;Wk1800-0800=11.4;Ss=11.4
phone 01712092522
max-size 160
may-split True
use-call-id False
tap-old True
# #
# D2 (by Mannesmann Mobilfunk) # D2 01722278010 (ISDN)
# 01722278020 (analog)
# E-Plus 01771167 (ISDN)
# O2 01722278010 (ISDN)!!! D2-SMSCenter benutzen
# 01722278020 (analog)
# #
[D2] #########################################
modem standard-d2 # D1 (by Deutsche Telekom)
protocol ucp # jetzt: t-mobile
valid-pid 0172|0049172|49172 #########
change-pid 0172 [D1_0151]
convert *no-8bit,cv-default protocol tap
+cost timetable=Wk0800-1800=5.7;Wk1800-0800=11.4;Ss=11.4 valid-pid 0151|0049151|49151
phone 01722278020 change-pid 0151
max-size 160 convert *no-8bit,cv-d1
may-split True # use this number for modem-dialin:
use-call-id True #phone 01712521002
can-delay True # use this number for isdn-dialin:
can-expire True phone 01712521001
can-rds True max-size 160
check-call-id >1111111111111111< may-split True
check-pager-id >1111111111111111< use-call-id False
ucp-extend True tap-old True
#########
[D1_0160]
protocol tap
valid-pid 0160|0049160|49160
change-pid 0160
convert *no-8bit,cv-d1
# use this number for modem-dialin:
#phone 01712521002
# use this number for isdn-dialin:
phone 01712521001
max-size 160
may-split True
use-call-id False
tap-old True
#########
[D1_0170]
protocol tap
valid-pid 0170|0049170|49170
change-pid 0170
convert *no-8bit,cv-d1
# use this number for modem-dialin:
#phone 01712521002
# use this number for isdn-dialin:
phone 01712521001
max-size 160
may-split True
use-call-id False
tap-old True
#########
[D1_0171]
protocol tap
valid-pid 0171|0049171|49171
change-pid 0171
convert *no-8bit,cv-d1
# use this number for modem-dialin:
#phone 01712521002
# use this number for isdn-dialin:
phone 01712521001
max-size 160
may-split True
use-call-id False
tap-old True
#########
[D1_0175]
protocol tap
valid-pid 0175|0049175|49175
change-pid 0175
convert *no-8bit,cv-d1
# use this number for modem-dialin:
#phone 01712521002
# use this number for isdn-dialin:
phone 01712521001
max-size 160
may-split True
use-call-id False
tap-old True
#####################################
# D2 (by Mannesmann Mobilfunk)
# jetzt: vodafone
#########
[D2_0152]
modem standard-d2
protocol ucp
valid-pid 0152|0049152|49152|+49152
change-pid 0152
convert *no-8bit,cv-default
# phone 01722278020
# use this number for isdn-dialin:
phone 01722278010
max-size 160
may-split True
use-call-id True
can-delay True
can-expire True
can-rds True
check-call-id >1111111111111111<
check-pager-id >1111111111111111<
ucp-extend True
#########
[D2_0162]
modem standard-d2
protocol ucp
valid-pid 0162|0049162|49162|+49162
change-pid 0162
convert *no-8bit,cv-default
# phone 01722278020
# use this number for isdn-dialin:
phone 01722278010
max-size 160
may-split True
use-call-id True
can-delay True
can-expire True
can-rds True
check-call-id >1111111111111111<
check-pager-id >1111111111111111<
ucp-extend True
#########
[D2_0172]
modem standard-d2
protocol ucp
valid-pid 0172|0049172|49172|+49172
change-pid 0172
convert *no-8bit,cv-default
# phone 01722278020
# use this number for isdn-dialin:
phone 01722278010
max-size 160
may-split True
use-call-id True
can-delay True
can-expire True
can-rds True
check-call-id >1111111111111111<
check-pager-id >1111111111111111<
ucp-extend True
#########
[D2_0173]
modem standard-d2
protocol ucp
valid-pid 0173|0049173|49173|+49173
change-pid 0173
convert *no-8bit,cv-default
# phone 01722278020
# use this number for isdn-dialin:
phone 01722278010
max-size 160
may-split True
use-call-id True
can-delay True
can-expire True
can-rds True
check-call-id >1111111111111111<
check-pager-id >1111111111111111<
ucp-extend True
#########
[D2_0174]
modem standard-d2
protocol ucp
valid-pid 0174|0049174|49174|+49174
change-pid 0174
convert *no-8bit,cv-default
# phone 01722278020
# use this number for isdn-dialin:
phone 01722278010
max-size 160
may-split True
use-call-id True
can-delay True
can-expire True
can-rds True
check-call-id >1111111111111111<
check-pager-id >1111111111111111<
ucp-extend True
################################
# E+ (by ???)
# TESTED 24.03.2002 Heiko Teichmeier heiko@tei-lin-net.de
#########
[E+_0163]
protocol tap
valid-pid 0163|0049163|49163
change-pid 0163
convert *no-8bit,cv-default
phone 01771167
max-size 160
may-split True
use-call-id False
#########
[E+_0177]
protocol tap
valid-pid 0177|0049177|49177
change-pid 0177
convert *no-8bit,cv-default
phone 01771167
max-size 160
may-split True
use-call-id False
#########
[E+_0178]
protocol tap
valid-pid 0178|0049178|49178
change-pid 0178
convert *no-8bit,cv-default
phone 01771167
max-size 160
may-split True
use-call-id False
#############################################
# O2-Interkom
# jetzt: O2 sprich: Ouhtu
#######
[O2_0159]
# geht theoretisch analog und ISDN Stand:2000-06-22
protocol tap
valid-pid 0159|0049159|49159
change-pid 0159
convert *no-8bit,cv-default
# #
# E+ (by ???) # anywhere I had read, that we can use the "D2"-Isdn-dial-in, because
# !! UNTESTED !! # the "O-two"-provider has no ISDN-dial-in
# -> please give me a return about the rightness of this!!!
phone 01722278010
#phone 01797673425
# #
[E+] max-size 160
protocol tap may-split True
valid-pid 0177|0049177|49177 use-call-id True
change-pid 0177 #######
convert *no-8bit,cv-default [O2_0176]
+cost timetable=Wk0800-1800=5.7;Wk1800-0800=11.4;Ss=11.4 # geht theoretisch analog und ISDN Stand:2000-06-22
phone 01771167 protocol tap
max-size 160 #/#modem standard-d2
may-split True #/#protocol ucp
use-call-id False
valid-pid 0176|0049176|49176
change-pid 0176
convert *no-8bit,cv-default
# #
# Telmi, Telmi-* (by Deutsche Funkruf) # anywhere I had read, that we can use the "D2"-Isdn-dial-in, because
# !! ONLY TESTED FOR TELMI-FUN !! # the "O-two"-provider has no ISDN-dial-in
# -> please give me a return about the rightness of this!!!
phone 01722278010
#phone 01797673425
# #
max-size 160
may-split True
use-call-id True
#/#can-delay True
#/#can-expire True
#/#can-rds True
#/#check-call-id >1111111111111111<
#/#check-pager-id >1111111111111111<
#/#ucp-extend True
#######
[O2_0179]
# geht theoretisch analog und ISDN Stand:2000-06-22
protocol tap
valid-pid 0179|0049179|49179
change-pid 0179
convert *no-8bit,cv-default
#
# anywhere I had read, that we can use the "D2"-Isdn-dial-in, because
# the "O-two"-provider has no ISDN-dial-in
# -> please give me a return about the rightness of this!!!
phone 01722278010
#phone 01797673425
#
max-size 160
may-split True
use-call-id True
#############################################
# Telmi, Telmi-* (by Deutsche Funkruf)
# !! ONLY TESTED FOR TELMI-FUN !!
#######
[Telmi] [Telmi]
protocol tap protocol tap
valid-pid 01661|01665|00491661|00491665|491661|491665 valid-pid 01661|01665|00491661|00491665|491661|491665
change-pid - change-pid -
convert *no-control,*no-8bit,cv-default,cv-extend convert *no-control,*no-8bit,cv-default,cv-extend
+cost entity-length=5.2 +cost entity-length=5.2
phone 016601010101 phone 016601010101
max-size 114 max-size 114
may-split True may-split True
max-messages 1 max-messages 1
use-call-id False use-call-id False
check-pager-id 1111111 check-pager-id 1111111
tap-old True tap-old True
[Telmi-Fun] Telmi [Telmi-Fun] Telmi
[Telmi-Family] Telmi [Telmi-Family] Telmi
[Telmi-Top] Telmi [Telmi-Top] Telmi
max-size 240 max-size 240
[Telmi-Pro] Telmi-Top [Telmi-Pro] Telmi-Top
# #
# Skyper (by Deutsche Telekom) # Skyper (by Deutsche Telekom)
# !! UNTESTED !! # !! UNTESTED !!
# #
[Skyper] [Skyper]
protocol tap protocol tap
valid-pid 01692|00491692|491692 valid-pid 01692|00491692|491692
change-pid - change-pid -
convert *no-8bit,cv-default,cv-extend convert *no-8bit,cv-default,cv-extend
+cost fixed,cost=0.96 +cost fixed,cost=0.96
phone 01692%P phone 01692%P
max-size 80 max-size 80
use-call-id False use-call-id False
insert-pager-id True insert-pager-id True
# #
# Quix (by Miniruf) # Quix (by Miniruf)
# !! UNTESTED !! # !! UNTESTED !!
# #
[Quix] [Quix]
protocol ucp protocol ucp
valid-pid 01653|00491653|491653 valid-pid 01653|00491653|491653
change-pid -
+cost fixed,timetable=Wk0800-1800=1.20;Al=0.96
convert *no-8bit,cv-default,cv-extend
phone 016593
max-size 80
use-call-id True
# +----------------------------------------
# | Cityruf (by e-Message)
# | Info und Test von Ralf Soergel - Danke Dir!
# | (Mail-Nachricht vom 25.11.2004)
# +----------------------------------------
# | lt. Ralf Soergel unterstuetzt Cityruf auch eine
# | abgewandelte tap-Variante. Funktionierte bei seinen
# | Tests aber nicht, da der tap-Modus der Gegenstation
# | nicht einzuschalten ging.
# | -> wenn jemand andere Erfahrungen hat - bitte melden
# +----------------------------------------
[Cityruf]
#protocol tap
#tap-t4 4
#tap-t20 5
#tap-t21 8
#tap-t22 8
#tap-t23 10
#tap-t24 8
#tap-n20 3
#tap-n21 5
protocol ascii
asc-pagerid \\P\r <Bitte\sNachricht\seingeben.
asc-message \\M\r <Funkruf\sabsenden\s?
asc-logout J\r <Funkruf\sangenommen.
max-messages 1
valid-pid 0168|0049168|49168
change-pid - change-pid -
+cost fixed,timetable=Wk0800-1800=1.20;Al=0.96 convert *no-8bit,cv-default,cv-extend,cv-cityruf
convert *no-8bit,cv-default,cv-extend phone 016911
phone 016593 #phone 01690 # vielnutzerzugang?? keine Ahnung wie ...
max-size 80 max-size 80
use-call-id True #tap-old True
######################################### #########################################
# modem section # # modem section #
######################################### #########################################
[standard] [standard]
######
# Device
# #
# Locking # Typical a symbolic link to the real device
# # device /dev/ttyS0
# Older Unix versions # use the following device for isdn-dialout:
lock-prefix /usr/spool/uucp/LCK.. device /dev/ttyI0
# Newer Unix versions
#lock-prefix /var/spool/uucp/LCK.. #init \\r !200D ATZ\r <OK ATE0Q0V1\r <OK
#lock-prefix /var/lock/LCK.. # use the following init-string for isdn:
# SysV4 # and change MSN to your MSN (what else...:-))
#lock-prefix /var/spool/locks/LK. init \\r !200D ATZ\r <OK AT&E24\r <OK
#lock-method sysv4
# dial ATD0190082%L\r <60CONNECT|OK|BUSY|NO\sDIALTONE|NO\sCARRIER
# Device reset ATZ\r <OK
# timeout 10
# Typical a symbolic link to the real device #############
device /dev/modem
# "normal" call-out device ######
#device /dev/cua1 [standard-d2] standard
# Solaris convention local-init AT\%C2\r <OK
#device /dev/cua/a
#############
[standard-eplus]
## folgender Init-String fuer Telefonanlage (Nebenstelle)
init \\r !200D ATZ\r <OK ATE0Q0V1X3\r <OK
dial ATD0190082%L\r <60CONNECT|OK|BUSY|NO\sDIALTONE|NO\sCARRIER
reset ATZ\r <OK
timeout 5
# #
# Modem talk # alias section
# # auf Groß- und Kleinschreibung achten
init \\r !200D ATZ\r <OK ATE0Q0V1\r <OK
dial ATD%L\r <60CONNECT|OK|BUSY|NO\sDIALTONE|NO\sCARRIER
reset ATZ\r <OK
timeout 10
# Customizing an existing modem entry
[standard-d2] standard
local-init AT\%C2\r <OK
#
# alias section
# #
[alias] [alias]
#foo 001 555 1221 # Including extern file to get easyer use and handling of
#bar +1-(555)-2112 # the alias defining
#
# Einbinden der Aliase ueber externe Datei
# bessere/sicherere externe Pflege/Aenderung moeglich
|/etc/yaps-alias.txt