[arm-allstar] New Pi Config with Zoiper

Doug Crompton wa3dsp at gmail.com
Fri Dec 29 15:50:36 EST 2017


[root at 27225-HUB asterisk]# grep 27225 * | wc -l
136

So there are 136 lines in the /etc/asterisk directory that respond to the
assigned node number. If you get no response then that node number is not
setup.

It actually would be better to use the -w argument to only select whole
words with just the requested node. So with -w test27225 would not respond
while test 27225 would.

[root at 27225-HUB asterisk]# grep -w 27225 * | wc -l
59

This number does not exist.

[root at 27225-HUB asterisk]# grep -w 40000 * | wc -l
0


*73 Doug*

*WA3DSP*

*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*




On Fri, Dec 29, 2017 at 2:25 PM, "David McGough via arm-allstar" <
arm-allstar at hamvoip.org> wrote:

>
> Hi LaRoy,
>
> Regular "grep" will work, too, it accepts a list of filenames to search
> just like "fgrep."
>
> The main difference with "fgrep" as compared to regular "grep" is that it
> was originally intended to be a "fast grep" or "fixed strings grep," which
> doesn't allow searching for regular expression patterns, only
> allowing fixed length strings for the pattern. Since the regular
> expression libraries are not utilized, "fgrep" should work faster--in
> yesteryear, with much smaller, slower computers, this performance
> difference could be substantial in some cases.
>
>
>
> 73, David KB4FXC
>
> On Fri, 29 Dec 2017, "LaRoy McCann via arm-allstar" wrote:
>
> > Jeremy,
> >
> > Run "fgrep 41764 *".
> > Grep is looking for input from another pipe, fgrep will look at the files
> > in the directory.
> >
> > LaRoy, K5TW
> >
> > On Thu, Dec 28, 2017 at 10:11 PM, "Jeremy Mathis via arm-allstar" <
> > arm-allstar at hamvoip.org> wrote:
> >
> > > Hello all,
> > > I have my Pi set up, probably incorrectly, but we'll see. So I have my
> node
> > > number configured in it, and I followed the instructions from the PDF
> about
> > > setting it up to work with Zoiper. My phone connects to the node, but
> the
> > > message I get is "Node number 41764, Connected". I changed all the node
> > > numbers from that node to my own node number, restarted the Asterisk
> > > Server, then rebooted the Pi after that didn't work.
> > >
> > > I ran "grep 41764 *" from within /etc/asterisk and there are no
> results so
> > > I am at a loss as to what's up here. Any ideas what my next steps
> should
> > > be? Thank you.
> > >
> > > Jeremy Mathis
> > > ns7r
> > > _______________________________________________
> > >
> > > arm-allstar mailing list
> > > arm-allstar at hamvoip.org
> > > http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
> > >
> > > Visit the BBB and RPi2/3 web page - http://hamvoip.org
> > >
> > _______________________________________________
> >
> > arm-allstar mailing list
> > arm-allstar at hamvoip.org
> > http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
> >
> > Visit the BBB and RPi2/3 web page - http://hamvoip.org
> >
>
> _______________________________________________
>
> arm-allstar mailing list
> arm-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3 web page - http://hamvoip.org
>


More information about the arm-allstar mailing list