public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* point-to-point problem with speak_freely
@  Charles Hallenbeck
   ` Kirk Reiser
   ` Geoff Shang
  0 siblings, 2 replies; 7+ messages in thread
From: Charles Hallenbeck @  UTC (permalink / raw)
  To: Speakup Distribution List

Hi gang,

I am puzzled by the failure of something I thought ought to work, and I am
hopeful that one of our speak_freely experts might be able to advise me
what I am doing wrong.

I am trying to establish user to user contact with another local Linux
user. I have created a script which runs sfspeaker (see below) which we
both use. The procedure I think ought to work is this:

1. We each run the script to start sfspeaker on the default port, 2074.
2. My friend determines his IP address and communicates it to me. We did
this by telephone while experimenting, but could eventually do it by
email.
3. I trun "sfmike" with my friend's IP address as the argument. So far so
good - i press space to talk and my friend hears my voice with only a
slight delay.
4. My friend types the command "sf-ans" which was created by the script he
has run in step 1, in response to my incoming call. This does not work. I
hear no voice, and he hears the audio busy signal sent to him by me, also
specified in the script below.
5. He repeats his attempt to send me a voice message, and is told his
connection to me is refused. I attempt to send him a voice message again
and am told that he refuses my connection.

Here is the script we run to start our sfspeaker programs. I will comment
on a couple of lines later...

#!/bin/bash
setsource mike
killall sfspeaker >/dev/null 2>&1
export SPEAKFREE_LWL_TELL=""
rm ./sf-ans >/dev/null 2>&1
sfspeaker -a./sf-ans -b"sleep 10; sfmike %s /pub/sounds/busy.au" -j2000  &



Comments:
"setsource mike" merely runs amixer to accept sound card input from the
microphone.
"killall sfspeaker" insures that we will not have any old process lying
around to interfere with this script.
Setting the environment variable to null suppresses posting the IP address
anywhere.
The "rm" command removes any previous "sf-ans" file so that only a newly
created one will be effective.
Finally, the sfspeaker command is asked to create an "sf-ans" file, to
supply a "busy signal" when appropriate, to change the "jitter" value, and
to run in the background.

So to summarize: We both run the above script so that sfspeaker is active
on both our systems with the default port, 2074. Then I run sfmike with my
friend's IP address and establish communication from me to him,
successfully. This creates "sf-ans" on his system. Then he executes
sf-ans, but instead of completing the connection back to me, it finds my
side busy, and I dutifully return the file "busy.au" to him, which he
hears. Any further attempts by either of us to send anything else results
in connections being refused.


Any ideas will be very much appreciated.

Chuck


 My web site is http://www.mhonline.net/~chuckh 
The Moon is Waxing Gibbous (97% of Full)



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: point-to-point problem with speak_freely
   point-to-point problem with speak_freely Charles Hallenbeck
@  ` Kirk Reiser
     ` Charles Hallenbeck
   ` Geoff Shang
  1 sibling, 1 reply; 7+ messages in thread
From: Kirk Reiser @  UTC (permalink / raw)
  To: speakup; +Cc: Speakup Distribution List

Hi Chuck:  I am not positive about this but it looks to me as though
the ./sf-ans file which is getting created when you connect to him on
his system is being rm'd by that line before his system gets down to
the new sfspeaker so there isn't one for him to connect back to you.
Just a guess though.  I am not sure just how the -v flag operates so I
can't comment on that.

  Kirk

-- 

Kirk Reiser				The Computer Braille Facility
e-mail: kirk@braille.uwo.ca		University of Western Ontario
phone: (519) 661-3061


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: point-to-point problem with speak_freely
   point-to-point problem with speak_freely Charles Hallenbeck
   ` Kirk Reiser
@  ` Geoff Shang
     ` Charles Hallenbeck
  1 sibling, 1 reply; 7+ messages in thread
From: Geoff Shang @  UTC (permalink / raw)
  To: speakup

Hi:

It is possible that you're having a firewall issue here at your end, though
I doubt it since sfspeaker does invoke the busy sound.  You can verify this
by connecting to lwl.braille.uwo.ca (default port ) and seeing if the echo
server works for you.

What I suspect though is that with all the mucking around that's been done
lately in CVS, something broke for point to point.  Frankly, this aspect
has not really been tested.  Of course, if neither of you have the CVS
version then that's a different story.

