En Santa Clara, trabajando com numeros locales, el numero que tiene el 
modem receptor tiene servicio de identificador de llamadas instalado y 
probado,  la central telefonica es una Alcatel

donde debiera aparecer la informacion del identificador de llamadas lo 
que aparece es esto

06/02 17:22:24 ##### denied caller dev=ttyS0, pid=1109, caller='none'

alguna idea de que pasa ?


la informacion mas completa es la que sigue



la maquina tiene un debian etch 

mx1:~# uname -a
Linux mx1 2.6.18-5-686 #1 SMP Mon Dec 24 16:41:07 DST 2007 i686 GNU/Linux

tengo un modem zyxel 336e  (los que tienen muchos led y dos teclas al 
frente)
mx1:/etc/mgetty# minicom -s

Welcome to minicom 2.2

OPCIONES: I18n
Compilado en Jan  7 2007, 18:00:43.
Port /dev/ttyS0

               Presione CTRL-A Z para obtener ayuda sobre teclas especiales

atz
OK
ati
33604

OK
ati1
49270

U336E  V 1.16

en /etc/mgetty hay esto


mx1:/etc/mgetty# cat dialin.config
# dialin.config (CNDFILE in policy.h)
042273535
!none
!all
 
mx1:/etc/mgetty#
mx1:/etc/mgetty# cat mgetty.config
#
# mgetty configuration file
debug 4
fax-id
speed 38400

port ttyS0
  debug 9
  data-only y

# init para los zyxel
init-chat "" \d\d\d+++\d\d\dAT&F OK ATS40.2=1 OK ats0=2 OK

# init para el multitech
#init-chat "" \d\d\d+++\d\d\dat&f OK ats0=2 OK at+vcid=1 OK

mx1:/etc/mgetty#

y aqui les pongo un fragmento del fichero /var/log/mg_ttyS0.log y 
/var/log/messages antes, durante y despues de una llamada entrante

mx1:/var/log/mgetty# tail -f /var/log/mgetty/mg_ttyS0.log /var/log/messages
==> /var/log/mgetty/mg_ttyS0.log <==
06/02 17:17:41 yS0   got: AT&F[0d][0d][0a]OK ** found **
06/02 17:17:41 yS0  send: ATS40.2=1[0d]
06/02 17:17:41 yS0  waiting for ``OK''
06/02 17:17:41 yS0   got: [0d][0a]ATS40.2=1[0d][0d][0a]OK ** found **
06/02 17:17:41 yS0  send: ats0=2[0d]
06/02 17:17:41 yS0  waiting for ``OK''
06/02 17:17:41 yS0   got: [0d][0a]ats0=2[0d][0d][0a]OK ** found **
06/02 17:17:41 yS0   waiting for line to clear (VTIME=3), read: [0d][0a]
06/02 17:17:41 yS0   removing lock file
06/02 17:17:41 yS0  waiting...
==> /var/log/messages <==

Jun  2 16:56:06 mx1 -- MARK --
Jun  2 17:16:06 mx1 -- MARK --

==> /var/log/mgetty/mg_ttyS0.log <==

06/02 17:22:24 yS0   checking lockfiles, locking the line
06/02 17:22:24 yS0   makelock(ttyS0) called
06/02 17:22:24 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
06/02 17:22:24 yS0   lock made
06/02 17:22:24 yS0  wfr: waiting for ``RING''
06/02 17:22:24 yS0   got: [0d][0a]RING[0d]
06/02 17:22:24 yS0   wfr: rc=0, drn=0
06/02 17:22:24 ##### denied caller dev=ttyS0, pid=1109, caller='none'

06/02 17:22:24 yS0   waiting for line to clear (VTIME=80), read: 
[0d][0a]RING[0d][0a]
06/02 17:22:38 yS0   waiting for line to clear (VTIME=3), read:
06/02 17:22:38 yS0   removing lock file
06/02 17:22:38 yS0  waiting...
06/02 17:22:44 yS0   checking lockfiles, locking the line
06/02 17:22:44 yS0   makelock(ttyS0) called
06/02 17:22:44 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
06/02 17:22:44 yS0   lock made
06/02 17:22:44 yS0  wfr: waiting for ``RING''
06/02 17:22:44 yS0   got: [0a][0d][0a]CONNECT
06/02 17:22:44 yS0  wfr: found action string: ``CONNECT''
06/02 17:22:44 yS0   wfr: rc=-1, drn=0
06/02 17:22:44 yS0   waiting for line to clear (VTIME=3), read: V34b 
33600/V42b/SREJ[0d][0a]
06/02 17:22:45 yS0   utmp + wtmp entry made
06/02 17:22:45 yS0   tio_set_flow_control( HARD )
06/02 17:22:45 yS0   print welcome banner (/etc/issue)
06/02 17:22:45 yS0   getlogname (FIDO AUTO_PPP), read:~[ff]}#[c0]!
06/02 17:22:47 yS0   input finished with '\r', setting ICRNL ONLCR
06/02 17:22:47 yS0   tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
06/02 17:22:47 yS0   match: user='/AutoPPP/', key=''
06/02 17:22:47 yS0   match: user='/AutoPPP/', key=''
06/02 17:22:47 yS0   match: user='/AutoPPP/', key='/AutoPPP/'*** hit!
06/02 17:22:47 yS0   calling login: cmd='/usr/sbin/pppd', argv[]='pppd 
auth +pap -chap login -detach'
06/02 17:22:47 yS0   setenv: 'CALLER_ID=none'
06/02 17:22:47 yS0   setenv: 'CONNECT='
06/02 17:22:47 yS0   setenv: 'DEVICE=ttyS0'
06/02 17:22:47 ##### data dev=ttyS0, pid=1109, caller='none', conn='', 
name='', cmd='/usr/sbin/pppd', user='/AutoPPP/'

==> /var/log/messages <==
Jun  2 17:22:47 mx1 pppd[1109]: pppd 2.4.4 started by LOGIN, uid 0
Jun  2 17:22:47 mx1 pppd[1109]: Using interface ppp0
Jun  2 17:22:47 mx1 pppd[1109]: Connect: ppp0 <--> /dev/ttyS0
Jun  2 17:22:47 mx1 pppd[1109]: pppd 2.4.4 started by LOGIN, uid 0
Jun  2 17:22:47 mx1 pppd[1109]: Using interface ppp0
Jun  2 17:22:47 mx1 pppd[1109]: Connect: ppp0 <--> /dev/ttyS0
Jun  2 17:22:50 mx1 pppd[1109]: user xxxxxx logged in
Jun  2 17:22:50 mx1 pppd[1109]: PAP peer authentication succeeded for xxxxxx
Jun  2 17:22:50 mx1 pppd[1109]: Deflate (15) compression enabled
Jun  2 17:22:50 mx1 pppd[1109]: found interface eth1 for proxy arp
Jun  2 17:22:50 mx1 pppd[1109]: local  IP address 192.168.0.250
Jun  2 17:22:50 mx1 pppd[1109]: remote IP address 192.168.0.251
Jun  2 17:22:50 mx1 pppd[1109]: user xxxxxxx logged in
Jun  2 17:22:50 mx1 pppd[1109]: PAP peer authentication succeeded for xxxxxx
Jun  2 17:22:50 mx1 pppd[1109]: Deflate (15) compression enabled
Jun  2 17:22:50 mx1 pppd[1109]: found interface eth1 for proxy arp
Jun  2 17:22:50 mx1 pppd[1109]: local  IP address 192.168.0.250
Jun  2 17:22:50 mx1 pppd[1109]: remote IP address 192.168.0.251

==> /var/log/mgetty/mg_ttyS0.log <==

--
06/02 17:22:58 yS0  mgetty: interim release 1.1.35-Feb22
06/02 17:22:58 yS0   mgetty.c compiled at Feb 18 2007, 18:06:19
06/02 17:22:58 yS0   user id: 0, pid: 1292, parent pid: 1
06/02 17:22:58 yS0   reading configuration data for port 'ttyS0'
06/02 17:22:58 yS0   reading /etc/mgetty/mgetty.config...
06/02 17:22:58 yS0   conf lib: read: 'debug 4'
06/02 17:22:58 yS0   conf lib: read: 'fax-id '
06/02 17:22:58 yS0   conf lib: read: 'speed 38400'
06/02 17:22:58 yS0   conf lib: read: 'port ttyS0'
06/02 17:22:58 yS0   section: port ttyS0, **found**
06/02 17:22:58 yS0   conf lib: read: 'debug 9'
06/02 17:22:58 yS0   conf lib: read: 'data-only y'
06/02 17:22:58 yS0   conf lib: read: 'init-chat "" \d\d\d+++\d\d\dAT&F 
OK ATS40.2=1 OK ats0=2 OK'
06/02 17:22:58 yS0   key: 'speed', type=0, flags=2, data=57600
06/02 17:22:58 yS0   key: 'switchbd', type=0, flags=1, data=0
06/02 17:22:58 yS0   key: 'direct', type=3, flags=1, data=FALSE
06/02 17:22:58 yS0   key: 'blocking', type=3, flags=1, data=FALSE
06/02 17:22:58 yS0   key: 'port-owner', type=1, flags=1, data=root
06/02 17:22:58 yS0   key: 'port-group', type=1, flags=1, data=dialout
06/02 17:22:58 yS0   key: 'port-mode', type=0, flags=1, data=432
06/02 17:22:58 yS0   key: 'toggle-dtr', type=3, flags=1, data=TRUE
06/02 17:22:58 yS0   key: 'toggle-dtr-waittime', type=0, flags=1, data=500
06/02 17:22:58 yS0   key: 'need-dsr', type=3, flags=1, data=FALSE
06/02 17:22:58 yS0   key: 'data-only', type=3, flags=2, data=TRUE
06/02 17:22:58 yS0   key: 'fax-only', type=3, flags=1, data=FALSE
06/02 17:22:58 yS0   key: 'modem-type', type=1, flags=1, data=auto
06/02 17:22:58 yS0   key: 'modem-quirks', type=0, flags=0, data=(empty)
06/02 17:22:58 yS0   key: 'init-chat', type=2, flags=3, data= 
\d\d\d+++\d\d\dAT&F OK ATS40.2=1 OK ats0=2 OK
06/02 17:22:58 yS0   key: 'force-init-chat', type=2, flags=1, data= 
\d\d\d\d+++\\dATQ0V1H0 OK
06/02 17:22:58 yS0   key: 'post-init-chat', type=2, flags=0, data=(empty)
06/02 17:22:58 yS0   key: 'data-flow', type=4, flags=1, data=1
06/02 17:22:58 yS0   key: 'fax-send-flow', type=4, flags=1, data=7
06/02 17:22:58 yS0   key: 'fax-rec-flow', type=4, flags=1, data=7
06/02 17:22:58 yS0   key: 'modem-check-time', type=0, flags=1, data=3600
06/02 17:22:58 yS0   key: 'rings', type=0, flags=1, data=1
06/02 17:22:58 yS0   key: 'msn-list', type=2, flags=0, data=(empty)
06/02 17:22:58 yS0   key: 'get-cnd-chat', type=2, flags=0, data=(empty)
06/02 17:22:58 yS0   key: 'cnd-program', type=1, flags=0, data=(empty)
06/02 17:22:58 yS0   key: 'answer-chat', type=2, flags=1, data= ATA 
CONNECT \c

