[unix-pc.general] Is there a command for

dino@ddsw1.UUCP (Laura Watson) (03/13/88)

Is there a shell(?) command on the Unix PC for switching the ph0 line
from data to voice and vice versa without having to toggle it manually
on the LINE SELECT button?  If so, which of these here big fat 
manuals would explain it?  (It's not in my permuted System V index).  
If not, could I write some kind of program to do it?  (I have version 
3.5 of the regular software.)  





-- 
Laura Watson             ...[ihnp4, moss, codas]!ddsw1!dino

Love is friendship set to music.

lenny@icus.UUCP (Lenny Tropiano) (03/20/88)

In article <869@ddsw1.UUCP> dino@ddsw1.UUCP (Laura Watson) writes:
|>Is there a shell(?) command on the Unix PC for switching the ph0 line
|>from data to voice and vice versa without having to toggle it manually
|>on the LINE SELECT button?  If so, which of these here big fat 
|>manuals would explain it?  (It's not in my permuted System V index).  
|>If not, could I write some kind of program to do it?  (I have version 
|>3.5 of the regular software.)  
|>

	What you are looking for is... phtoggle.  I think it only
exists in the 3.51 release.  I don't seem to remember it in prior
releases (specifically 3.5).   I don't know if you can copy someone's
phtoggle from a 3.51 system and it will work?  Doubt it... You might
want to consider upgrading that way.   They did a lot of enhancements
to the Phone Manager in 3.51!

							-Lenny

-- 
US MAIL  : Lenny Tropiano, ICUS Computer Group        IIIII  CCC U   U  SSS
           PO Box 1                                     I   C    U   U S
	   Islip Terrace, New York  11752               I   C    U   U  SS 
PHONE    : (516) 968-8576 [H] (516) 582-5525 [W]        I   C    U   U    S
TELEX    : 154232428 [ICUS]                           IIIII  CCC  UUU  SSS 
AT&T MAIL: ...attmail!icus!lenny  
UUCP     : ...{mtune, ihnp4, boulder, talcott, sbcs, bc-cis}!icus!lenny 

rosalia@mozart.UUCP (Mark Galassi) (03/22/88)

In article <869@ddsw1.UUCP> dino@ddsw1.UUCP (Laura Watson) writes:
>Is there a shell(?) command on the Unix PC for switching the ph0 line
>from data to voice and vice versa without having to toggle it manually
>on the LINE SELECT button?
>Laura Watson             ...[ihnp4, moss, codas]!ddsw1!dino
     This question comes up periodically, so here is the periodic
answer.  Run the command "phtoggle", and it will do what you want.
If you are setting up a script to dial out on a mixed voice/data
line, you can have a file called "do_uucico", which looks
like
---
phtoggle
sleep 3
uucico $*
sleep 3
phtoggle
---
(the sleep is to give phtoggle time, the $* is so you can call
"do_uucico -r1 -ssystem", as if it were "uucico").

>Love is friendship set to music.
Nice line.  Is it yours?  Otherwise, where did you get it?

-- 
						Mark Galassi
					...!icus!mozart!rosalia
{ these opinions are mine, and should be everybody else's :-) }