A USER question

Jay R. Ashworth jra at baylink.com
Thu Apr 28 09:12:23 PDT 2005


On Thu, Apr 21, 2005 at 10:55:14AM -0400, Walter Vaughan wrote:
> The facet_phone server will be running on a freeBSD box, just not the 
> server that we run filePro on.
> 
> The facet_phone server has a binary that is called like the following..
> "fp_cid 200" (binary and extension) and it would return to standard 
> output something similar to "<800-325-3535|SHERATON 
> HOTEL|345-453-3434>". All of a sudden I am having a mental block on how 
> to run a USER or SYSTEM command that would execute a binary on a remote 
> machine and read in the std_output on that remote machine.
> 
> Surely I am not the first person to integrate filePro and facetPhone. 
> Any hints or tips will probably allow me to sleep tonight.

I *think* the answer you're looking for is to make the shell script
called by your USER command be

ssh fphone_server fp_cid $1

Though "$1" will likely have to be changed to whatever you can export
the extension number out in; possibly using PUTENV().

Does that hint help any?

Cheers,
-- jra
-- 
Jay R. Ashworth                                                jra at baylink.com
Designer                          Baylink                             RFC 2100
Ashworth & Associates        The Things I Think                        '87 e24
St Petersburg FL USA      http://baylink.pitas.com             +1 727 647 1274

      If you can read this... thank a system administrator.  Or two.  --me


More information about the Filepro-list mailing list