DTMF Command / Rpt Fun Commands

Hello,

New to Allstar. I just set up a node on a ESXI host running a debian 9 VM. I’m using a modified CM108AH. I finally was able to get the CM108 talking to the VM and have ran through the simpleusb tune and all seems fine except; I can’t connect to any nodes using dtmf. When in the asterisk CLI, the DTMF commands sent via the radio all show up correctly however nothing happens. I have tried running the rpt fun commands in the asterisk cli and the system seems to accept them but nothing happens.

I have reviewed all of the config files and searched the forum but can’t seem to come up with anything.

What could I be missing? I suspect it’s something I have overlooked but I can’t seem to find it.

Any help / suggestions would be greatly appreciated!

Jim

Check if your node is registered with iax2 show registry Asterisk CLI. Also check if you are receiving the latest nodes list with tail /var/lib/asterisk/rpt_extnodes.

Yes, it’s showing registered.

Here is the output from tail /var/lib/asterisk/rpt_extnodes
repeater@merlin:~$ sudo tail /var/lib/asterisk/rpt_extnodes
[sudo] password for repeater:
542591=radio@107.191.45.44:4568/542591,107.191.45.44
542740=radio@167.179.95.73:4569/542740,167.179.95.73
542741=radio@45.32.249.17:4569/542741,45.32.249.17

;Generated 5593 records in 0.136 seconds.
;Served in 0.012 seconds.
;Served from cache: Yes
;Generated at 2021-03-29 23:19:31 UTC by f0537a4b8c66

Thank you…

Jim

Good so far. What is the node number you are attempting to connect to? You using DTMF *3<NodeNum> to connect, correct?

I have attempted several nodes. 50795 was the last. I’m using asterisk cli- rpt fun 54124 *350795 but nothing happens. I’ve tried rpt fun 54124 *80 and nothing… I ssh’d into node 50795 and sent the same command to 54124 and received a message that the connection failed.

I can seem to find any more reference to how it asl works and how all of the config files interact. It seems to me that there is a lot of documentation missing regarding how things work? Maybe just me…

Where else can I look?

Thanks for your help!!

Have you arranged port forwarding for your VM?

https://wiki.allstarlink.org/wiki/Troubleshooting#Cannot_Receive_Connections_or_Make_Connections_to_Other_Allstar_Nodes

Ken

Yes, port forwarding and registration all looks good.

Here is some more info:

I enabled logging and tried to connect to another node. This is what I get:

merlin*CLI> rpt fun 54124 *350795
[Mar 30 14:26:51] NOTICE[4785]: app_rpt.c:4452 cancel_pfxtone: cancel_pfxfone!![Mar 30 14:26:51] NOTICE[4785]: app_rpt.c:4452 can
cel_pfxtone: cancel_pfxfone!![Mar 30 14:26:52] NOTICE[4785]: app_rpt.c:4452 cancel_pfxtone: cancel_pfxfone!![Mar 30 14:26:52] NOT
ICE[4785]: app_rpt.c:4452 cancel_pfxtone: cancel_pfxfone!![Mar 30 14:26:52] NOTICE[4785]: app_rpt.c:4452 cancel_pfxtone: cancel_p
fxfone!![Mar 30 14:26:52] NOTICE[4785]: app_rpt.c:4452 cancel_pfxtone: cancel_pfxfone!![Mar 30 14:26:56] NOTICE[4785]: app_rpt.c:
4452 cancel_pfxtone: cancel_pfxfone!!

And this:
merlin*CLI> rpt fun 54124 *80
[Mar 30 14:38:43] NOTICE[4785]: app_rpt.c:4452 cancel_pfxtone: cancel_pfxfone!![Mar 30 14:38:43] NOTICE[4785]: app_rpt.c:13091 co
llect_function_digits: digits=8 source=0
[Mar 30 14:38:43] NOTICE[4785]: app_rpt.c:4452 cancel_pfxtone: cancel_pfxfone!![Mar 30 14:38:43] NOTICE[4785]: app_rpt.c:13091 co
llect_function_digits: digits=80 source=0
[Mar 30 14:38:47] NOTICE[4785]: app_rpt.c:4452 cancel_pfxtone: cancel_pfxfone!![Mar 30 14:39:00] NOTICE[4785]: app_rpt.c:19047 do
_scheduler: Time now: 14:39 30 03 02

I googled “cancel_pfxtone” and see results on HamVoIP, DVSwitch and here on Community. I did not read much of it as the noise level is too high for my pea brain. Try that yourself and see if you can make any sense of it. I can’t.

Yes, I did, could get much out of it. I not sure what to think about it. In fact I joined the DVswitch group too. I wish I could find more info in what in happening in the background. I’ll keep looking. This is an ASL version. Not sure how HamVoIP plays into it. Again, I’m just new to this…

You can ignore the cancel_pfxtone.
Let’s step back one level.
What is the result of rpt cmd ilink 3 2000

Steve N4IRS

Steve,

This is what I got:
merlin*CLI> rpt cmd ilink 3 2000
Usage: rpt cmd
Send a command to a node.

Did I miss something in the syntax?

well the pasted text is not coming through…

Here is a slight modification removing some of the carets

merlin*CLI> rpt cmd ilink 3 2000 Usage: rpt cmd …nodename…cmd-name…cmd-index…cmd-args>
Send a command to a node.

I tried this command again this am
rpt fun 54124 *3507995

From the log:

[Mar 31 07:37:43] NOTICE[23886]: app_rpt.c:4452 cancel_pfxtone: cancel_pfxf
one!![Mar 31 07:37:43] NOTICE[23886]: app_rpt.c:13091 collect_function_digi
ts: digits=3507 source=0
[Mar 31 07:37:43] NOTICE[23886]: app_rpt.c:13163 collect_function_digits: r
v=0
[Mar 31 07:37:43] NOTICE[23886]: app_rpt.c:4452 cancel_pfxtone: cancel_pfxf
one!![Mar 31 07:37:43] NOTICE[23886]: app_rpt.c:13091 collect_function_digi
ts: digits=35079 source=0
[Mar 31 07:37:43] NOTICE[23886]: app_rpt.c:13163 collect_function_digits: r
v=0
[Mar 31 07:37:43] NOTICE[23886]: app_rpt.c:4452 cancel_pfxtone: cancel_pfxf
one!![Mar 31 07:37:43] NOTICE[23886]: app_rpt.c:13091 collect_function_digi
ts: digits=350795 source=0
[Mar 31 07:37:43] NOTICE[23886]: app_rpt.c:13163 collect_function_digits: r
v=0

To paste text put 3 single quotes on a line by themself. Then past your text. Then put 3 single quotes after the pasted text on a line by themself.

This it the
text I want to 
paste.

See attached screen capture.

Thanks Tim! I wondered how to do that!

The ilink should look like this. Replace 2504 with your node number.

rpt cmd 2504 ilink 3 2000

Example:

Hey! It connected!! using rpt cmd!!

And confirm rpt fun 2504 *32000 will not connect? If that the case something is wrong with the [functions] stanza or pointer to it.