cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1651
Views
4
Helpful
23
Replies

PVDM Disconnecting a Cqll

tech011
Level 1
Level 1

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

23 Replies 23

paolo bevilacqua
Hall of Fame
Hall of Fame

Two things.

For speed, you configure modems to negotiate a maximum connection speed. That also shortens the conneciton time. You never change async serial speed. Sorry I don't remember the modemd setting command now.

For data/parity/stop bits, configure under line with the self-explaining setting.

PVDMs do not support configuring those parameters under the line configurations:

SSBEN_GCBU01(config-line)#stopbits 1

This command has no effect on this line; use modem AT commands instead

Right. So the disconnection cause is something else, you should check if it gets to the server.

The POS never gets through the 3640 to get to the credit authorization server. According to the vendor, it has to connect at 2400 7,n,2. How do you verify this on the 3640. I know the speed is easy to determine; but I have never seen anywhere in any debugs or show commands on the host RAS server (a 3640 in this case) that you can view the parity, stopbits, etc that a client connects with.

These are transparent to the router, in other words whatever the bits it forwards them anyway.

Can you try dialing with a modem, are you getting connected to the server ?

The POS; where the client modem is attached, gets connected to the 3640 with the PVDM24 in it; than disconnects immediately. I can't figure it out since there isn't any debugging that is helping. The POS connects fine to a 3Com Total control box. The problem is nobody in the company can into the 3Com box to view the config.

I have configured exec 0 0 and session limit to 10 minutes on the line config; doesn't help.

I understand that. What I'm suggesting, you dial into the 3640 (or it is a 3845 ?) with a PC, to see if you get connected to the server and some data can be exchanged.

If you look above see connection is closed by DTR drop meaning the router is disconnecting for some reason.

I spoke with the POS vendor. The reason it is not working is that the Cisco router has to send an ENQ and be received by the server. Once received transaction data can flow. Anyonr know how to that an ENQ?

ENQ it's just an ascii character. I think it's to be sent by the POS, not the router.

We'll they say the Cisco RAS router should be sending it to the retail transcaction server. Either way, the ASCII 5 character (ENQ) is not leaving the the fa0/0 interface on the Cisco Router/RAS. I setup a monitor port and did not see this being sent; I saw the TCP handshake.

Can't I just use the "activation-character 5" command? I tried it; doesn't seem to work.

This is what I got so far:

aaa authentication login noauth none

aaa authentication enable default none

modemcap entry POS_TERMINAL:MSC=&F&D2S37=6S251=1

line 0/386 0/409

session-timeout 10

no exec-banner

no vacant-message

login authentication noauth

modem Dialin

modem autoconfigure type POS_TERMINAL

autocommand telnet 10.0.2.192 8000 /stream

activation-character 5

Even tried with /noecho and /quiet and telnet 1200 2400.

I thinnk I 'm going to put an asyc sbiffer on the POS on Monday.

No, the router will not send any data on behalf of the dialup client.

So, the dialing client will send the dialed server an ENQ when the connection if fully establsihed?

There telling me the opposite.

What does the activation-character do than?

Sorry, I don't know the details of your POS protocol.

All what I know, it that the only thing the router does is to pass data transparently between modem and TCP connection, and that works for everyone I seen so far.

You can try that yourself, dial-up with a PC and modem once connected then type ^E see if you get any data back.

Ill do that on Monday.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: