DVSwitch-Mobile with ASL - control codes ignored and macros lost.


Barry G4MKT
 

I installed DVSwich-Mobile from the Play Store on my Android phone to control and connect to my AllStar-Link node.
I can connect to the node and have PTT, audio TX and RX but cannot see anything received by asterisk at the node when I try to send it control codes like *73 or a *3<nodenumber>.

Another issue is that when I configure macros, they don't survive a re-start of the application.
What am I doing wrong?

Version is 1.56 (128)
Android-8.1.0


Steve N4IRS
 

Barry,
As far as saving, the free version will not save changes. Can you post a section of your messages.log when you send a command?

Steve N4IRS

On 6/18/20 5:22 PM, Barry G4MKT via groups.io wrote:
I installed DVSwich-Mobile from the Play Store on my Android phone to control and connect to my AllStar-Link node.
I can connect to the node and have PTT, audio TX and RX but cannot see anything received by asterisk at the node when I try to send it control codes like *73 or a *3<nodenumber>.

Another issue is that when I configure macros, they don't survive a re-start of the application.
What am I doing wrong?

Version is 1.56 (128)
Android-8.1.0


Barry G4MKT
 

On 19/06/2020 10:50, Steve N4IRS wrote:
Barry,
As far as saving, the free version will not save changes.
Ah OK

Can you post a
section of your messages.log when you send a command?
Steve N4IRS
Hi Steve, Thanks for your speedy reply.
There is no such file as messages.log, however there is /var/log/asterisk/messages which I looked at while trying to send commands from DVSwitch but nothing was reported.
Likewise nothing in /var/log/messages.

Running asterisk the output is as follows when connecting from DVSwitch
-----------------------------------
repeater@allstar:~ $ sudo asterisk -rvvvvvvvvvv

AllStarLink Asterisk Version 1.01 2/13/2018 GIT Version adaec47
Copyright (C) 1999 - 2018 Digium, Inc. Jim Dixon, AllStarLink Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
== Parsing '/etc/asterisk/asterisk.conf': Found
Connected to Asterisk GIT Version adaec47 currently running on allstar (pid = 429)
Verbosity was 8 and is now 10
-- Accepting AUTHENTICATED call from 86.191.77.185:
> requested format = unknown,
> requested prefs = (slin|ulaw|adpcm),
> actual format = ulaw,
> host prefs = (ulaw|adpcm|gsm),
> priority = caller
-- Executing [41006@iax-client:1] Ringing("IAX2/G4MKT-1211", "") in new stack
-- Executing [41006@iax-client:2] Wait("IAX2/G4MKT-1211", "3") in new stack
-- Executing [41006@iax-client:3] Answer("IAX2/G4MKT-1211", "") in new stack
-- Executing [41006@iax-client:4] Set("IAX2/G4MKT-1211", "NODENUM=41006") in new stack
-- Executing [41006@iax-client:5] Playback("IAX2/G4MKT-1211", "rpt/node|noanswer") in new stack
-- <IAX2/G4MKT-1211> Playing 'rpt/node' (language 'en')
-- Executing [41006@iax-client:6] SayDigits("IAX2/G4MKT-1211", "41006") in new stack
-- <IAX2/G4MKT-1211> Playing 'digits/4' (language 'en')
-- <IAX2/G4MKT-1211> Playing 'digits/1' (language 'en')
-- <IAX2/G4MKT-1211> Playing 'digits/0' (language 'en')
-- <IAX2/G4MKT-1211> Playing 'digits/0' (language 'en')
-- <IAX2/G4MKT-1211> Playing 'digits/6' (language 'en')
-- Executing [41006@iax-client:7] Set("IAX2/G4MKT-1211", "CALLERID(num)=0") in new stack
-- Executing [41006@iax-client:8] Rpt("IAX2/G4MKT-1211", "41006|P|G4MKT") in new stack
Node Variable dump for node 41006:
XX_RPT_RXKEYED=0
XX_RPT_TXKEYED=0
RPT_NUMLINKS=1
RPT_LINKS=1,TG4MKT
RPT_NUMALINKS=1
RPT_ALINKS=1,G4MKTTU
RPT_TXKEYED=0
RPT_RXKEYED=0
RPT_ETXKEYED=0
RPT_AUTOPATCHUP=0
-- 10 variables
== Spawn extension (iax-client, 41006, 8) exited KEEPALIVE on 'IAX2/G4MKT-1211'
[Jun 19 11:24:52] WARNING[506]: chan_iax2.c:10127 iax2_do_register: REGISTER-LOG: Sending registration request for '41006'
[Jun 19 11:24:52] WARNING[500]: chan_iax2.c:7690 registry_rerequest: REGISTER-LOG: registry rereqquest
-- ast_get_srv: SRV lookup for '_sip._udp.sipgate.co.uk' mapped to host sipgate.co.uk, port 5060
allstar*CLI>
repeater@allstar:~ $

