[App_rpt-users] iaxrpt

Mike mm at midnighteng.com
Sat Jun 30 16:18:50 UTC 2018


If he is to use that, he will also need a line in globals

like:  node = 12345

or replace both "${node}"  with the actual node number "12345".

...mike/kb8jnm

On 6/30/2018 11:49 AM, David Shaw wrote:
> Sorry Mike use this line in the extensions.conf
> 
> [radio-gui]
> exten => ${NODE},1,rpt(${NODE}|X)
> 
> 
> 
> --
> Thanks, David
> 
> "Laws that forbid the carrying of arms...disarm only those who are neither
> inclined nor determined to commit crimes. Such laws make things worse for
> the assaulted and better for the assailants; they serve rather to encourage
> than prevent homicides, for an unarmed man may be attacked with greater
> confidence than an armed one."
> Thomas Jefferson
> 
> On Sat, Jun 30, 2018 at 8:34 AM, David Shaw <shawpbx at gmail.com> wrote:
> 
>> Hello Mike,
>>
>> If your problem is with the android app. You need to make some changes.
>>
>> You will need to edit iax.conf and extensions.conf
>>
>> Howto:
>> cd /etc/asterisk
>>
>> sudo nano iax.conf
>>
>>
>> [CallSign]                                ; Connect from iaxrpt Username
>> field (PC AllStar Client)
>> type = friend                             ; Notice type is user here
>> <---------------
>> context = radio-gui                        ; Context to jump to in
>> extensions.conf
>> auth = md5
>> secret = password
>> host = dynamic
>> disallow = all
>> allow = ulaw
>> transfer = no
>>
>>
>> sudo nano extensions.conf
>>
>> [radio-gui]
>> exten => 2060,1,rpt,2060|X
>>
>>
>>
>> David
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>> Thanks, David
>>
>> "Laws that forbid the carrying of arms...disarm only those who are neither
>> inclined nor determined to commit crimes. Such laws make things worse for
>> the assaulted and better for the assailants; they serve rather to encourage
>> than prevent homicides, for an unarmed man may be attacked with greater
>> confidence than an armed one."
>> Thomas Jefferson
>>
>> On Sat, Jun 30, 2018 at 6:38 AM, Mike Besemer <mwbesemer at cox.net> wrote:
>>
>>> Tried all and failed.  Also tried from my Windows tablet and Android
>>> table, both via my Wifi.
>>>
>>> I’m WAY beyond perplexed!
>>>
>>> Mike
>>> WM4B
>>>
>>> From: App_rpt-users [mailto:app_rpt-users-bounces at lists.allstarlink.org]
>>> On Behalf Of David Shaw
>>> Sent: Friday, June 29, 2018 6:43 PM
>>> To: Users of Asterisk app_rpt
>>> Subject: Re: [App_rpt-users] iaxrpt
>>>
>>> Hey Mike the stanza is fine.
>>>
>>> [Nodes]
>>> 48166 = radio at 127.0.0.1:4569/48166,NONE
>>> This just tells Asterisk (ASL) where node 48166 is. The 127.0.0.0/8 is
>>> used by the server. This is OK.
>>>
>>> This is what we know as of now:
>>> ASL is setup and working to allow connection on port 4569. You have
>>> iax2.conf configured to allow a user to login. I would say ASL is setup and
>>> working.
>>>
>>> If your computer is on the same subnet as your ASL node.
>>>
>>> I would check:
>>> Windows Firewall
>>> Windows Anti-Virus
>>>
>>> Wireless access point turn off AP Isolation
>>> https://wiki.dd-wrt.com/wiki/index.php/Advanced_wireless_set
>>> tings#AP_Isolation
>>>
>>> Router turn any network Isolation
>>> https://wiki.dd-wrt.com/wiki/index.php/Guest_Network#Guest_A
>>> ccess_to_a_Network_Device
>>>
>>>
>>>
>>> David
>>>
>>>
>>>
>>>
>>>
>>> --
>>> Thanks, David
>>>
>>> "Laws that forbid the carrying of arms...disarm only those who are
>>> neither inclined nor determined to commit crimes. Such laws make things
>>> worse for the assaulted and better for the assailants; they serve rather to
>>> encourage than prevent homicides, for an unarmed man may be attacked with
>>> greater confidence than an armed one."
>>> Thomas Jefferson
>>>
>>> On Fri, Jun 29, 2018 at 2:00 PM, Mike Besemer <mwbesemer at cox.net> wrote:
>>> Here's what I've got so far.
>>>
>>> tracert reports 1     hop: 1     2ms     2ms    2ms     RaspberryPi
>>>   192.168.x.x
>>>
>>> Android Phone connected to Verizon network:  Good connect via the
>>> external IP
>>> Android Phone in Airplane mode connected to my wireless network: No
>>> connect
>>> Windows Computer connected to my wireless network: No connect
>>>
>>> So, it seems to be an internal/external IP issue rather than an
>>> Android/Windows issue - which is what I had originally thought.  That
>>> should mean that the [stanza] in iaxrpt.conf and extensions.conf is correct
>>> - at least for the android phone.  (The Android works on the external IP
>>> but not the internal IP, and that proves the stanzas are ok.)
>>>
>>> Tracert is reporting one hop from the Windows machine to the Pi - so the
>>> machines are seeing each other.
>>>
>>> Attached is a lousy photo of a netstat -pln run from the pi, but I don't
>>> know what I'm looking at.
>>>
>>> Mike
>>> WM4B
>>>
>>>
>>>
>>>
>>> From: App_rpt-users [mailto:app_rpt-users-bounces at lists.allstarlink.org]
>>> On Behalf Of David Shaw
>>> Sent: Friday, June 29, 2018 10:19 AM
>>> To: Users of Asterisk app_rpt
>>> Subject: Re: [App_rpt-users] iaxrpt
>>>
>>> Most new routers won't allow you to exit the local network (LAN) and come
>>> back in. This might happen if you use a domain name that is associated with
>>> your public address. If you want to use your public domain name to access
>>> your node from inside your LAN. You'll need to add a DNS entry to your
>>> router. **See "Side Note" below
>>>
>>> By default IAX2 uses UDP port 4569 and the bind address is set to all
>>> interfaces/addresses in the ASL OS (allstarlink.org). As for the
>>> hamvoip.com settings, you should check with them.
>>>
>>> Are you using the hostname or IP address to access your node?
>>> Like Mike stated, use xxx.xxx.xxx.xxx:4569 from your local (LAN) devices.
>>>
>>> Testing:
>>>  From your windows based computer. Try tracert and the IPaddress of the
>>> node.
>>>
>>> tracert 192.168.x.x
>>>
>>> 1  <1 ms   <1 ms   <1 ms 192.168.x.x
>>>
>>> There should be only one hope to your node if your windows computer in on
>>> the same network.
>>>
>>> Side note:
>>> I use dhcp on all my nodes on my LAN networks. I give them static address
>>> via the DHCP server. I also change the hostname on the node. i.e. asl2060
>>> This allows the router's internal DNS server to associate the hostname
>>> and IP address for the ASL node. Some routers will allow you to add a
>>> domain name.
>>> Also there is no need to open TCP port forwarding on you router for IAX2
>>> 4569.
>>>
>>> David
>>>
>>>
>>>
>>>
>>>
>>> --
>>> Thanks, David
>>>
>>> "Laws that forbid the carrying of arms...disarm only those who are
>>> neither inclined nor determined to commit crimes. Such laws make things
>>> worse for the assaulted and better for the assailants; they serve rather to
>>> encourage than prevent homicides, for an unarmed man may be attacked with
>>> greater confidence than an armed one."
>>> Thomas Jefferson
>>>
>>> On Fri, Jun 29, 2018 at 3:58 AM, <mwbesemer at cox.net> wrote:
>>> No.  I've never seen reference to that.  I'm still in the initial phase
>>> of setting up this node; have not messed with rpt.conf yet.
>>>
>>> Mike
>>> WM4B
>>>
>>>
>>> On Thu, Jun 28, 2018 at 11:11 PM, Bob Pyke wrote:
>>> Did you add your local node address for each node in the rpt,conf [nodes]
>>> stanza?
>>> Thanks,
>>> Bob
>>> K6ECM
>>> 73
>>>
>>> On Jun 28, 2018, at 6:12 PM, Mike <mm at midnighteng.com> wrote:
>>>
>>>
>>> Mike,
>>>
>>> Still a lot of possibilities of things that may not be right but,
>>>
>>> Just so that you are conducting a 'good test' behind your nat through
>>> wifi,
>>>
>>> put your phone in airplane mode, then turn just the wifi on and connect.
>>>
>>> You might also want to turn the forwarding to just the UDP 4569 and
>>> specify that in your phone connect,
>>>
>>> guessing your using the android iaxrpt....  like this for your IP...
>>>
>>> 192.169.1.101:4569   < :port especially if not the norm, but do it
>>> anyway.
>>> That's a few things to investigate anyway,
>>>
>>> Let me know if your still having issues.
>>>
>>> Oh... don't forget to get back out of airplane mode / turn cellular back
>>> on when done.
>>>
>>> Hate to see ya late for dinner ...lol
>>> ...mike/kb8jnm
>>> On 6/28/2018 8:00 PM, Mike Besemer wrote:
>>> Making progress on my node.  After several false starts I finally got the
>>> node connected and am able to connect via iaxrpt from my Android devices if
>>> I use my EXTERNAL IP address.
>>>
>>> I cannot connect from Android or Windows using my INTERAL IP address. I
>>> followed the guide at hamvoip.com and have double checked everything.
>>>
>>> The port is open for both UDP and TCP connections. The firewall seems ok.
>>>
>>> It has to be something obvious.  What             did I miss?
>>>
>>> Mike
>>>
>>> WM4B
>>>
>>>
>>>
>>> _______________________________________________
>>> App_rpt-users mailing list
>>> App_rpt-users at lists.allstarlink.org
>>> http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
>>>
>>> To unsubscribe from this list please visit http://lists.allstarlink.org/c
>>> gi-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 lists.allstarlink.org
>>> http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
>>>
>>> To unsubscribe from this list please visit http://lists.allstarlink.org/c
>>> gi-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 lists.allstarlink.org
>>> http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
>>>
>>> To unsubscribe from this list please visit http://lists.allstarlink.org/c
>>> gi-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 lists.allstarlink.org
>>> http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
>>>
>>> To unsubscribe from this list please visit http://lists.allstarlink.org/c
>>> gi-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 lists.allstarlink.org
>>> http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
>>>
>>> To unsubscribe from this list please visit http://lists.allstarlink.org/c
>>> gi-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 lists.allstarlink.org
>>> http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
>>>
>>> To unsubscribe from this list please visit http://lists.allstarlink.org/c
>>> gi-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 lists.allstarlink.org
> http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
> 
> To unsubscribe from this list please visit http://lists.allstarlink.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