<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Bordin,<br>
<br>
Here's a way that I like to do this sort of thing ... i.e. the case
where you have incoming modem calls, and based upon the called number,
you want to invoke different applications. Assuming that those
applications can be invoked via an exec command, then there is no need
for RPM - just do this:<br>
<pre><tt>
aaa new-model
aaa authentication login default local radius
aaa authentication ppp default radius local
aaa authorization exec default local radius
username 5554446164 nopassword dnis
username 5554446164 autocommand pad 990101803 /cud ABRK /profile krone /quiet
username 5554446163 nopassword dnis
username 5554446163 autocommand telnet 10.1.2.3
</tt></pre>
etc.<br>
<br>
Now, while troubleshooting this, don't use autocommand. Instead, from
the exec prompt, manually enter the "pad" (or whatever) command.
Meanwhile, from another exec prompt, have some debugs running, so you
can see what's going on. Once you have the pad (or whatever) command
working as desired, <b>then</b> you can put it into an autocommand.<br>
<br>
Hth,<br>
<br>
Aaron<br>
<br>
P.S. Don't use "no flush-at-activation" on modem lines intended for
character mode - this will tend to deliver garbage to the exec parser
or to your server application.<br>
<br>
<hr size="2" width="100%"><br>
<a class="moz-txt-link-abbreviated" href="mailto:bordin@cetrel.lu">bordin@cetrel.lu</a> wrote:
<blockquote
cite="mid:OF2B04AD02.D5E1FBF1-ONC12575B4.004A34E2-C12575B4.00541A38@cetrel.lu"
type="cite"><br>
<font face="sans-serif" size="2">Hello,</font>
<br>
<br>
<font face="sans-serif" size="2">I have a problem for a migration of
a "old" application Point of Sales.</font>
<br>
<font face="sans-serif" size="2">Before , the terminal async with
Zmodem
application is connected to a USR Robotics chassis in analogue (V32bis)
and ISDN ( the application terminal is the same : according to the
client
we put a modem analogue or ISDN modem ) and USR Modems were connected
to
a pad Telematics. Then the call is made in X.25 to the application
server.</font>
<br>
<br>
<font face="sans-serif" size="2">I have AS5400HPX, configured with
"resource-pool".</font>
<br>
<font face="sans-serif" size="2">I have succeeded to configure for
analog
modem ( spe modem + autocommand pad ) but not for ISDN modem.</font>
<br>
<font face="sans-serif" size="2">I have tried with vty-async
(LAPB-TA)
and resource-pool group but It doesn't works.</font>
<br>
<font face="sans-serif" size="2">Has someone a idea ?</font>
<br>
<br>
<font face="sans-serif" size="2">Thanks a lot.</font>
<br>
<br>
<font face="sans-serif" size="2">Best Regards...</font>
<br>
<br>
<font face="sans-serif" size="2">Bordin Patrick</font>
<br>
<font face="sans-serif" size="2">Cetrel S.A.</font>
<br>
<font face="sans-serif" size="2"><a class="moz-txt-link-abbreviated" href="http://www.cetrel.lu">www.cetrel.lu</a></font>
<br>
<br>
<font face="sans-serif" size="2">The config :</font>
<br>
<br>
<br>
<font face="Courier New" size="2">resource-pool enable</font>
<br>
<font face="Courier New" size="2">!</font>
<br>
<font face="Courier New" size="2">resource-pool group resource Krone</font>
<br>
<font face="Courier New" size="2"> range port 1/44</font>
<br>
<font face="Courier New" size="2">!</font>
<br>
<font face="Courier New" size="2">resource-pool group resource
Krone-isdn</font>
<br>
<font face="Courier New" size="2"> range port 1/58</font>
<br>
<font face="Courier New" size="2">!</font>
<br>
<font face="Courier New" size="2">resource-pool profile customer Krone</font>
<br>
<font face="Courier New" size="2"> limit base-size all</font>
<br>
<font face="Courier New" size="2"> limit overflow-size 0</font>
<br>
<font face="Courier New" size="2"> resource Krone speech </font>
<br>
<font face="Courier New" size="2"> dnis group Krone</font>
<br>
<font face="Courier New" size="2">!</font>
<br>
<font face="Courier New" size="2">resource-pool profile customer
Krone-isdn</font>
<br>
<font face="Courier New" size="2"> limit base-size all</font>
<br>
<font face="Courier New" size="2"> limit overflow-size 0</font>
<br>
<font face="Courier New" size="2"> resource Krone-isdn digital </font>
<br>
<font face="Courier New" size="2"> dnis group Krone-isdn</font>
<br>
<font face="Courier New" size="2">!</font>
<br>
<font face="Courier New" size="2">aaa new-model</font>
<br>
<font face="Courier New" size="2">!</font>
<br>
<font face="Courier New" size="2">!</font>
<br>
<font face="Courier New" size="2">aaa group server tacacs+ XXXXXXXX</font>
<br>
<font face="Courier New" size="2">aaa</font>
<br>
<br>
<br>
<font face="Courier New" size="2">calltracker enable</font>
<br>
<font face="Courier New" size="2">calltracker history max-size 360</font>
<br>
<font face="Courier New" size="2">calltracker call-record terse quiet</font>
<br>
<font face="Courier New" size="2">spe country germany</font>
<br>
<font face="Courier New" size="2">!</font>
<br>
<font face="Courier New" size="2">spe call-record modem</font>
<br>
<font face="Courier New" size="2">!</font>
<br>
<font face="Courier New" size="2">spe default-firmware spe-firmware-1</font>
<br>
<font face="Courier New" size="2">no ip source-route</font>
<br>
<font face="Courier New" size="2">!</font>
<br>
<font face="Courier New" size="2">!</font>
<br>
<font face="Courier New" size="2">x29 profile krone 1:0 2:0 3:2 4:6
5:0
6:0 7:0 8:0 9:0 12:0 13:0 14:0 15:0 16:0 17:0 18:0</font>
<br>
<br>
<font face="Courier New" size="2">vty-async</font>
<br>
<font face="Courier New" size="2">vty-async virtual-template 1</font>
<br>
<br>
<font face="Courier New" size="2">isdn switch-type primary-net5</font>
<br>
<font face="Courier New" size="2">!</font>
<br>
<font face="Courier New" size="2">x25 routing acknowledge local</font>
<br>
<br>
<font face="Courier New" size="2">modemcap entry
krone:MSC=&F&D2E0s0=0s2=43s3=13s4=10s5=8s15=1s21=0s22=0s23=1s24=1s53=0s29=1s64=0</font>
<br>
<br>
<font face="Courier New" size="2">controller E1 7/3</font>
<br>
<font face="Courier New" size="2"> pri-group timeslots 1-31</font>
<br>
<font face="Courier New" size="2"> description ISDN PRI </font>
<br>
<font face="Courier New" size="2">!</font>
<br>
<font face="Courier New" size="2">ip tcp synwait-time 5</font>
<br>
<font face="Courier New" size="2">ip telnet source-interface Loopback0</font>
<br>
<font face="Courier New" size="2">ip tftp source-interface Loopback0</font>
<br>
<font face="Courier New" size="2">ip ssh version 2</font>
<br>
<font face="Courier New" size="2">ip scp server enable</font>
<br>
<font face="Courier New" size="2">! </font>
<br>
<font face="Courier New" size="2">!</font>
<br>
<font face="Courier New" size="2">!</font>
<br>
<font face="Courier New" size="2">!</font>
<br>
<font face="Courier New" size="2">interface Loopback0</font>
<br>
<font face="Courier New" size="2"> description Loopback Interface
for management</font>
<br>
<font face="Courier New" size="2"> ip address xxxxxxxxxxxxx
255.255.255.255</font>
<br>
<font face="Courier New" size="2">!</font>
<br>
<font face="Courier New" size="2">interface FastEthernet0/0</font>
<br>
<font face="Courier New" size="2"> description DMZ </font>
<br>
<font face="Courier New" size="2"> ip address ccccccccccccccc
255.255.255.0</font>
<br>
<font face="Courier New" size="2"> ip virtual-reassembly</font>
<br>
<font face="Courier New" size="2"> no ip route-cache cef</font>
<br>
<font face="Courier New" size="2"> no ip route-cache</font>
<br>
<font face="Courier New" size="2"> no ip mroute-cache</font>
<br>
<font face="Courier New" size="2"> duplex auto</font>
<br>
<font face="Courier New" size="2"> speed auto</font>
<br>
<font face="Courier New" size="2"> no cdp enable</font>
<br>
<font face="Courier New" size="2">!</font>
<br>
<font face="Courier New" size="2">interface Serial7/3:15</font>
<br>
<font face="Courier New" size="2"> description ISDN PRI</font>
<br>
<font face="Courier New" size="2"> no ip address</font>
<br>
<font face="Courier New" size="2"> encapsulation ppp</font>
<br>
<font face="Courier New" size="2"> dialer rotary-group 1</font>
<br>
<font face="Courier New" size="2"> dialer-group 1</font>
<br>
<font face="Courier New" size="2"> autodetect encapsulation v120
lapb-ta</font>
<br>
<font face="Courier New" size="2"> no snmp trap link-status</font>
<br>
<font face="Courier New" size="2"> isdn switch-type primary-net5</font>
<br>
<font face="Courier New" size="2"> isdn overlap-receiving T302 1500</font>
<br>
<font face="Courier New" size="2"> isdn incoming-voice modem</font>
<br>
<font face="Courier New" size="2"> no cdp enable</font>
<br>
<font face="Courier New" size="2">!</font>
<br>
<font face="Courier New" size="2">interface Virtual-Template1 </font>
<br>
<font face="Courier New" size="2"> ip unnumbered Loopback0</font>
<br>
<font face="Courier New" size="2"> no peer default ip address</font>
<br>
<font face="Courier New" size="2"> ppp authentication chap</font>
<br>
<font face="Courier New" size="2">!</font>
<br>
<font face="Courier New" size="2">interface Group-Async0</font>
<br>
<font face="Courier New" size="2"> no ip address</font>
<br>
<font face="Courier New" size="2"> encapsulation slip</font>
<br>
<font face="Courier New" size="2"> async mode interactive</font>
<br>
<font face="Courier New" size="2"> group-range 1/00 1/70</font>
<br>
<br>
<font face="Courier New" size="2">dialer dnis group Krone</font>
<br>
<font face="Courier New" size="2"> number yyyyyyyy</font>
<br>
<font face="Courier New" size="2"> call-type cas speech</font>
<br>
<font face="Courier New" size="2">!</font>
<br>
<font face="Courier New" size="2">dialer dnis group Krone-isdn</font>
<br>
<font face="Courier New" size="2"> number zzzzzzzz</font>
<br>
<font face="Courier New" size="2"> call-type cas digital</font>
<br>
<font face="Courier New" size="2">!</font>
<br>
<font face="Courier New" size="2">dialer-list 1 protocol ip permit</font>
<br>
<br>
<font face="Courier New" size="2">x25 route ^990101803.* hunt-group
FEP
xot-keepalive-period 5 xot-keepalive-tries 3 </font>
<br>
<font face="Courier New" size="2">!</font>
<br>
<font face="Courier New" size="2">privilege exec level 0 pad</font>
<br>
<font face="Courier New" size="2">privilege exec level 0 telnet</font>
<br>
<font face="Courier New" size="2">privilege exec level 1 enable</font>
<br>
<br>
<font face="Courier New" size="2">line vty 0 4</font>
<br>
<font face="Courier New" size="2"> access-class 1 in</font>
<br>
<font face="Courier New" size="2"> logging synchronous level all</font>
<br>
<font face="Courier New" size="2"> login authentication TAC-CET</font>
<br>
<font face="Courier New" size="2"> transport preferred none</font>
<br>
<font face="Courier New" size="2"> transport input ssh</font>
<br>
<font face="Courier New" size="2"> transport output pad telnet</font>
<br>
<font face="Courier New" size="2"> escape-character 3</font>
<br>
<font face="Courier New" size="2">line vty 5 7</font>
<br>
<font face="Courier New" size="2"> autocommand pad 990101803
/cud ABRK /profile krone /quiet</font>
<br>
<font face="Courier New" size="2"> transport input v120 lapb-ta</font>
<br>
<font face="Courier New" size="2"> transport output pad</font>
<br>
<br>
<font face="Courier New" size="2">line 1/44</font>
<br>
<font face="Courier New" size="2"> session-timeout 1 </font>
<br>
<font face="Courier New" size="2"> no flush-at-activation</font>
<br>
<font face="Courier New" size="2"> authorization exec EMPTY</font>
<br>
<font face="Courier New" size="2"> login authentication EMPTY</font>
<br>
<font face="Courier New" size="2"> no modem callout</font>
<br>
<font face="Courier New" size="2"> modem Dialin</font>
<br>
<font face="Courier New" size="2"> modem autoconfigure type krone</font>
<br>
<font face="Courier New" size="2"> autocommand pad 990101803
/cud ABRK /profile krone /quiet</font>
<br>
<font face="Courier New" size="2"> transport preferred pad</font>
<br>
<font face="Courier New" size="2"> transport input all</font>
<br>
<font face="Courier New" size="2"> transport output pad</font>
<br>
<font face="Courier New" size="2"> escape-character NONE</font>
<br>
<br>
<font face="Courier New" size="2">line 1/58</font>
<br>
<font face="Courier New" size="2"> session-timeout 1 </font>
<br>
<font face="Courier New" size="2"> location libre</font>
<br>
<font face="Courier New" size="2"> no flush-at-activation</font>
<br>
<font face="Courier New" size="2"> authorization exec EMPTY</font>
<br>
<font face="Courier New" size="2"> login authentication EMPTY</font>
<br>
<font face="Courier New" size="2"> no modem callout</font>
<br>
<font face="Courier New" size="2"> modem Dialin</font>
<br>
<font face="Courier New" size="2"> modem autoconfigure type V120</font>
<br>
<font face="Courier New" size="2"> autocommand pad 990101803
/cud ABRK /profile krone /quiet</font>
<br>
<font face="Courier New" size="2"> transport preferred none</font>
<br>
<font face="Courier New" size="2"> transport input v120 lapb-ta</font>
<br>
<font face="Courier New" size="2"> transport output all</font>
<br>
<font face="Courier New" size="2"> escape-character NONE</font>
<br>
<font face="Courier New" size="2">end</font>
<br>
<p><span style="font-family: 'Arial'; font-size: 8pt;">=======================================================================</span></p>
<p><span style="font-family: 'Arial'; font-size: 8pt;">This
electronic message is not binding on its sender nor on Cetrel S.A.</span></p>
<p><span style="font-family: 'Arial'; font-size: 8pt;">Any use of
information of this mail except the use by the addressee</span></p>
<p><span style="font-family: 'Arial'; font-size: 8pt;">within his or
her business relation with Cetrel is strictly forbidden</span></p>
<p><span style="font-family: 'Arial'; font-size: 8pt;">CETREL S.A.
L-2956 Luxembourg; Tel: 00352 35566-1; <a class="moz-txt-link-freetext" href="http://www.cetrel.lu">http://www.cetrel.lu</a></span></p>
<p><span style="font-family: 'Arial'; font-size: 8pt;">=======================================================================</span></p>
<p><span style="font-family: 'Arial'; font-size: 8pt;"> </span></p>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
cisco-nas mailing list
<a class="moz-txt-link-abbreviated" href="mailto:cisco-nas@puck.nether.net">cisco-nas@puck.nether.net</a>
<a class="moz-txt-link-freetext" href="https://puck.nether.net/mailman/listinfo/cisco-nas">https://puck.nether.net/mailman/listinfo/cisco-nas</a></pre>
</blockquote>
</body>
</html>