After the initial DVSwitch connect I then sent a *3xxxx connect request to another node number using the DVSwitch keypad and the send button. There was no response in the asterisk output. The background to the command in the DVSwitch UI turned pink on hitting 'Send' - I don't know what that signifies.

Thanks


--
Barry
G4MKT


Steve N4IRS
 

Sorry, a little early and I support a number of programs. I added .log.
Same result with *70 ?

On 6/19/20 6:37 AM, Barry G4MKT via groups.io wrote:
On 19/06/2020 10:50, Steve N4IRS wrote:
Barry,
As far as saving, the free version will not save changes.
Ah OK

Can you post a
section of your messages.log when you send a command?

Steve N4IRS
Hi Steve, Thanks for your speedy reply.
There is no such file as messages.log, however there is /var/log/asterisk/messages which I looked at while trying to send commands from DVSwitch but nothing was reported.
Likewise nothing in /var/log/messages.

Running asterisk the output is as follows when connecting from DVSwitch
-----------------------------------
repeater@allstar:~ $ sudo asterisk -rvvvvvvvvvv

AllStarLink Asterisk Version 1.01 2/13/2018 GIT Version adaec47
Copyright (C) 1999 - 2018 Digium, Inc. Jim Dixon, AllStarLink Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf': Found
Connected to Asterisk GIT Version adaec47 currently running on allstar (pid = 429)
Verbosity was 8 and is now 10
    -- Accepting AUTHENTICATED call from 86.191.77.185:
       > requested format = unknown,
       > requested prefs = (slin|ulaw|adpcm),
       > actual format = ulaw,
       > host prefs = (ulaw|adpcm|gsm),
       > priority = caller
    -- Executing [41006@iax-client:1] Ringing("IAX2/G4MKT-1211", "") in new stack
    -- Executing [41006@iax-client:2] Wait("IAX2/G4MKT-1211", "3") in new stack
    -- Executing [41006@iax-client:3] Answer("IAX2/G4MKT-1211", "") in new stack
    -- Executing [41006@iax-client:4] Set("IAX2/G4MKT-1211", "NODENUM=41006") in new stack
    -- Executing [41006@iax-client:5] Playback("IAX2/G4MKT-1211", "rpt/node|noanswer") in new stack
    -- <IAX2/G4MKT-1211> Playing 'rpt/node' (language 'en')
    -- Executing [41006@iax-client:6] SayDigits("IAX2/G4MKT-1211", "41006") in new stack
    -- <IAX2/G4MKT-1211> Playing 'digits/4' (language 'en')
    -- <IAX2/G4MKT-1211> Playing 'digits/1' (language 'en')
    -- <IAX2/G4MKT-1211> Playing 'digits/0' (language 'en')
    -- <IAX2/G4MKT-1211> Playing 'digits/0' (language 'en')
    -- <IAX2/G4MKT-1211> Playing 'digits/6' (language 'en')
    -- Executing [41006@iax-client:7] Set("IAX2/G4MKT-1211", "CALLERID(num)=0") in new stack
    -- Executing [41006@iax-client:8] Rpt("IAX2/G4MKT-1211", "41006|P|G4MKT") in new stack
