08-19-2009 11:17 AM
Does anyone know how to setup stopbits and parity on a PVDM24?
I have a few thousand stores that always want to connect to 2400 7,n,2. Vendor says it has to be that way.
The POS connects, then immediately drops.
Any thougts?
Aug 19 15:08:09.744: Modem 0/398 CSM: modem is allocated, modems free=-1
Aug 19 15:08:09.744: Modem 0/398 CSM: (CSM_PROC_IDLE)<--DSX0_CALL
Aug 19 15:08:09.744: CSM: sending CAS msg EVENT_CHANNEL_LOCK
Aug 19 15:08:09.744: src 0/0/398 dest 1/0/20 cause 0
Aug 19 15:08:09.780: CSM: csm_modem_event called
Aug 19 15:08:09.780: Modem 0/398 CSM: (CSM_PROC_IC_CAS_CHANNEL_LOCKED)<--CSM_EVENT_MODEM_SETUP
Aug 19 15:08:09.780: CSM: sending CAS msg EVENT_VOICE_ANS
Aug 19 15:08:09.780: src 0/0/398 dest 1/0/20 cause 0
Aug 19 15:08:09.780: Modem 0/398 CSM: starting tone timer
Aug 19 15:08:10.120: Modem 0/398 CSM: received EVENT_START_RX_TONE with call_id 0A39
Aug 19 15:08:10.120: src 1/0/20 dest 0/0/398 cause 0
Aug 19 15:08:10.120: Modem 0/398 CSM: (CSM_PROC_IC_CAS_COLLECT_DIGITS)<--DSX0_START_RX_TONE
Aug 19 15:08:10.340: CSM: csm_modem_event called
Aug 19 15:08:10.340: Modem 0/398 CSM: (CSM_PROC_IC_CAS_COLLECT_DIGITS)<--MODEM_DIGITS_COLLECTED
Aug 19 15:08:10.340: Modem 0/398 CSM: (CSM_PROCESS_DIGIT_DETECTED), addr_state 4
Aug 19 15:08:10.340: Modem 0/398 CSM: Restarting tone timer with delay=1000
Aug 19 15:08:10.460: CSM: csm_modem_event called
Aug 19 15:08:10.460: Modem 0/398 CSM: (CSM_PROC_IC_CAS_COLLECT_DIGITS)<--MODEM_DIGITS_COLLECTED
Aug 19 15:08:10.460: Modem 0/398 CSM: (CSM_PROCESS_DIGIT_DETECTED), addr_state 4
Aug 19 15:08:10.460: Modem 0/398 CSM: Restarting tone timer with delay=1000
Aug 19 15:08:10.620: CSM: csm_modem_event called
Aug 19 15:08:10.620: Modem 0/398 CSM: (CSM_PROC_IC_CAS_COLLECT_DIGITS)<--MODEM_DIGITS_COLLECTED
Aug 19 15:08:10.620: Modem 0/398 CSM: (CSM_PROCESS_DIGIT_DETECTED), addr_state 4
Aug 19 15:08:10.620: Modem 0/398 CSM: Restarting tone timer with delay=1000
Aug 19 15:08:10.760: CSM: csm_modem_event called
Aug 19 15:08:10.760: Modem 0/398 CSM: (CSM_PROC_IC_CAS_COLLECT_DIGITS)<--MODEM_DIGITS_COLLECTED
Aug 19 15:08:10.760: Modem 0/398 CSM: (CSM_PROCESS_DIGIT_DETECTED), addr_state 4
Aug 19 15:08:10.760: Modem 0/398 CSM: Restarting tone timer with delay=1000
Aug 19 15:08:11.760: Modem 0/398 CSM: non-r2 tone timer expired
Aug 19 15:08:11.760: Modem 0/398 CSM: (CSM_PROC_IC_CAS_COLLECT_DIGITS)<--ADDR_INFO_COLLECTED
Aug 19 15:08:11.760: CSM: sending CAS msg EVENT_RX_TONE_COMPLETE
Aug 19 15:08:11.760: src 0/0/398 dest 1/0/20 cause 0
Aug 19 15:08:12.828: Modem 0/398 CSM: received EVENT_CHANNEL_CONNECTED with call_id 0A39
Aug 19 15:08:12.828: src 1/0/20 dest 0/0/398 cause 0
Aug 19 15:08:12.828: Modem 0/398 CSM: (CSM_PROC_IC_CAS_ANSWER_CALL)<--DSX0_CONNECTED
Aug 19 15:08:25.988: CSM: csm_modem_event called
Aug 19 15:08:25.988: Modem 0/398 CSM: (CSM_PROC_CAS_WAIT_FOR_CARRIER)<--MODEM_CONNECTED
Aug 19 15:08:26.960: Modem 0/398 CSM: (CSM_PROC_CONNECTED)<--ASYNC_DTR_DOWN
Aug 19 15:08:26.964: CSM: csm_modem_event called
Aug 19 15:08:26.964: Modem 0/398 CSM: (CSM_PROC_DISCONNECTED)<--MODEM_DISCONNECTED
Aug 19 15:08:26.964: Modem 0/398 CSM: Stopping dm tone timer
Aug 19 15:08:26.964: Modem 0/398 CSM: (CSM_PROC_DISCONNECTED)<--QUEUED_DISCONNECT
Aug 19 15:08:26.964: Modem 0/398 CSM: Stopping dm tone timer
Aug 19 15:08:26.964: CSM: sending CAS msg EVENT_CALL_IDLE
Aug 19 15:08:26.964: src 0/0/398 dest 1/0/20 cause 16
Aug 19 15:08:26.964: Modem 0/398 CSM: CSM_MODEM_DEALLOCATE: modem is deallocated
Aug 19 15:08:26.964: CSM: called_party_num '3502'
Aug 19 15:08:27.040: CSM: csm_modem_event called
Aug 19 15:08:27.040: Modem 0/398 CSM: (CSM_PROC_IDLE)<--MODEM_DISCONNECTED
Aug 19 15:08:27.892: Modem 0/398 CSM: received EVENT_CALL_IDLE with call_id 0A39
Aug 19 15:08:27.892: src 1/0/20 dest 0/0/398 cause 0
Aug 19 15:08:27.960: Modem 0/398 CSM: (CSM_PROC_IDLE)<--ASYNC_DTR_DOWN
08-24-2009 06:30 AM
I put a RS232 sniffer on the POS at the store that dials into the corporate office for credit authorizations, and when it connects to the 3Com Total Control, the Total control definately sends an ENQ (05 or CTRL-E) back to the POS when the connection is successfull.
I than put the sniffer back on and connected to the 3800 router I did a credit auth, and when it connects, it does NOT send any character when the connection is successfull. I tried the activation-character 05 command with no success?
Any other suggestion of how to get the 3800 box to send the ENQ (05) After a successful connection?
I can't believe a 3Com box can do this, but a Cisco box can't. It blows my mind.
08-24-2009 10:21 AM
You can put a ^E in the banner string sent to POS when it connects.
08-24-2009 10:43 AM
Let me tell you, you are very creative. I was trying with chat scripts; couldn't get it working. I'll try this now.
08-24-2009 11:22 AM
Nope, didn't work. It actually put in the ^E. I even tried 05, 5, \05.
Now I'm stumped.
It has to look like this:
41 54 45 31 56 31 6D 31 44 54 39 31 38 30 30 34 ATE1V1m1DT918004
36 36 39 32 37 32 0D 0D 0A 43 4F 4E 4E 45 43 54 669272...CONNECT
20 32 34 30 30 2F 4E 4F 4E 45 0D 0A 05 2400/NONE...
08-24-2009 11:36 AM
Enter a ctrl-v before ctrl-e in the banner string. That is, hold ctrl key, type ve, release ctrl key.
08-24-2009 11:48 AM
Nope, now my motd looks like this:
banner motd ^C^E^C
But now doesn't send any characters at all back to my POS:
41 54 45 31 56 31 6D 31 44 54 39 31 38 30 30 34 ATE1V1m1DT918004
36 36 39 32 37 32 0D 0D 0A 43 4F 4E 4E 45 43 54 669272...CONNECT
20 32 34 30 30 2F 4E 4F 4E 45 0D 0A 2400/NONE..
08-24-2009 12:32 PM
Can you try banner exec ?
08-25-2009 08:07 AM
I got it working. Here is how I did it:
chat-script ENQ "" ^E
modemcap entry POS_TERMINAL:MSC=&F&D2S37=6S251=1
line 0/386 0/409
no motd-banner
exec-timeout 2 0
script activation ENQ
authorization exec noauth
no vacant-message
login authentication noauth
modem Dialin
modem autoconfigure type POS_TERMINAL
autocommand telnet 10.0.2.192 8000 /stream /quiet /noecho
no activation-character
transport input telnet
transport output telnet
08-25-2009 11:16 AM
Very good, please remember to rate useful posts with the scrollbox below.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide