[App_rpt-users] App_rpt-users Digest, Vol 71, Issue 18

mike at midnighteng.com mike at midnighteng.com
Sun Jan 11 18:22:39 UTC 2015



Mike,

Thanks for the diagram, it makes it clear almost.
I assume the 6xxx extensions/devices are registering with the mesh-pbx.
And 5xxx extensions/devices are registering with Home-PBX.

For any two extension/devices that are registered in the same asterisk
server.

exten => _5XXX,1,Dial(iax/${EXTEN},17); home phones

A string like above should work. You should be able to reach them via
radio phone patch via radios attached to the same HOME-PBX asterisk box.


To dial from a extension/device that is registared outside of home-pbx
to mesh-pbx

exten => _6XXX,1,Dial(iax/NAMEOFTRUNKTOUSE/${EXTEN},17);  ;home-pbx
dialing mesh-pbx extsions

NAMEOFTRUNKTOUSE = the name of the route you created from origination to
destination.
You may have declared one the opposite way but you need a path going in
the correct direction for the call. It is NOT automatically
bi-directional but a very directional route.

Obviously, you have created a route to dial into the node (named?). You
just need one going in the opposite direction to get from home-pbx to
the mesh=pbx.
When you create that, specify it in the dial string for NAMEOFTRUNK

Once you have that done, do the same in the other direction (changing
dial string to reflect extensions and named trunk used)

I hope that makes things clearer as to what needs to be done.
I have assumed a little more about what you had completed in your set-up
then I should have.

If there is any confusion on my part, it would be that I don't know
where the extensions are registered. The correct set-up is a matter of
perspective of from where to where.

I think your problem is simply, you have no trunk/route going the proper
direction and it is not declared in the dial string. "You have a
incoming route but not a outgoing one".

Let me know how your progress and anything else you might need.

...mike/kb8jnm



> -------- Original Message --------
> Subject: Re: [App_rpt-users] App_rpt-users Digest, Vol 71, Issue 18
> From: Mike Lussier <mike.lussier at gmail.com>
> Date: Sun, January 11, 2015 12:38 pm
> To: ALL STAR <app_rpt-users at ohnosec.org>
> 
> 
> MIke
> 
> here is a very basic diagram. Sorry Visio is on my work computer not
> personal. The allstar node in on the mesh network. I have a PBX on the mesh
> network. The phones on the mesh use 6xxx as the extension range.
> 
> On the home network I have another PBX both are linked via IAX2 trunk.
> Home extensions are 5xxx.
> 
> No internet access for mesh devices except specific ports for those devices
> that need access link allstarlink, phones ,aprs and a couple others.no
> encryption allowed period.
> Access to the home network is permited. no calls permitted to the outside
> world from the mesh only the ability to ring home extensions.
> 
> I'm looking at the files now and your last message.
> 
> Thank you
> 
> Mike
> 
> On Sun, Jan 11, 2015 at 12:00 PM, <app_rpt-users-request at ohnosec.org> wrote:
> 
> > Send App_rpt-users mailing list submissions to
> >         app_rpt-users at ohnosec.org
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> >         http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
> > or, via email, send a message with subject or body 'help' to
> >         app_rpt-users-request at ohnosec.org
> >
> > You can reach the person managing the list at
> >         app_rpt-users-owner at ohnosec.org
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of App_rpt-users digest..."
> >
> >
> > Today's Topics:
> >
> >    1. what am I missing ? (Mike Lussier)
> >    2. Re: what am I missing ? (mike at midnighteng.com)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Sun, 11 Jan 2015 10:53:33 -0500
> > From: Mike Lussier <mike.lussier at gmail.com>
> > To: ALL STAR <app_rpt-users at ohnosec.org>
> > Subject: [App_rpt-users] what am I missing ?
> > Message-ID:
> >         <
> > CAJ_8STk1tgh8XuMAqXgtYjrYVtHVCz54o_n_BgSSeG8K1rCWCQ at mail.gmail.com>
> > Content-Type: text/plain; charset="utf-8"
> >
> > I stepped away from this last night. I was getting frustrated.
> >
> > What I'm trying to do. dial via DTMF from radio and route the call to the
> > local PBX in my home. I already have a Trunk established between the PBX
> > and the
> > BBB Node. I can place calls directly to the node, TX & RX.
> >
> > When I initiate a call to the phone from my HT  the only response I get
> > back is a courtesy tone.
> >
> > I have tried all of these combinations.
> >
> > *6 6001 #
> > *6 6001
> > 6 6001 #
> > 6 6001
> >
> > There is an IAX2 trunk from the PBX to the BBB AllStar node running 1.2.1.
> >
> > I can place a call to the node from the phone. I can transmit & receive.
> >
> > on the BBB node :
> >
> > I setup my test phone extension  6001 in iax.cnf file on the node the dial
> > command is different dial=iax/6001
> >
> > [6001]
> > deny=0.0.0.0/0.0.0.0
> > username=6001
> > secret=xxxx
> > dtmfmode=rfc2833
> > canreinvite=no
> > context=radio-control
> > host=dynamic
> > trustrpid=yes
> > sendrpid=no
> > type=peer
> > nat=no
> > port=5060
> > qualify=yes
> > qualifyfreq=60
> > transport=udp
> > encryption=no
> > callgroup=RPT
> > pickupgroup=ALL
> > dial=IAX6001
> > permit=0.0.0.0/0.0.0.0
> > allow=ulaw,gsm,h263
> >
> > =======
> >
> > rpt.conf
> >
> > 6=autopatchup,noct=1,farenddisconnect=1,dialtime=
> > 40000     ; Autopatch
> > up
> >
> >
> > =======
> > In extensions.conf the phone patch is the [RADIO] context
> >
> > [radio]
> > exten => _5XXX,1,Dial(iax/${EXTEN},17);  ; home phones
> > exten => _6XXX,1,Dial(iax/${EXTEN},17);  ; mesh phones
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL: <
> > http://ohnosec.org/pipermail/app_rpt-users/attachments/20150111/75071a41/attachment-0001.html
> > >
> >
> > ------------------------------
> >
> > Message: 2
> > Date: Sun, 11 Jan 2015 09:25:29 -0700
> > From: <mike at midnighteng.com>
> > To: app_rpt-users at ohnosec.org
> > Subject: Re: [App_rpt-users] what am I missing ?
> > Message-ID:
> >         <
> > 20150111092529.71befee5dbd13c5325dd1a521b4e73ee.4b2d3a50e4.wbe at email06.secureserver.net
> > >
> >
> > Content-Type: text/plain; charset="utf-8"
> >
> >
> >
> >
> > Mike,
> >
> > the correct dial is *6 6001 from the radio.To mesh node.
> > *6 5xxx to a extension on the local box according to your files set-up.
> >
> > The first thing I see in you notes is that when dialing the 6001
> > extension,
> > If I understand your set-up is a external mesh node so you must make the
> > path to it in your dial string.
> >
> >
> > exten=_6XXX,1,Dial,IAX2/PBX/${EXTEN}        ;dial on pbx3
> >
> > says if the 4 digit string starting with a 6 then dial a 6xxx extension
> > using iax2 with the PBX trunk.
> >
> > PBX in my string is the name of the trunk through which my external
> > calls starting with a 6 go through and must be stated. If not on this
> > box, you need to tell it how to get there.
> >
> > Now at the node that 6xxx extension is at, there must be a iax extension
> > that will answer a matching 6xxx call dialed.
> >
> >
> > Get this to work at the local box first (5xxx) before you attempt to
> > dial to a mesh node extension.
> >
> > I guess I should ask...
> > what is on the other side of the mesh connection, a node or just an
> > extension?
> >
> > ...mike/kb8jnm
> >
> >
> >
> > > -------- Original Message --------
> > > Subject: [App_rpt-users] what am I missing ?
> > > From: Mike Lussier <mike.lussier at gmail.com>
> > > Date: Sun, January 11, 2015 10:53 am
> > > To: ALL STAR <app_rpt-users at ohnosec.org>
> > >
> > >
> > > I stepped away from this last night. I was getting frustrated.
> > >
> > > What I'm trying to do. dial via DTMF from radio and route the call to the
> > > local PBX in my home. I already have a Trunk established between the PBX
> > > and the
> > > BBB Node. I can place calls directly to the node, TX & RX.
> > >
> > > When I initiate a call to the phone from my HT  the only response I get
> > > back is a courtesy tone.
> > >
> > > I have tried all of these combinations.
> > >
> > > *6 6001 #
> > > *6 6001
> > > 6 6001 #
> > > 6 6001
> > >
> > > There is an IAX2 trunk from the PBX to the BBB AllStar node running
> > 1.2.1.
> > >
> > > I can place a call to the node from the phone. I can transmit & receive.
> > >
> > > on the BBB node :
> > >
> > > I setup my test phone extension  6001 in iax.cnf file on the node the
> > dial
> > > command is different dial=iax/6001
> > >
> > > [6001]
> > > deny=0.0.0.0/0.0.0.0
> > > username=6001
> > > secret=xxxx
> > > dtmfmode=rfc2833
> > > canreinvite=no
> > > context=radio-control
> > > host=dynamic
> > > trustrpid=yes
> > > sendrpid=no
> > > type=peer
> > > nat=no
> > > port=5060
> > > qualify=yes
> > > qualifyfreq=60
> > > transport=udp
> > > encryption=no
> > > callgroup=RPT
> > > pickupgroup=ALL
> > > dial=IAX6001
> > > permit=0.0.0.0/0.0.0.0
> > > allow=ulaw,gsm,h263
> > >
> > > =======
> > >
> > > rpt.conf
> > >
> > > 6=autopatchup,noct=1,farenddisconnect=1,dialtime=
> > > 40000     ; Autopatch
> > > up
> > >
> > >
> > > =======
> > > In extensions.conf the phone patch is the [RADIO] context
> > >
> > > [radio]
> > > exten => _5XXX,1,Dial(iax/${EXTEN},17);  ; home phones
> > > exten => _6XXX,1,Dial(iax/${EXTEN},17);  ; mesh
> > phones<hr>_______________________________________________
> > > App_rpt-users mailing list
> > > App_rpt-users at ohnosec.org
> > > http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
> > >
> > > To unsubscribe from this list please visit
> > http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down
> > to the bottom of the page. Enter your email address and press the
> > "Unsubscribe or edit options button"
> > > You do not need a password to unsubscribe, you can do it via email
> > confirmation. If you have trouble unsubscribing, please send a message to
> > the list detailing the problem.
> >
> >
> > ------------------------------
> >
> > _______________________________________________
> > App_rpt-users mailing list
> > App_rpt-users at ohnosec.org
> > http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
> >
> >
> > End of App_rpt-users Digest, Vol 71, Issue 18
> > *********************************************
> >
> 
> 
> 
> -- 
> 
> *"We must reject the idea that every time a law is broken, society is
> guilty rather than the law breaker.It is time to restore the American
> precept that each individual is accountable for his actions." ~ Ronald
> Regan*<hr>_______________________________________________
> App_rpt-users mailing list
> App_rpt-users at ohnosec.org
> http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
> 
> To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"
> You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.



More information about the App_rpt-users mailing list