Node Variable dump for node 41006:
   XX_RPT_RXKEYED=0
   XX_RPT_TXKEYED=0
   RPT_NUMLINKS=1
   RPT_LINKS=1,TG4MKT
   RPT_NUMALINKS=1
   RPT_ALINKS=1,G4MKTTU
   RPT_TXKEYED=0
   RPT_RXKEYED=0
   RPT_ETXKEYED=0
   RPT_AUTOPATCHUP=0
    -- 10 variables
  == Spawn extension (iax-client, 41006, 8) exited KEEPALIVE on 'IAX2/G4MKT-1211'
[Jun 19 11:24:52] WARNING[506]: chan_iax2.c:10127 iax2_do_register: REGISTER-LOG: Sending registration request for '41006'
[Jun 19 11:24:52] WARNING[500]: chan_iax2.c:7690 registry_rerequest: REGISTER-LOG: registry rereqquest
    -- ast_get_srv: SRV lookup for '_sip._udp.sipgate.co.uk' mapped to host sipgate.co.uk, port 5060
allstar*CLI>
repeater@allstar:~ $

After the initial DVSwitch connect I then sent a *3xxxx connect request to another node number using the DVSwitch keypad and the send button. There was no response in the asterisk output. The background to the command in the DVSwitch UI turned pink on hitting 'Send' - I don't know what that signifies.

Thanks


Steve N4IRS
 

While at the CLI:
rpt debug level 7
send *70 from DVSM

On 6/19/20 6:37 AM, Barry G4MKT via groups.io wrote:
On 19/06/2020 10:50, Steve N4IRS wrote:
Barry,
As far as saving, the free version will not save changes.
Ah OK

Can you post a
section of your messages.log when you send a command?

Steve N4IRS
Hi Steve, Thanks for your speedy reply.
There is no such file as messages.log, however there is /var/log/asterisk/messages which I looked at while trying to send commands from DVSwitch but nothing was reported.
Likewise nothing in /var/log/messages.

Running asterisk the output is as follows when connecting from DVSwitch
-----------------------------------
repeater@allstar:~ $ sudo asterisk -rvvvvvvvvvv

AllStarLink Asterisk Version 1.01 2/13/2018 GIT Version adaec47
Copyright (C) 1999 - 2018 Digium, Inc. Jim Dixon, AllStarLink Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf': Found
Connected to Asterisk GIT Version adaec47 currently running on allstar (pid = 429)
Verbosity was 8 and is now 10
    -- Accepting AUTHENTICATED call from 86.191.77.185:
       > requested format = unknown,
       > requested prefs = (slin|ulaw|adpcm),
       > actual format = ulaw,
       > host prefs = (ulaw|adpcm|gsm),
       > priority = caller
    -- Executing [41006@iax-client:1] Ringing("IAX2/G4MKT-1211", "") in new stack
    -- Executing [41006@iax-client:2] Wait("IAX2/G4MKT-1211", "3") in new stack
    -- Executing [41006@iax-client:3] Answer("IAX2/G4MKT-1211", "") in new stack
    -- Executing [41006@iax-client:4] Set("IAX2/G4MKT-1211", "NODENUM=41006") in new stack
    -- Executing [41006@iax-client:5] Playback("IAX2/G4MKT-1211", "rpt/node|noanswer") in new stack
    -- <IAX2/G4MKT-1211> Playing 'rpt/node' (language 'en')
    -- Executing [41006@iax-client:6] SayDigits("IAX2/G4MKT-1211", "41006") in new stack
    -- <IAX2/G4MKT-1211> Playing 'digits/4' (language 'en')
    -- <IAX2/G4MKT-1211> Playing 'digits/1' (language 'en')
    -- <IAX2/G4MKT-1211> Playing 'digits/0' (language 'en')
    -- <IAX2/G4MKT-1211> Playing 'digits/0' (language 'en')
    -- <IAX2/G4MKT-1211> Playing 'digits/6' (language 'en')
    -- Executing [41006@iax-client:7] Set("IAX2/G4MKT-1211", "CALLERID(num)=0") in new stack
    -- Executing [41006@iax-client:8] Rpt("IAX2/G4MKT-1211", "41006|P|G4MKT") in new stack
Node Variable dump for node 41006:
   XX_RPT_RXKEYED=0
   XX_RPT_TXKEYED=0
   RPT_NUMLINKS=1
   RPT_LINKS=1,TG4MKT
   RPT_NUMALINKS=1
   RPT_ALINKS=1,G4MKTTU
   RPT_TXKEYED=0
   RPT_RXKEYED=0
   RPT_ETXKEYED=0
   RPT_AUTOPATCHUP=0
    -- 10 variables
  == Spawn extension (iax-client, 41006, 8) exited KEEPALIVE on 'IAX2/G4MKT-1211'
[Jun 19 11:24:52] WARNING[506]: chan_iax2.c:10127 iax2_do_register: REGISTER-LOG: Sending registration request for '41006'
[Jun 19 11:24:52] WARNING[500]: chan_iax2.c:7690 registry_rerequest: REGISTER-LOG: registry rereqquest
    -- ast_get_srv: SRV lookup for '_sip._udp.sipgate.co.uk' mapped to host sipgate.co.uk, port 5060
allstar*CLI>
repeater@allstar:~ $

After the initial DVSwitch connect I then sent a *3xxxx connect request to another node number using the DVSwitch keypad and the send button. There was no response in the asterisk output. The background to the command in the DVSwitch UI turned pink on hitting 'Send' - I don't know what that signifies.

Thanks


Steve N4IRS
 

rpt debug level 7

On 6/19/20 6:37 AM, Barry G4MKT via groups.io wrote:
On 19/06/2020 10:50, Steve N4IRS wrote:
Barry,
As far as saving, the free version will not save changes.
Ah OK

Can you post a
section of your messages.log when you send a command?

Steve N4IRS
Hi Steve, Thanks for your speedy reply.
There is no such file as messages.log, however there is /var/log/asterisk/messages which I looked at while trying to send commands from DVSwitch but nothing was reported.
Likewise nothing in /var/log/messages.

Running asterisk the output is as follows when connecting from DVSwitch
-----------------------------------
repeater@allstar:~ $ sudo asterisk -rvvvvvvvvvv

AllStarLink Asterisk Version 1.01 2/13/2018 GIT Version adaec47
Copyright (C) 1999 - 2018 Digium, Inc. Jim Dixon, AllStarLink Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf': Found
Connected to Asterisk GIT Version adaec47 currently running on allstar (pid = 429)
Verbosity was 8 and is now 10
    -- Accepting AUTHENTICATED call from 86.191.77.185:
       > requested format = unknown,
       > requested prefs = (slin|ulaw|adpcm),
       > actual format = ulaw,
       > host prefs = (ulaw|adpcm|gsm),
       > priority = caller
    -- Executing [41006@iax-client:1] Ringing("IAX2/G4MKT-1211", "") in new stack
    -- Executing [41006@iax-client:2] Wait("IAX2/G4MKT-1211", "3") in new stack
    -- Executing [41006@iax-client:3] Answer("IAX2/G4MKT-1211", "") in new stack
    -- Executing [41006@iax-client:4] Set("IAX2/G4MKT-1211", "NODENUM=41006") in new stack
    -- Executing [41006@iax-client:5] Playback("IAX2/G4MKT-1211", "rpt/node|noanswer") in new stack
    -- <IAX2/G4MKT-1211> Playing 'rpt/node' (language 'en')
    -- Executing [41006@iax-client:6] SayDigits("IAX2/G4MKT-1211", "41006") in new stack
    -- <IAX2/G4MKT-1211> Playing 'digits/4' (language 'en')
    -- <IAX2/G4MKT-1211> Playing 'digits/1' (language 'en')
    -- <IAX2/G4MKT-1211> Playing 'digits/0' (language 'en')
    -- <IAX2/G4MKT-1211> Playing 'digits/0' (language 'en')
    -- <IAX2/G4MKT-1211> Playing 'digits/6' (language 'en')
    -- Executing [41006@iax-client:7] Set("IAX2/G4MKT-1211", "CALLERID(num)=0") in new stack
    -- Executing [41006@iax-client:8] Rpt("IAX2/G4MKT-1211", "41006|P|G4MKT") in new stack
Node Variable dump for node 41006:
   XX_RPT_RXKEYED=0
   XX_RPT_TXKEYED=0
   RPT_NUMLINKS=1
   RPT_LINKS=1,TG4MKT
   RPT_NUMALINKS=1
   RPT_ALINKS=1,G4MKTTU
   RPT_TXKEYED=0
   RPT_RXKEYED=0
   RPT_ETXKEYED=0
   RPT_AUTOPATCHUP=0
    -- 10 variables
  == Spawn extension (iax-client, 41006, 8) exited KEEPALIVE on 'IAX2/G4MKT-1211'
[Jun 19 11:24:52] WARNING[506]: chan_iax2.c:10127 iax2_do_register: REGISTER-LOG: Sending registration request for '41006'
[Jun 19 11:24:52] WARNING[500]: chan_iax2.c:7690 registry_rerequest: REGISTER-LOG: registry rereqquest
    -- ast_get_srv: SRV lookup for '_sip._udp.sipgate.co.uk' mapped to host sipgate.co.uk, port 5060
allstar*CLI>
repeater@allstar:~ $

After the initial DVSwitch connect I then sent a *3xxxx connect request to another node number using the DVSwitch keypad and the send button. There was no response in the asterisk output. The background to the command in the DVSwitch UI turned pink on hitting 'Send' - I don't know what that signifies.

Thanks


Barry G4MKT
 

On 19/06/2020 12:24, Steve N4IRS wrote:
 rpt debug level 7
On sending *70 I see:

[Jun 19 13:15:35] NOTICE[858]: app_rpt.c:13091 collect_function_digits: digits=7 source=3
[Jun 19 13:15:40] NOTICE[858]: app_rpt.c:20332 rpt: @@@@ node 41006 sent node string L to node G4MKT
[Jun 19 13:15:52] NOTICE[858]: app_rpt.c:20332 rpt: @@@@ node 41006 sent node string L to node G4MKT

Sending a *3xxxx changes the digits=7 to digits=3 the rest is the same.

I paid and now the macros are saved :)


--
Barry
G4MKT


Steve N4IRS
 

Barry,
Please show me the following snips:
iax.conf
[G4MKT]

extensions.conf
the context pointed to from above

rpt.conf:
The [41006] stanza

Steve

On 6/19/2020 8:21 AM, Barry G4MKT via groups.io wrote:
On 19/06/2020 12:24, Steve N4IRS wrote:
  rpt debug level 7
On sending *70 I see:

[Jun 19 13:15:35] NOTICE[858]: app_rpt.c:13091 collect_function_digits: digits=7  source=3
[Jun 19 13:15:40] NOTICE[858]: app_rpt.c:20332 rpt: @@@@ node 41006 sent node string L  to node G4MKT
[Jun 19 13:15:52] NOTICE[858]: app_rpt.c:20332 rpt: @@@@ node 41006 sent node string L  to node G4MKT

Sending a *3xxxx changes the digits=7 to digits=3 the rest is the same.

I paid and now the macros are saved :)


Barry G4MKT
 

On 19/06/2020 13:42, Steve N4IRS wrote:
Barry,
Please show me the following snips:
iax.conf
[G4MKT]
[G4MKT]
type = friend
context = iax-client
auth = md5
secret = xxxxx ;removed only for posting
host = dynamic
disallow = all
allow = ulaw
allow = adpcm
allow = gsm
transfer = no
codecpriority = Caller

extensions.conf
the context pointed to from above
[iax-client] ; for IAX VIOP clients.
exten => ${NODE},1,Ringing
exten => ${NODE},n,Wait(3)
exten => ${NODE},n,Answer
exten => ${NODE},n,Set(NODENUM=${CALLERID(number)})
exten => ${NODE},n,Playback(rpt/node|noanswer)
exten => ${NODE},n,SayDigits(${EXTEN})
exten => ${NODE},n,Set(CALLERID(num)=0)
exten => ${NODE},n,Rpt,${NODE}|P|${CALLERID(name)}
exten => ${NODE},n,Hangup
exten => ${NODE},n(hangit),Answer
exten => ${NODE},n(hangit),Wait(1)
exten => ${NODE},n(hangit),Hangup


rpt.conf:
The [41006] stanza
[41006]
rxchannel = SimpleUSB/usb_41006
duplex = 1
linktolink = no
linkmongain = 0
erxgain = -3
etxgain = 3
scheduler = schedule
functions = functions41006
phone_functions = functions
link_functions = functions
telemetry = telemetry
morse = morse
wait_times = wait-times
context = radio
callerid = "Repeater" <0000000000>
accountcode = RADIO
hangtime = 100
althangtime = 0
totime = 9000000
idtime = 540000
politeid = 30000
unlinkedct = ct2
remotect = ct3
linkunkeyct = ct8
holdofftelem = 1
telemdefault = 0
telemdynamic = 1
parrotmode = 0
parrottime = 1000
startup_macro =
events=events41006
statpost_program = /usr/bin/wget,-q,--timeout=15,--tries=1,--output-document=/dev/null
statpost_url = http://stats.allstarlink.org/uhandler.php

(I stripped all comments from it make it more readable)


--
Barry
G4MKT


Steve N4IRS
 

So far, I see nothing wrong.
Please show the functions and functions41006 stanzas.

On 6/19/2020 10:00 AM, Barry G4MKT via groups.io wrote:
On 19/06/2020 13:42, Steve N4IRS wrote:
Barry,
Please show me the following snips:
iax.conf
[G4MKT]
[G4MKT]
type = friend
context = iax-client
auth = md5
secret = xxxxx ;removed only for posting
host = dynamic
disallow = all
allow = ulaw
allow = adpcm
allow = gsm
transfer = no
codecpriority = Caller

extensions.conf
the context pointed to from above
[iax-client]                            ; for IAX VIOP clients.
exten => ${NODE},1,Ringing
exten => ${NODE},n,Wait(3)
exten => ${NODE},n,Answer
exten => ${NODE},n,Set(NODENUM=${CALLERID(number)})
exten => ${NODE},n,Playback(rpt/node|noanswer)
exten => ${NODE},n,SayDigits(${EXTEN})
exten => ${NODE},n,Set(CALLERID(num)=0)
exten => ${NODE},n,Rpt,${NODE}|P|${CALLERID(name)}
exten => ${NODE},n,Hangup
exten => ${NODE},n(hangit),Answer
exten => ${NODE},n(hangit),Wait(1)
exten => ${NODE},n(hangit),Hangup


rpt.conf:
The [41006] stanza
[41006]
rxchannel = SimpleUSB/usb_41006
duplex = 1
linktolink = no
linkmongain = 0
erxgain = -3
etxgain = 3
scheduler = schedule
functions = functions41006
phone_functions = functions
link_functions = functions
telemetry = telemetry
morse = morse
wait_times = wait-times
context = radio
callerid = "Repeater" <0000000000>
accountcode = RADIO
hangtime = 100
althangtime = 0
totime = 9000000
idtime = 540000
politeid = 30000
unlinkedct = ct2
remotect = ct3
linkunkeyct = ct8
holdofftelem = 1
telemdefault = 0
telemdynamic = 1
parrotmode = 0
parrottime = 1000
startup_macro =
events=events41006
statpost_program = /usr/bin/wget,-q,--timeout=15,--tries=1,--output-document=/dev/null
statpost_url = http://stats.allstarlink.org/uhandler.php

(I stripped all comments from it make it more readable)


Barry G4MKT
 

There is no actual functions stanza but:

functions = functions41006 ; Repeater Function stanza
phone_functions = functions ; Phone Function stanza
link_functions = functions ; Link Function stanza

and

[functions41006]
1 = ilink,1
2 = ilink,2
3 = ilink,3
4 = ilink,4
70 = ilink,5
99 = cop,6
73 = ilink,6
77 = ilink,16
83 = cmd,/usr/local/sbin/nodestats.sh 41006
5 = macro
61 = autopatchup,noct = 1,farenddisconnect = 1,dialtime = 20000
62 = autopatchdn

83 = /usr/local/sbin/nodestats.sh
721 = status,1
722 = status,2
723 = status,3
724 = status,4
725 = status,5
711 = status,11
712 = status,12
806 = ilink,6
807 = ilink,7
808 = ilink,8
809 = ilink,9,41006,"Testing"
810 = ilink,10
811 = ilink,11
812 = ilink,12
813 = ilink,13
815 = ilink,15
816 = ilink,16
817 = ilink,17
818 = ilink 18
901 = cop,1
902 = cop,2
903 = cop,3
904 = cop,4
905 = cop,5
907 = cop,7
908 = cop,8
909 = cop,9
910 = cop,10
911 = cop,11
912 = cop,12
913 = cop,13
914 = cop,14
915 = cop,15
916 = cop,16
917 = cop,17
918 = cop,18
919 = cop,19
920 = cop,20
921 = cop,21
922 = cop,22
923 = cop,23
924 = cop,24
925 = cop,25
926 = cop,26
927 = cop,27
928 = cop,28
930 = cop,30
931 = cop,31
932 = cop,32
933 = cop,33
934 = cop,34
935 = cop,35
936 = cop,36
937 = cop,37
938 = cop,38
939 = cop,39
942 = cop,42
943 = cop,43
944 = cop,44
945 = cop,45
945 = cop,46
947 = cop,47
948 = cop,48
949 = cop,49
950 = cop,50
951 = cop,51
952 = cop,52
953 = cop,53
954 = cop,54
955 = cop,55
956 = cop,56
957 = cop,57
958 = cop.58
959 = cop,59
960 = cop,60
961 = cop,61
962 = cop,62
963 = cop,63
964 = cop,64
965 = cop,65
[functions-remote]
0 = remote,1
1 = remote,2
2 = remote,3
3 = remote,4
40 = remote,100
41 = remote,101
42 = remote,102
43 = remote,103
44 = remote,104
45 = remote,105
46 = remote,106
711 = remote,107
714 = remote,108
717 = remote,109
713 = remote,110
716 = remote,111
719 = remote,112
721 = remote,113
724 = remote,114
727 = remote,115
723 = remote,116
726 = remote,117
729 = remote,118
79 = remote,119
51 = remote,5
52 = remote,140
67 = remote,210
69 = remote,211

85 = cop,6


Ignore 83 (nodestats.sh) it's a script of mine that reports status of certain stations

--
Barry
G4MKT


Steve N4IRS
 

Set phone_functions = functions41006

functions = functions41006 ; Repeater Function stanza
phone_functions = functions ; Phone Function stanza

On 6/19/2020 10:59 AM, Barry G4MKT via groups.io wrote:
There is no actual functions stanza but:

functions = functions41006 ; Repeater Function stanza
phone_functions = functions ; Phone Function stanza
link_functions = functions ; Link Function stanza

and

[functions41006]
1 = ilink,1
2 = ilink,2
3 = ilink,3
4 = ilink,4
70 = ilink,5
99 = cop,6
73 = ilink,6
77 = ilink,16
83 = cmd,/usr/local/sbin/nodestats.sh 41006
5 = macro
61 = autopatchup,noct = 1,farenddisconnect = 1,dialtime = 20000
62 = autopatchdn

83 = /usr/local/sbin/nodestats.sh
721 = status,1
722 = status,2
723 = status,3
724 = status,4
725 = status,5
711 = status,11
712 = status,12
806 = ilink,6
807 = ilink,7
808 = ilink,8
809 = ilink,9,41006,"Testing"
810 = ilink,10
811 = ilink,11
812 = ilink,12
813 = ilink,13
815 = ilink,15
816 = ilink,16
817 = ilink,17
818 = ilink 18
901 = cop,1
902 = cop,2
903 = cop,3
904 = cop,4
905 = cop,5
907 = cop,7
908 = cop,8
909 = cop,9
910 = cop,10
911 = cop,11
912 = cop,12
913 = cop,13
914 = cop,14
915 = cop,15
916 = cop,16
917 = cop,17
918 = cop,18
919 = cop,19
920 = cop,20
921 = cop,21
922 = cop,22
923 = cop,23
924 = cop,24
925 = cop,25
926 = cop,26
927 = cop,27
928 = cop,28
930 = cop,30
931 = cop,31
932 = cop,32
933 = cop,33
934 = cop,34
935 = cop,35
936 = cop,36
937 = cop,37
938 = cop,38
939 = cop,39
942 = cop,42
943 = cop,43
944 = cop,44
945 = cop,45
945 = cop,46
947 = cop,47
948 = cop,48
949 = cop,49
950 = cop,50
951 = cop,51
952 = cop,52
953 = cop,53
954 = cop,54
955 = cop,55
956 = cop,56
957 = cop,57
958 = cop.58
959 = cop,59
960 = cop,60
961 = cop,61
962 = cop,62
963 = cop,63
964 = cop,64
965 = cop,65
[functions-remote]
0 = remote,1
1 = remote,2
2 = remote,3
3 = remote,4
40 = remote,100
41 = remote,101
42 = remote,102
43 = remote,103
44 = remote,104
45 = remote,105
46 = remote,106
711 = remote,107
714 = remote,108
717 = remote,109
713 = remote,110
716 = remote,111
719 = remote,112
721 = remote,113
724 = remote,114
727 = remote,115
723 = remote,116
726 = remote,117
729 = remote,118
79 = remote,119
51 = remote,5
52 = remote,140
67 = remote,210
69 = remote,211

85 = cop,6


Ignore 83 (nodestats.sh) it's a script of mine that reports status of certain stations


Barry G4MKT
 

Hi Steve,
Are you saying that the assignments won't work the way they are?

As I see it if functions = functions41006 and phone_functions = functions then
phone_functions = functions41006

However I have no idea how asterisk parses the config so I will take your word for it :)

I will try assigning it directly.

--
Barry
G4MKT


Steve N4IRS
 

I don't THINK that will parse, I have never tried. I see your logic....

On 6/19/2020 12:36 PM, Barry G4MKT via groups.io wrote:
Hi Steve,
Are you saying that the assignments won't work the way they are?

As I see it if functions = functions41006 and phone_functions = functions then
phone_functions = functions41006

However I have no idea how asterisk parses the config so I will take your word for it :)

I will try assigning it directly.


Barry G4MKT
 

You are quite correct, it's now working, thanks for your perseverance!

I'm not sure where that structure came from, it might have been me, but I doubt it.
More likely it was in the original image, anyway it's academic now!

I owe you a beer - cheers :)
--
Barry
G4MKT


Steve N4IRS
 

Happy to help.
Since I built the original structure for ASL 1.01 I can tell you my thought process.
I wanted to make the sample config as simple as possible. With that in mind, I pointed the 3 entries at the same stanza.

functions = functions                 ; Repeater Function stanza
phone_functions = functions    ; Phone Function stanza
link_functions = functions           ; Link Function stanza

My expectation was that if someone wanted separate function stanzas, they would copy [functions]

Hope that helps,
73, Steve N4IRS

On 6/19/2020 1:02 PM, Barry G4MKT via groups.io wrote:
You are quite correct, it's now working, thanks for your perseverance!

I'm not sure where that structure came from, it might have been me, but I doubt it.
More likely it was in the original image, anyway it's academic now!

I owe you a beer - cheers :)


Barry G4MKT
 

Ah - I see.
I obviously added the 41006 to the first one, and then later looked at it and saw the above logic that I assumed was correct!

Thanks for the explanation. :)
--
Barry
G4MKT