From owner-freebsd-net@FreeBSD.ORG Wed Sep 22 04:43:24 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 109BE106564A for ; Wed, 22 Sep 2010 04:43:24 +0000 (UTC) (envelope-from leal@infomed.sld.cu) Received: from cabrera.red.sld.cu (cabrera.red.sld.cu [201.220.222.139]) by mx1.freebsd.org (Postfix) with ESMTP id 5F8488FC1F for ; Wed, 22 Sep 2010 04:43:22 +0000 (UTC) Received: from [10.10.34.110] (helo=my-ultimate-pc) by cabrera.red.sld.cu with esmtp (Exim 4.63) (envelope-from ) id 1OyHAp-0003X1-SF for freebsd-net@freebsd.org; Wed, 22 Sep 2010 00:43:16 -0400 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: freebsd-net@freebsd.org Date: Tue, 21 Sep 2010 12:42:42 -0500 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Orestes.LeaL.R" Organization: Home Cracking... Message-ID: User-Agent: Opera Mail/10.60 (Win32) Subject: mpd5 and mgetty functionality X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Sep 2010 04:43:24 -0000 Hi friends, I need to know if mpd5 can do something similar to: "/usr/local/sbin/megtty -R 30 /dev/cuau0" and "rings 2 in mgetty.config" exactly what I need it's something similar to -R 30 and ring 2 that gave me the same functionality. BUT with mpd5, i'm running 8.1, I got mpd5 with 2 profiles, one dial-out (ISP, works OK!) and one dial-in (From external to my home server) for dialin I run "mpd5 dialin" (see below) but when I dial into my server mpd5 answer the phone inmediatly, I don't want this, I want a similar functionality like mgetty with -R "SECONDS" and "rings 2" option, I need to dial and make let's say 2,3 or four rings and then hung up, mpd5 will never answer this call and when I hung up mpd5 will wait for a call and then when I dial again in a period of 20 to 30 seconds this will tell mpd5 that it's a conection attempt and answer the call otherwise dont's answer it. All this because in my home my wife use the phone too :) and I dont't want any friends call get this noise in his ears! below my dialin: section: ps: oh! sorry for my english ( not my native languaje :] ) LeaL :] #DIAL-IN CONF in mpd.conf dialin: create bundle static B1 set iface idle 900 set ipcp ranges 192.168.1.169/32 192.168.1.130/32 create link static L1 modem set link action bundle B1 set link no chap eap set link enable pap set link max-redial -1 set auth authname user_ppp set modem device /dev/cuau0 set modem var $DialPrefix "DT" set modem idle-script AnswerCall set link enable incoming -- Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema Nacional de Salud. La persona que envia este correo asume el compromiso de usar el servicio a tales fines y cumplir con las regulaciones establecidas Infomed: http://www.sld.cu/