Geoff.




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: point-to-point problem with speak_freely
   ` Kirk Reiser
@    ` Charles Hallenbeck
       ` Geoff Shang
  0 siblings, 1 reply; 7+ messages in thread
From: Charles Hallenbeck @  UTC (permalink / raw)
  To: speakup

Nope, his sf-ans file is there and executes properly, or at least it
executes. I have examined its contents, and it seems to be a domain name
translation of my own IP, something or other ending with .termserve" as I
recall. The -b switch specifies a .au file to return to the caller in the
event the local site is already engaged in a connection, and in fact Lee
is hearing that busy.au file in response to his execution of sf-ans.

I have made security on my own system, and I temporarily loosened them
thinking that perhaps I was denying him access to my own system, but it
made no difference. Both his version and my version of speak_freely are
the most recent CVS versions and they both work correctly on the
reflector.

Here is another strange clue though: after we each run our scripts to run
sfspeaker, and before we do anything else, neither of has an sf-ans
file. After I connect to him with sfmike, he has one that appears
correct. when he executes it, he gets the busy.au file, which is a
standard phone company busy signal, and on my system an sf-ans file is
created, but it appears wrong. In place of a domain name for the caller,
it contains "localhost". I am surprised to find that one has been created
at all on my system, but doubly surprised that it contains localhost as
the domain name.

Is anybody using speak_freely for user to user connections to your
knowledge? I would be assured if I knew it worked that way for others,
which means there would be hope I could make it do so too.

Any more guesses? I am drawing a blank.

Chuck


 On 6
Apr 2001, Kirk Reiser wrote:

> Hi Chuck:  I am not positive about this but it looks to me as though
> the ./sf-ans file which is getting created when you connect to him on
> his system is being rm'd by that line before his system gets down to
> the new sfspeaker so there isn't one for him to connect back to you.
> Just a guess though.  I am not sure just how the -v flag operates so I
> can't comment on that.
> 
>   Kirk
> 
> 

My web site is http://www.mhonline.net/~chuckh 
The Moon is Waxing Gibbous (99% of Full)



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: point-to-point problem with speak_freely
   ` Geoff Shang
@    ` Charles Hallenbeck
  0 siblings, 0 replies; 7+ messages in thread
From: Charles Hallenbeck @  UTC (permalink / raw)
  To: speakup

Hi Geoff,
We are both using the same CVS version (after Jim Dantly's checkin) and
both versions work fine on the echo and on the reflector. Neither of us is
behind a firewall - in fact we each have simple dialup systems on the same
ISP. I have tried every variation I can think of, but am stumped. Perhaps
you are right, maybe something is broken. 
Chuck
 On Sat, 7 Apr 2001, Geoff Shang
wrote:

> Hi:
> 
> It is possible that you're having a firewall issue here at your end, though
> I doubt it since sfspeaker does invoke the busy sound.  You can verify this
> by connecting to lwl.braille.uwo.ca (default port ) and seeing if the echo
> server works for you.
> 
> What I suspect though is that with all the mucking around that's been done
> lately in CVS, something broke for point to point.  Frankly, this aspect
> has not really been tested.  Of course, if neither of you have the CVS
> version then that's a different story.
> 
> Geoff.
> 
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 

My web site is http://www.mhonline.net/~chuckh 
The Moon is Full



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: point-to-point problem with speak_freely
     ` Charles Hallenbeck
@      ` Geoff Shang
         ` Charles Hallenbeck
  0 siblings, 1 reply; 7+ messages in thread
From: Geoff Shang @  UTC (permalink / raw)
  To: speakup

Hi:

The answer script is only created by sfspeaker when a connection is
received, so the script won't be killing off the current one.  I don't know
what exactly causes the localhost bit in the answer script, though I've
seen it before.  I think it has something to do with your system sending
out the busy tone.  Anyway, this won't be the cause of your problems as you
never run the sf-ans script yourself.

My advice is to remove the busy switch and try again, since it makes things
a little less complicated.  If it still doesn't work, then I think
something is busted.  But I suspect this already.  You might have to revert
back to the 7.2 release for point to point until we can track down the
problem.

Geoff.




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: point-to-point problem with speak_freely
       ` Geoff Shang
@        ` Charles Hallenbeck
  0 siblings, 0 replies; 7+ messages in thread
From: Charles Hallenbeck @  UTC (permalink / raw)
  To: speakup

Good suggestion. I will try that later today and we shall see what
happens.


On Sun, 8 Apr 2001, Geoff Shang wrote:

> Hi:
> 
> The answer script is only created by sfspeaker when a connection is
> received, so the script won't be killing off the current one.  I don't know
> what exactly causes the localhost bit in the answer script, though I've
> seen it before.  I think it has something to do with your system sending
> out the busy tone.  Anyway, this won't be the cause of your problems as you
> never run the sf-ans script yourself.
> 
> My advice is to remove the busy switch and try again, since it makes things
> a little less complicated.  If it still doesn't work, then I think
> something is busted.  But I suspect this already.  You might have to revert
> back to the 7.2 release for point to point until we can track down the
> problem.
> 
> Geoff.
> 
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 

My web site is http://www.mhonline.net/~chuckh 
The Moon is Full



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 point-to-point problem with speak_freely Charles Hallenbeck
 ` Kirk Reiser
   ` Charles Hallenbeck
     ` Geoff Shang
       ` Charles Hallenbeck
 ` Geoff Shang
   ` Charles Hallenbeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).