Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

PVDM Disconnecting a Cqll

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
Hall of Fame Super Gold

Re: PVDM Disconnecting a Cqll

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.

New Member

Re: PVDM Disconnecting a Cqll

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

Hall of Fame Super Gold

Re: PVDM Disconnecting a Cqll

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

New Member

Re: PVDM Disconnecting a Cqll

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.

Hall of Fame Super Gold

Re: PVDM Disconnecting a Cqll

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 ?

New Member

Re: PVDM Disconnecting a Cqll

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.

Hall of Fame Super Gold

Re: PVDM Disconnecting a Cqll

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.

New Member

Re: PVDM Disconnecting a Cqll

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?

Hall of Fame Super Gold

Re: PVDM Disconnecting a Cqll

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

New Member

Re: PVDM Disconnecting a Cqll

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.

Hall of Fame Super Gold

Re: PVDM Disconnecting a Cqll

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

New Member

Re: PVDM Disconnecting a Cqll

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?

Hall of Fame Super Gold

Re: PVDM Disconnecting a Cqll

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.

New Member

Re: PVDM Disconnecting a Cqll

Ill do that on Monday.

New Member

Re: PVDM Disconnecting a Cqll

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.

Hall of Fame Super Gold

Re: PVDM Disconnecting a Cqll

You can put a ^E in the banner string sent to POS when it connects.

New Member

Re: PVDM Disconnecting a Cqll

Let me tell you, you are very creative. I was trying with chat scripts; couldn't get it working. I'll try this now.

New Member

Re: PVDM Disconnecting a Cqll

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...

Hall of Fame Super Gold

Re: PVDM Disconnecting a Cqll

Enter a ctrl-v before ctrl-e in the banner string. That is, hold ctrl key, type ve, release ctrl key.

New Member

Re: PVDM Disconnecting a Cqll

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..

Hall of Fame Super Gold

Re: PVDM Disconnecting a Cqll

Can you try banner exec ?

New Member

Re: PVDM Disconnecting a Cqll

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

Hall of Fame Super Gold

Re: PVDM Disconnecting a Cqll

Very good, please remember to rate useful posts with the scrollbox below.

436
Views
4
Helpful
23
Replies