hi,

i have a problem. the situation is like

i have a dial-in server set up at my head office through mgetty. other 
offices connect using ppp dialer from windows / linux systems to get 
connected to HO for net services. the modem i use at the dial-in server is 
a Motorola voiceSUPER voice/fax/data  modem. i want mgetty to detect the 
incomming telephone numbers and reply in data mode only if it is from a 
certain number. otherwise it should not reply the call. i have  
configured the mgetty.config following its documentation like


port ttyS0
init-chat "" AT#CID=1 OK
data-only

and dialin.config with the phone numbers.

the mgetty log after a dialin session session says :
----->
01/15 12:58:52 yS0   checking lockfiles, locking the line
01/15 12:58:52 yS0   makelock(ttyS0) called
01/15 12:58:52 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
01/15 12:58:52 yS0   lock made
01/15 12:58:52 yS0  wfr: waiting for ``RING''
01/15 13:37:10 yS0   checking lockfiles, locking the line
01/15 13:37:10 yS0   makelock(ttyS0) called
01/15 13:37:10 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
01/15 13:37:10 yS0   lock made
01/15 13:37:10 yS0  wfr: waiting for ``RING''
01/15 13:37:10 yS0   got: [0d][0a]RING[0d]
01/15 13:37:10 yS0    CND: RING
01/15 13:37:10 yS0   wfr: rc=0, drn=0
01/15 13:37:10 yS0  wfr: waiting for ``RING''
01/15 13:37:10 yS0   got: [0a][0d][0a]RING[0d]
01/15 13:37:16 yS0    CND: RING
01/15 13:37:16 yS0   wfr: rc=0, drn=0
01/15 13:37:16 yS0  wfr: waiting for ``RING''
01/15 13:37:16 yS0   got: [0a][0d][0a]RING[0d]
01/15 13:37:19 yS0    CND: RING
01/15 13:37:19 yS0   wfr: rc=0, drn=0
01/15 13:37:19 yS0  wfr: waiting for ``RING''
01/15 13:37:19 yS0   got: [0a][0d][0a]RING[0d]
01/15 13:37:22 yS0    CND: RING
01/15 13:37:22 yS0   wfr: rc=0, drn=0
01/15 13:37:22 yS0    CND: check no: 'none'
01/15 13:37:22 yS0    CND: check vs: 3323359611
01/15 13:37:22 yS0    CND: check vs: 3323356731

then connect command follows without the caller number.

--->

interactions with the modem with minicom says the following :

--->
Press CTRL-A Z for help on special keys                                      
                                                                             
AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0                                             
OK                                                                           
AT#CID=?                                                                     
0,1,2                                                                        
                                                                             
OK                                                                           
AT#CID=1                                
OK                                      
                                        
RING                                    
                                        
RING                                    

RING

RING

RING

RING                                                                           

----->

seems despite getting OK response against the CID command the program is 
nowhere getting the called id.

any suggestion ?

hizibiz



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to