Try changing the following which you have
sitel:
 set phone 2053203
 set authname CALLER
 set authkey MYPASSWORD
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255
 add default HISADDR
 set callback auth cbcp E.164 6661313
 set cbcp 6661313

To this
sitel:
 set phone 2053203
 set authname CALLER
 set authkey MYPASSWORD
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255
 add default HISADDR
 set callback cbcp
 set cbcp 6661313

with 6661313 being the phone number and area code of the phone line
connected to the modem which is to answer the callback call.

You failed to say if you can hear your modem answer the incoming
call, you have to

Configure Modem to answer call using HAYES Commands

ALL external and internal PCI voice phone modems since they were
first developed, have been manufactured to comply to the Hayes
standard. When you turn on your modem or reset it, your modem loads
the 'active configuration profile' into non-volatile memory (NVRAM).
The active configuration profile is a group of configuration
settings, derived from the values of the modem's internal S
registers, that define how the modem will operate. The active
configuration profile can be either the factory-default, or one of
two user defined profiles. The first time your modem is turned on,
the factory-default profile is loaded into the 'active profile in
non-volatile memory (NVRAM). The factory-default profile is stored
in the modem's read-only-memory (ROM) and can not be changed. The
factory-default profile contains standard settings which allow the
majority of users to use their modem without every knowing about the
Hayes standard. Modems are not factory configured to answer incoming
calls by default, so you will have to manually create your own user
profile, enable auto answer on first ring, save it to one of the
user profiles in NVRAM, and tell the modem to use it on power up and
reset as the default profile.

Use 'tip' command to send Hayes commands to permanently configure
the modem to answer incoming calls.

Note: The Hayes modem commands are capital letters and the '0' is a
zero.

On the command line enter

        tip comX     where X is the com port your modem is on.
        AT&F0        load the factory default profile0 into current
profile.
        ATS0=1       tell current profile to answer on first ring.
        AT               Enter AT command 10 times to train modem to 115200 speed
        AT&W0        write current profile to saved user profile0.
        AT&Y0        tell modem to load user profile0 as default profile on
power up.

Use  keyboard ~ key followed by . key to exit tip command.



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kyryll A
Mirnenko
Sent: Sunday, February 22, 2004 11:42 AM
To: [EMAIL PROTECTED]
Subject: ISP dialing with callback

  This topic seems to be an elder one, but nobody around couldn't
help
me. I need to setup ppp (user) to dial to my callback-ISP. Here're
useful info:

1). IPS uses PAP authentification.
2). Phone number negotiation is unsupported, I need to send it.

When using Windows ppp-dialer (really buggy), everything is OK, so
that's not ISP problem. Direct connection & authentification goes
right, but no incoming call after that. I browsed my logs & only
strange thing I found is there was no phone number I should send (at
least in the readable part, not in the packages sent). Here're my
configs (truncated with dummy logins & passwords :) - the provider
entry is "sitel":

[ /etc/ppp/ppp.conf ]

default:
 set log phase tun chat cbcp command pap
 ident user-ppp VERSION (built COMPILATIONDATE)

 set device /dev/cual0

 set speed 38400
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
           \"\" AT OK-AT-OK ATE1Q0 OK \\dATDP\\T TIMEOUT 80 CONNECT"
 set timeout 180                        # 3 minute idle timer (the
default)
 enable dns                             # request DNS info (for
resolv.conf)
 enable vjcomp deflate deflate24 protocomp pred1
 accept vjcomp deflate deflate24 protocomp pred1
 set urgent udp +53

sitel:
 set phone 2053203
 set authname CALLER
 set authkey MYPASSWORD
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255
 add default HISADDR
 set callback auth cbcp E.164 6661313
 set cbcp 6661313

incoming:
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255
 set authname CALLER
 set authkey MYPASSWORD

[ /etc/ppp/ppp.secret ]

CALLER  MYPASSWORD      *       *       6661313

[ /etc/ttys ]

console none                            unknown off secure
#
ttyv0   "/usr/libexec/getty Pc"         cons25u on secure
# Virtual terminals
ttyv1   "/usr/libexec/getty Pc"         cons25u on  secure
ttyv2   "/usr/libexec/getty Pc"         cons25u on  secure
ttyv3   "/usr/libexec/getty Pc"         cons25u on  secure
ttyv4   "/usr/libexec/getty Pc"         cons25u off secure
ttyv5   "/usr/libexec/getty Pc"         cons25u off secure
ttyv6   "/usr/libexec/getty Pc"         cons25u off secure
ttyv7   "/usr/libexec/getty Pc"         cons25u off secure
ttyv8   "/usr/X11R6/bin/xdm -nodaemon"  xtermu  off secure
#
ttyd0   "/usr/libexec/getty callback1"  dialup  on
# AND SO ON...

[ /etc/gettytab ]

default:\
        :cb:ce:ck:lc:fd#1000:im=\r\n%s/%m (%h)
(%t)\r\n\r\n:sp#1200:\
        :if=/etc/issue:

# my callback account
callback1|38400-baud:\
        :np:sp#38400:pp=/etc/ppp/callback.ppp:

# AND OTHERS...

[ /etc/ppp/callback.ppp ]

#!/bin/sh
echo "!!! Incoming call. Use kill -TERM $$ to kill it..." | wall -g
wheel
exec /usr/sbin/ppp -direct incoming

  That's all. If have a solution or any experience in setting-up
user-ppp callback, reply (workable configs won't be out of place).

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to