06/02 17:22:58 yS0   key: 'answer-chat-timeout', type=0, flags=1, data=80
06/02 17:22:58 yS0   key: 'autobauding', type=3, flags=1, data=FALSE
06/02 17:22:58 yS0   key: 'ringback', type=3, flags=1, data=FALSE
06/02 17:22:58 yS0   key: 'ringback-time', type=0, flags=1, data=30
06/02 17:22:58 yS0   key: 'ignore-carrier', type=3, flags=1, data=FALSE
06/02 17:22:58 yS0   key: 'issue-file', type=1, flags=1, data=/etc/issue
06/02 17:22:58 yS0   key: 'prompt-waittime', type=0, flags=1, data=500
06/02 17:22:58 yS0   key: 'login-prompt', type=1, flags=1, data=@ login:
06/02 17:22:58 yS0   key: 'login-time', type=0, flags=1, data=240
06/02 17:22:58 yS0   key: 'fido-send-emsi', type=3, flags=1, data=TRUE
06/02 17:22:58 yS0   key: 'login-env-ttyprompt-hack', type=3, flags=1, 
data=FALSE
06/02 17:22:58 yS0   key: 'login-conf-file', type=1, flags=1, 
data=login.config
06/02 17:22:58 yS0   key: 'fax-id', type=1, flags=3, data=
06/02 17:22:58 yS0   key: 'fax-min-speed', type=0, flags=1, data=0
06/02 17:22:58 yS0   key: 'fax-max-speed', type=0, flags=1, data=14400
06/02 17:22:58 yS0   key: 'fax-server-file', type=1, flags=0, data=(empty)
06/02 17:22:58 yS0   key: 'diskspace', type=0, flags=1, data=1024
06/02 17:22:58 yS0   key: 'notify', type=1, flags=1, data=root
06/02 17:22:58 yS0   key: 'fax-owner', type=1, flags=1, data=root
06/02 17:22:58 yS0   key: 'fax-group', type=1, flags=1, data=fax
06/02 17:22:58 yS0   key: 'fax-mode', type=0, flags=1, data=432
06/02 17:22:58 yS0   key: 'fax-spool-in', type=1, flags=1, 
data=/var/spool/fax/incoming:/tmp
06/02 17:22:58 yS0   key: 'debug', type=0, flags=2, data=5
06/02 17:22:58 yS0   key: 'statistics-chat', type=2, flags=0, data=(empty)
06/02 17:22:58 yS0   key: 'statistics-file', type=1, flags=0, data=(empty)
06/02 17:22:58 yS0   key: 'gettydefs', type=1, flags=1, data=n
06/02 17:22:58 yS0   key: 'term', type=1, flags=0, data=(empty)
06/02 17:22:58 yS0  check for lockfiles
06/02 17:22:58 yS0   checklock: no active process has lock, will remove
06/02 17:22:58 yS0  locking the line
06/02 17:22:58 yS0   makelock(ttyS0) called
06/02 17:22:58 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
06/02 17:22:58 yS0   lock made
==> /var/log/messages <==
Jun  2 17:22:57 mx1 pppd[1109]: LCP terminated by peer (User request)
Jun  2 17:22:57 mx1 pppd[1109]: Connect time 0.2 minutes.
Jun  2 17:22:57 mx1 pppd[1109]: Sent 0 bytes, received 0 bytes.
Jun  2 17:22:58 mx1 pppd[1109]: Hangup (SIGHUP)
Jun  2 17:22:58 mx1 pppd[1109]: Modem hangup
Jun  2 17:22:58 mx1 pppd[1109]: Connection terminated.
Jun  2 17:22:58 mx1 pppd[1109]: Exit.
Jun  2 17:22:57 mx1 pppd[1109]: LCP terminated by peer (User request)
Jun  2 17:22:57 mx1 pppd[1109]: Connect time 0.2 minutes.
Jun  2 17:22:57 mx1 pppd[1109]: Sent 0 bytes, received 0 bytes.
Jun  2 17:22:58 mx1 pppd[1109]: Hangup (SIGHUP)
Jun  2 17:22:58 mx1 pppd[1109]: Modem hangup
Jun  2 17:22:58 mx1 pppd[1109]: Connection terminated.
Jun  2 17:22:58 mx1 pppd[1109]: Exit.

==> /var/log/mgetty/mg_ttyS0.log <==

06/02 17:22:58 yS0   tio_get_rs232_lines: status: RTS CTS DSR DTR
06/02 17:22:58 yS0  lowering DTR to reset Modem
06/02 17:22:59 yS0   tss: set speed to 57600 (10001)
06/02 17:22:59 yS0   tio_set_flow_control( HARD )
06/02 17:22:59 yS0   waiting for line to clear (VTIME=1), read:
06/02 17:22:59 yS0  send: \d\d\d+++\d\d\dAT&F[0d]
06/02 17:23:02 yS0  waiting for ``OK''
06/02 17:23:02 yS0   got: AT&F[0d][0d][0a]OK ** found **
06/02 17:23:02 yS0  send: ATS40.2=1[0d]
06/02 17:23:02 yS0  waiting for ``OK''
06/02 17:23:02 yS0   got: [0d][0a]ATS40.2=1[0d][0d][0a]OK ** found **
06/02 17:23:02 yS0  send: ats0=2[0d]
06/02 17:23:02 yS0  waiting for ``OK''
06/02 17:23:02 yS0   got: [0d][0a]ats0=2[0d][0d][0a]OK ** found **
06/02 17:23:02 yS0   waiting for line to clear (VTIME=3), read: [0d][0a]
06/02 17:23:03 yS0   removing lock file
06/02 17:23:03 yS0  waiting... 



_______________________________________________
Cancelar suscripción
https://listas.softwarelibre.cu/mailman/listinfo/linux-l
Buscar en el archivo
http://listas.softwarelibre.cu/buscar/linux-l

Responder a