K2IE
July 3, 2024, 7:48pm
1
Does anyone have autopatch working with ASL 3.0?
If so, would you please share some config info?
This is something that worked fine with the 2.0 Beta but I have been running into various issues, which I’ll enumerate later, once I hear that anyone has it working.
N8RAW
July 16, 2024, 3:28pm
2
I think the autopatch call is broken in ASL3.
opened 12:48PM - 22 Dec 23 UTC
bug
I am trying to setup the autopatch function. The call is placed; however, the r… epeater does not repeat any audio. The repeater stops working. You cannot bring it up after the call starts. A core restart now is required to gain access to the repeater.
Debugging information. (I masked the telephone number and user name) (rpt debug set to 7, verbose set to 7, iax debug on)
```
wa4tal*CLI> rpt fun 59916 *612569999999
-- Executing [2569999999@autopatch:1] Dial("DAHDI/pseudo-1445056746", "IAX2/voipms/2569999999") in new stack
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
Timestamp: 00014ms SCall: 05103 DCall: 00000 208.100.60.17:4569
VERSION : 2
CALLED NUMBER : 2569999999
CODEC_PREFS : (ulaw|g726aal2|gsm)
CALLING NUMBER : 0000000000
CALLING PRESNTN : 0
CALLING TYPEOFN : 0
CALLING TRANSIT : 0
CALLING ANI2 : 0
CALLING NAME : Repeater
LANGUAGE : en
USERNAME : 999999_444525
-- Called IAX2/voipms/2569999999
FORMAT : 4
FORMAT2 : ulaw
CAPABILITY : 22
CAPABILITY2 : Unknown
ADSICPE : 2
DATE TIME : 2023-12-22 06:35:42
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: CTOKEN
Timestamp: 00014ms SCall: 00001 DCall: 05103 208.100.60.17:4569
CALLTOKEN : 51 bytes
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
Timestamp: 00049ms SCall: 05103 DCall: 00000 208.100.60.17:4569
VERSION : 2
CALLED NUMBER : 2569999999
CODEC_PREFS : (ulaw|g726aal2|gsm)
CALLING NUMBER : 0000000000
CALLING PRESNTN : 0
CALLING TYPEOFN : 0
CALLING TRANSIT : 0
CALLING ANI2 : 0
CALLING NAME : Repeater
LANGUAGE : en
USERNAME : 999999_444525
FORMAT : 4
FORMAT2 : ulaw
CAPABILITY : 22
CAPABILITY2 : Unknown
ADSICPE : 2
DATE TIME : 2023-12-22 06:35:42
CALLTOKEN : 51 bytes
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: AUTHREQ
Timestamp: 00004ms SCall: 13562 DCall: 05103 208.100.60.17:4569
AUTHMETHODS : 3
CHALLENGE : \x31\x36\x36\x30\x33\x30\x39\x30\x38
USERNAME : 999999_444525
Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: AUTHREP
Timestamp: 00083ms SCall: 05103 DCall: 13562 208.100.60.17:4569
MD5 RESULT : 7678b919bdb8325912b412aa9cb2ec3f
Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: ACCEPT
Timestamp: 00038ms SCall: 13562 DCall: 05103 208.100.60.17:4569
FORMAT : 4
FORMAT2 : ulaw
-- Call accepted by 208.100.60.17:4569 (format ulaw)
-- Format for call is (ulaw)
Tx-Frame Retry[-01] -- OSeqno: 002 ISeqno: 002 Type: IAX Subclass: ACK
Timestamp: 00038ms SCall: 05103 DCall: 13562 208.100.60.17:4569
Tx-Frame Retry[000] -- OSeqno: 002 ISeqno: 002 Type: VOICE Subclass: 4
Timestamp: 00140ms SCall: 05103 DCall: 13562 208.100.60.17:4569
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 003 Type: IAX Subclass: ACK
Timestamp: 00140ms SCall: 13562 DCall: 05103 208.100.60.17:4569
-- <DAHDI/pseudo-1073298576> Playing 'rpt/callproceeding.gsm' (language 'en')
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 003 Type: CONTROL Subclass: PROGRES
Timestamp: 05331ms SCall: 13562 DCall: 05103 208.100.60.17:4569
Tx-Frame Retry[-01] -- OSeqno: 003 ISeqno: 003 Type: IAX Subclass: ACK
Timestamp: 05331ms SCall: 05103 DCall: 13562 208.100.60.17:4569
Rx-Frame Retry[ No] -- OSeqno: 003 ISeqno: 003 Type: VOICE Subclass: 4
Timestamp: 05341ms SCall: 13562 DCall: 05103 208.100.60.17:4569
Tx-Frame Retry[-01] -- OSeqno: 003 ISeqno: 004 Type: IAX Subclass: ACK
Timestamp: 05341ms SCall: 05103 DCall: 13562 208.100.60.17:4569
Rx-Frame Retry[ No] -- OSeqno: 004 ISeqno: 003 Type: CONTROL Subclass: PROGRES
Timestamp: 05344ms SCall: 13562 DCall: 05103 208.100.60.17:4569
Tx-Frame Retry[-01] -- OSeqno: 003 ISeqno: 005 Type: IAX Subclass: ACK
Timestamp: 05344ms SCall: 05103 DCall: 13562 208.100.60.17:4569
Rx-Frame Retry[ No] -- OSeqno: 005 ISeqno: 003 Type: CONTROL Subclass: ANSWER
Timestamp: 05347ms SCall: 13562 DCall: 05103 208.100.60.17:4569
Tx-Frame Retry[-01] -- OSeqno: 003 ISeqno: 006 Type: IAX Subclass: ACK
Timestamp: 05347ms SCall: 05103 DCall: 13562 208.100.60.17:4569
Rx-Frame Retry[ No] -- OSeqno: 006 ISeqno: 003 Type: CONTROL Subclass: (255?)
Timestamp: 05350ms SCall: 13562 DCall: 05103 208.100.60.17:4569
Tx-Frame Retry[-01] -- OSeqno: 003 ISeqno: 007 Type: IAX Subclass: ACK
Timestamp: 05350ms SCall: 05103 DCall: 13562 208.100.60.17:4569
-- IAX2/voipms-5103 is making progress passing it to DAHDI/pseudo-1445056746
-- IAX2/voipms-5103 is making progress passing it to DAHDI/pseudo-1445056746
-- IAX2/voipms-5103 answered DAHDI/pseudo-1445056746
-- Channel IAX2/voipms-5103 joined 'simple_bridge' basic-bridge <714bddc7-b9a4-4dda-bd3a-bce9178c6dd8>
-- Channel DAHDI/pseudo-1445056746 joined 'simple_bridge' basic-bridge <714bddc7-b9a4-4dda-bd3a-bce9178c6dd8>
Tx-Frame Retry[000] -- OSeqno: 003 ISeqno: 007 Type: IAX Subclass: LAGRQ
Timestamp: 10016ms SCall: 05103 DCall: 13562 208.100.60.17:4569
Rx-Frame Retry[ No] -- OSeqno: 007 ISeqno: 004 Type: IAX Subclass: LAGRP
Timestamp: 10016ms SCall: 13562 DCall: 05103 208.100.60.17:4569
Tx-Frame Retry[-01] -- OSeqno: 004 ISeqno: 008 Type: IAX Subclass: ACK
Timestamp: 10016ms SCall: 05103 DCall: 13562 208.100.60.17:4569
Rx-Frame Retry[ No] -- OSeqno: 008 ISeqno: 004 Type: IAX Subclass: LAGRQ
Timestamp: 10004ms SCall: 13562 DCall: 05103 208.100.60.17:4569
Tx-Frame Retry[000] -- OSeqno: 004 ISeqno: 009 Type: IAX Subclass: LAGRP
Timestamp: 10004ms SCall: 05103 DCall: 13562 208.100.60.17:4569
Rx-Frame Retry[ No] -- OSeqno: 009 ISeqno: 005 Type: IAX Subclass: ACK
Timestamp: 10004ms SCall: 13562 DCall: 05103 208.100.60.17:4569
Tx-Frame Retry[000] -- OSeqno: 005 ISeqno: 009 Type: IAX Subclass: LAGRQ
Timestamp: 20016ms SCall: 05103 DCall: 13562 208.100.60.17:4569
Rx-Frame Retry[ No] -- OSeqno: 009 ISeqno: 006 Type: IAX Subclass: LAGRP
Timestamp: 20016ms SCall: 13562 DCall: 05103 208.100.60.17:4569
Tx-Frame Retry[-01] -- OSeqno: 006 ISeqno: 010 Type: IAX Subclass: ACK
Timestamp: 20016ms SCall: 05103 DCall: 13562 208.100.60.17:4569
Rx-Frame Retry[ No] -- OSeqno: 010 ISeqno: 006 Type: IAX Subclass: LAGRQ
Timestamp: 20004ms SCall: 13562 DCall: 05103 208.100.60.17:4569
Tx-Frame Retry[000] -- OSeqno: 006 ISeqno: 011 Type: IAX Subclass: LAGRP
Timestamp: 20004ms SCall: 05103 DCall: 13562 208.100.60.17:4569
Rx-Frame Retry[ No] -- OSeqno: 011 ISeqno: 007 Type: IAX Subclass: ACK
Timestamp: 20004ms SCall: 13562 DCall: 05103 208.100.60.17:4569
Tx-Frame Retry[000] -- OSeqno: 007 ISeqno: 011 Type: IAX Subclass: PING
Timestamp: 21016ms SCall: 05103 DCall: 13562 208.100.60.17:4569
Rx-Frame Retry[ No] -- OSeqno: 011 ISeqno: 008 Type: IAX Subclass: PONG
Timestamp: 21016ms SCall: 13562 DCall: 05103 208.100.60.17:4569
RR_JITTER : 0
RR_LOSS : 0
RR_PKTS : 1
RR_DELAY : 40
RR_DROPPED : 0
RR_OUTOFORDER : 0
Tx-Frame Retry[-01] -- OSeqno: 008 ISeqno: 012 Type: IAX Subclass: ACK
Timestamp: 21016ms SCall: 05103 DCall: 13562 208.100.60.17:4569
Rx-Frame Retry[ No] -- OSeqno: 012 ISeqno: 008 Type: IAX Subclass: PING
Timestamp: 21004ms SCall: 13562 DCall: 05103 208.100.60.17:4569
Tx-Frame Retry[000] -- OSeqno: 008 ISeqno: 013 Type: IAX Subclass: PONG
Timestamp: 21004ms SCall: 05103 DCall: 13562 208.100.60.17:4569
RR_JITTER : 2
RR_LOSS : 0
RR_PKTS : 788
RR_DELAY : 42
RR_DROPPED : 0
RR_OUTOFORDER : 0
Rx-Frame Retry[ No] -- OSeqno: 013 ISeqno: 009 Type: IAX Subclass: ACK
Timestamp: 21004ms SCall: 13562 DCall: 05103 208.100.60.17:4569
Tx-Frame Retry[000] -- OSeqno: 009 ISeqno: 013 Type: IAX Subclass: LAGRQ
Timestamp: 30017ms SCall: 05103 DCall: 13562 208.100.60.17:4569
Rx-Frame Retry[ No] -- OSeqno: 013 ISeqno: 010 Type: IAX Subclass: LAGRP
Timestamp: 30017ms SCall: 13562 DCall: 05103 208.100.60.17:4569
Tx-Frame Retry[-01] -- OSeqno: 010 ISeqno: 014 Type: IAX Subclass: ACK
Timestamp: 30017ms SCall: 05103 DCall: 13562 208.100.60.17:4569
Rx-Frame Retry[ No] -- OSeqno: 014 ISeqno: 010 Type: IAX Subclass: LAGRQ
Timestamp: 30003ms SCall: 13562 DCall: 05103 208.100.60.17:4569
Tx-Frame Retry[000] -- OSeqno: 010 ISeqno: 015 Type: IAX Subclass: LAGRP
Timestamp: 30003ms SCall: 05103 DCall: 13562 208.100.60.17:4569
Rx-Frame Retry[ No] -- OSeqno: 015 ISeqno: 011 Type: IAX Subclass: ACK
Timestamp: 30003ms SCall: 13562 DCall: 05103 208.100.60.17:4569
Tx-Frame Retry[000] -- OSeqno: 011 ISeqno: 015 Type: IAX Subclass: LAGRQ
Timestamp: 40017ms SCall: 05103 DCall: 13562 208.100.60.17:4569
Rx-Frame Retry[ No] -- OSeqno: 015 ISeqno: 012 Type: IAX Subclass: LAGRP
Timestamp: 40017ms SCall: 13562 DCall: 05103 208.100.60.17:4569
Tx-Frame Retry[-01] -- OSeqno: 012 ISeqno: 016 Type: IAX Subclass: ACK
Timestamp: 40017ms SCall: 05103 DCall: 13562 208.100.60.17:4569
Rx-Frame Retry[ No] -- OSeqno: 016 ISeqno: 012 Type: IAX Subclass: LAGRQ
Timestamp: 40003ms SCall: 13562 DCall: 05103 208.100.60.17:4569
Tx-Frame Retry[000] -- OSeqno: 012 ISeqno: 017 Type: IAX Subclass: LAGRP
Timestamp: 40003ms SCall: 05103 DCall: 13562 208.100.60.17:4569
Rx-Frame Retry[ No] -- OSeqno: 017 ISeqno: 013 Type: IAX Subclass: ACK
Timestamp: 40003ms SCall: 13562 DCall: 05103 208.100.60.17:4569
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ
Timestamp: 00003ms SCall: 02474 DCall: 00000 208.100.60.17:4569
USERNAME : 999999_444525
REFRESH : 60
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: CTOKEN
Timestamp: 00003ms SCall: 00001 DCall: 02474 208.100.60.17:4569
CALLTOKEN : 51 bytes
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ
Timestamp: 00038ms SCall: 02474 DCall: 00000 208.100.60.17:4569
USERNAME : 999999_444525
REFRESH : 60
CALLTOKEN : 51 bytes
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH
Timestamp: 00014ms SCall: 10823 DCall: 02474 208.100.60.17:4569
AUTHMETHODS : 3
CHALLENGE : \x31\x39\x36\x36\x32\x33\x38\x38\x31
USERNAME : 999999_444525
Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: REGREQ
Timestamp: 00073ms SCall: 02474 DCall: 10823 208.100.60.17:4569
USERNAME : 999999_444525
REFRESH : 60
MD5 RESULT : 77474896437634f2fdc11e85ab1b2f3f
Tx-Frame Retry[000] -- OSeqno: 013 ISeqno: 017 Type: IAX Subclass: PING
Timestamp: 42017ms SCall: 05103 DCall: 13562 208.100.60.17:4569
Rx-Frame Retry[ No] -- OSeqno: 017 ISeqno: 014 Type: IAX Subclass: PONG
Timestamp: 42017ms SCall: 13562 DCall: 05103 208.100.60.17:4569
RR_JITTER : 0
RR_LOSS : 0
RR_PKTS : 1
RR_DELAY : 40
RR_DROPPED : 0
RR_OUTOFORDER : 0
Tx-Frame Retry[-01] -- OSeqno: 014 ISeqno: 018 Type: IAX Subclass: ACK
Timestamp: 42017ms SCall: 05103 DCall: 13562 208.100.60.17:4569
Rx-Frame Retry[ No] -- OSeqno: 018 ISeqno: 014 Type: IAX Subclass: PING
Timestamp: 42003ms SCall: 13562 DCall: 05103 208.100.60.17:4569
Tx-Frame Retry[000] -- OSeqno: 014 ISeqno: 019 Type: IAX Subclass: PONG
Timestamp: 42003ms SCall: 05103 DCall: 13562 208.100.60.17:4569
RR_JITTER : 2
RR_LOSS : 0
RR_PKTS : 1838
RR_DELAY : 42
RR_DROPPED : 0
RR_OUTOFORDER : 0
Rx-Frame Retry[ No] -- OSeqno: 019 ISeqno: 015 Type: IAX Subclass: ACK
Timestamp: 42003ms SCall: 13562 DCall: 05103 208.100.60.17:4569
Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: REGACK
Timestamp: 00637ms SCall: 10823 DCall: 02474 208.100.60.17:4569
USERNAME : 999999_444525
DATE TIME : 2023-12-22 07:36:24
REFRESH : 60
APPARENT ADDRES : IPV4 71.82.31.81:4570
CALLING NUMBER : 2568254471
Tx-Frame Retry[-01] -- OSeqno: 002 ISeqno: 002 Type: IAX Subclass: ACK
Timestamp: 00637ms SCall: 02474 DCall: 10823 208.100.60.17:4569
Tx-Frame Retry[000] -- OSeqno: 015 ISeqno: 019 Type: IAX Subclass: LAGRQ
Timestamp: 50018ms SCall: 05103 DCall: 13562 208.100.60.17:4569
Rx-Frame Retry[ No] -- OSeqno: 019 ISeqno: 016 Type: IAX Subclass: LAGRP
Timestamp: 50018ms SCall: 13562 DCall: 05103 208.100.60.17:4569
Tx-Frame Retry[-01] -- OSeqno: 016 ISeqno: 020 Type: IAX Subclass: ACK
Timestamp: 50018ms SCall: 05103 DCall: 13562 208.100.60.17:4569
Rx-Frame Retry[ No] -- OSeqno: 020 ISeqno: 016 Type: IAX Subclass: LAGRQ
Timestamp: 50002ms SCall: 13562 DCall: 05103 208.100.60.17:4569
Tx-Frame Retry[000] -- OSeqno: 016 ISeqno: 021 Type: IAX Subclass: LAGRP
Timestamp: 50002ms SCall: 05103 DCall: 13562 208.100.60.17:4569
Rx-Frame Retry[ No] -- OSeqno: 021 ISeqno: 017 Type: IAX Subclass: ACK
Timestamp: 50002ms SCall: 13562 DCall: 05103 208.100.60.17:4569
Tx-Frame Retry[000] -- OSeqno: 017 ISeqno: 021 Type: IAX Subclass: LAGRQ
Timestamp: 60019ms SCall: 05103 DCall: 13562 208.100.60.17:4569
Rx-Frame Retry[ No] -- OSeqno: 021 ISeqno: 018 Type: IAX Subclass: LAGRP
Timestamp: 60019ms SCall: 13562 DCall: 05103 208.100.60.17:4569
Tx-Frame Retry[-01] -- OSeqno: 018 ISeqno: 022 Type: IAX Subclass: ACK
Timestamp: 60019ms SCall: 05103 DCall: 13562 208.100.60.17:4569
Rx-Frame Retry[ No] -- OSeqno: 022 ISeqno: 018 Type: IAX Subclass: LAGRQ
Timestamp: 60002ms SCall: 13562 DCall: 05103 208.100.60.17:4569
Tx-Frame Retry[000] -- OSeqno: 018 ISeqno: 023 Type: IAX Subclass: LAGRP
Timestamp: 60002ms SCall: 05103 DCall: 13562 208.100.60.17:4569
Rx-Frame Retry[ No] -- OSeqno: 023 ISeqno: 019 Type: IAX Subclass: ACK
Timestamp: 60002ms SCall: 13562 DCall: 05103 208.100.60.17:4569
Tx-Frame Retry[000] -- OSeqno: 019 ISeqno: 023 Type: IAX Subclass: PING
Timestamp: 63018ms SCall: 05103 DCall: 13562 208.100.60.17:4569
Rx-Frame Retry[ No] -- OSeqno: 023 ISeqno: 020 Type: IAX Subclass: PONG
Timestamp: 63018ms SCall: 13562 DCall: 05103 208.100.60.17:4569
RR_JITTER : 0
RR_LOSS : 0
RR_PKTS : 1
RR_DELAY : 40
RR_DROPPED : 0
RR_OUTOFORDER : 0
Tx-Frame Retry[-01] -- OSeqno: 020 ISeqno: 024 Type: IAX Subclass: ACK
Timestamp: 63018ms SCall: 05103 DCall: 13562 208.100.60.17:4569
Rx-Frame Retry[ No] -- OSeqno: 024 ISeqno: 020 Type: IAX Subclass: PING
Timestamp: 63002ms SCall: 13562 DCall: 05103 208.100.60.17:4569
Tx-Frame Retry[000] -- OSeqno: 020 ISeqno: 025 Type: IAX Subclass: PONG
Timestamp: 63002ms SCall: 05103 DCall: 13562 208.100.60.17:4569
RR_JITTER : 2
RR_LOSS : 0
RR_PKTS : 2888
RR_DELAY : 42
RR_DROPPED : 0
RR_OUTOFORDER : 0
Rx-Frame Retry[ No] -- OSeqno: 025 ISeqno: 021 Type: IAX Subclass: ACK
Timestamp: 63002ms SCall: 13562 DCall: 05103 208.100.60.17:4569
Tx-Frame Retry[000] -- OSeqno: 021 ISeqno: 025 Type: IAX Subclass: LAGRQ
Timestamp: 70019ms SCall: 05103 DCall: 13562 208.100.60.17:4569
Rx-Frame Retry[ No] -- OSeqno: 025 ISeqno: 022 Type: IAX Subclass: LAGRP
Timestamp: 70019ms SCall: 13562 DCall: 05103 208.100.60.17:4569
Tx-Frame Retry[-01] -- OSeqno: 022 ISeqno: 026 Type: IAX Subclass: ACK
Timestamp: 70019ms SCall: 05103 DCall: 13562 208.100.60.17:4569
Rx-Frame Retry[ No] -- OSeqno: 026 ISeqno: 022 Type: IAX Subclass: LAGRQ
Timestamp: 70001ms SCall: 13562 DCall: 05103 208.100.60.17:4569
Tx-Frame Retry[000] -- OSeqno: 022 ISeqno: 027 Type: IAX Subclass: LAGRP
Timestamp: 70001ms SCall: 05103 DCall: 13562 208.100.60.17:4569
Rx-Frame Retry[ No] -- OSeqno: 027 ISeqno: 023 Type: IAX Subclass: ACK
Timestamp: 70001ms SCall: 13562 DCall: 05103 208.100.60.17:4569
Rx-Frame Retry[ No] -- OSeqno: 027 ISeqno: 023 Type: IAX Subclass: HANGUP
Timestamp: 70688ms SCall: 13562 DCall: 05103 208.100.60.17:4569
CAUSE CODE : 16
Tx-Frame Retry[-01] -- OSeqno: 023 ISeqno: 028 Type: IAX Subclass: ACK
Timestamp: 70688ms SCall: 05103 DCall: 13562 208.100.60.17:4569
-- Channel IAX2/voipms-5103 left 'simple_bridge' basic-bridge <714bddc7-b9a4-4dda-bd3a-bce9178c6dd8>
-- Channel DAHDI/pseudo-1445056746 left 'simple_bridge' basic-bridge <714bddc7-b9a4-4dda-bd3a-bce9178c6dd8>
-- Hungup 'IAX2/voipms-5103'
== Spawn extension (autopatch, 2569999999, 1) exited non-zero on 'DAHDI/pseudo-1445056746'
-- Hungup 'DAHDI/pseudo-1445056746'
> Received OK from Echolink server nasouth.echolink.org.
> Directory completed downloading(partial,compressed), 664 records.
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ
Timestamp: 00017ms SCall: 00197 DCall: 00000 208.100.60.17:4569
USERNAME : 999999_444525
REFRESH : 60
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: CTOKEN
Timestamp: 00017ms SCall: 00001 DCall: 00197 208.100.60.17:4569
CALLTOKEN : 51 bytes
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ
Timestamp: 00052ms SCall: 00197 DCall: 00000 208.100.60.17:4569
USERNAME : 999999_444525
REFRESH : 60
CALLTOKEN : 51 bytes
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH
Timestamp: 00008ms SCall: 02323 DCall: 00197 208.100.60.17:4569
AUTHMETHODS : 3
CHALLENGE : \x31\x33\x31\x32\x39\x36\x33\x31\x37
USERNAME : 999999_444525
Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: REGREQ
Timestamp: 00087ms SCall: 00197 DCall: 02323 208.100.60.17:4569
USERNAME : 999999_444525
REFRESH : 60
MD5 RESULT : 62203c231a2ac526e9cae2ce45769c2b
Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: REGACK
Timestamp: 00043ms SCall: 02323 DCall: 00197 208.100.60.17:4569
USERNAME : 999999_444525
DATE TIME : 2023-12-22 07:37:14
REFRESH : 60
APPARENT ADDRES : IPV4 71.82.31.81:4570
CALLING NUMBER : 2568254471
Tx-Frame Retry[-01] -- OSeqno: 002 ISeqno: 002 Type: IAX Subclass: ACK
Timestamp: 00043ms SCall: 00197 DCall: 02323 208.100.60.17:4569
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ
Timestamp: 00003ms SCall: 05913 DCall: 00000 208.100.60.17:4569
USERNAME : 999999_444525
REFRESH : 60
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: CTOKEN
Timestamp: 00003ms SCall: 00001 DCall: 05913 208.100.60.17:4569
CALLTOKEN : 51 bytes
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ
Timestamp: 00038ms SCall: 05913 DCall: 00000 208.100.60.17:4569
USERNAME : 999999_444525
REFRESH : 60
CALLTOKEN : 51 bytes
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH
Timestamp: 00013ms SCall: 00392 DCall: 05913 208.100.60.17:4569
AUTHMETHODS : 3
CHALLENGE : \x31\x32\x39\x34\x34\x38\x31\x36\x36
USERNAME : 999999_444525
Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: REGREQ
Timestamp: 00072ms SCall: 05913 DCall: 00392 208.100.60.17:4569
USERNAME : 999999_444525
REFRESH : 60
MD5 RESULT : 5ddf4871152ec85f182b791fd66ac4d5
Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: REGACK
Timestamp: 00047ms SCall: 00392 DCall: 05913 208.100.60.17:4569
USERNAME : 999999_444525
DATE TIME : 2023-12-22 07:38:04
REFRESH : 60
APPARENT ADDRES : IPV4 71.82.31.81:4570
CALLING NUMBER : 2568254471
Tx-Frame Retry[-01] -- OSeqno: 002 ISeqno: 002 Type: IAX Subclass: ACK
Timestamp: 00047ms SCall: 05913 DCall: 00392 208.100.60.17:4569
```
opened 12:11AM - 15 Jul 24 UTC
Add an extension as such:
```
; ---- MJK test extension ---
exten=> _C.,1,Sys… tem(/usr/local/bin/test ${EXTEN})
same = n, Hangup()
```
rpt.conf has the following to route to the extension:
```
89=autopatchup,context=command_process,noct=1,farenddisconnect=1,dialtime=7000,quiet=1; Command Processing
```
Call from *89C000
System call completes sucessfully, and app_rpt "disappears", no longer passing audio to the repeater.
Example:
```Moline*CLI> rpt fun 29972 *89C000
-- Event on node 29972 doing shell command touch /temp/onair.sig for condition s|t|txactive
-- Executing [C000@command_process:1] System("DAHDI/pseudo-1078548344", "/usr/local/bin/test C000") in new stack
-- Executing [C000@command_process:2] Hangup("DAHDI/pseudo-1078548344", "") in new stack
== Spawn extension (command_process, C000, 2) exited non-zero on 'DAHDI/pseudo-1078548344'
-- Hungup 'DAHDI/pseudo-1078548344'
[2024-07-14 19:58:39.709] WARNING[491052]: channel.c:1086 __ast_queue_frame: Exceptionally long voice queue length (97 voice / 97 total) queuing to voter/29972
[2024-07-14 19:58:40.989] WARNING[491052]: channel.c:1086 __ast_queue_frame: Exceptionally long voice queue length (97 voice / 97 total) queuing to voter/29972
```
Not sure of your experience, any time I fire off an “autopatchup” command, the repeater task hangs up and requires restarting the asterisk service.
Mike
July 16, 2024, 9:47pm
3
Could you post your complete entry/stanza for it from extensions.conf
And the command string in rpt.conf
It is likely a change in asterisk version and some syntax made that changed.
It would be important that you first test the line separate by method (sip/pjsip) perhaps with a softphone to be sure that part of it is correct before tearing into phone patch functions alone.
Perhaps you have?
But if I see the stanza, it may be more telling.
K2IE
July 17, 2024, 12:30am
4
w6el
July 17, 2024, 5:20pm
5
Perhaps related, when my full duplex repeater is connected to a half-duplex simplex node, the simplex node stays keyed for the entire autopatch call. The repeater will drop the PTT when the caller is quiet enough, which is great, but the simplex node is basically unusable during the call, as it transmits the entire time even if the caller has pressed mute.
Anyway, I can imagine this is related to the issue linked. Looks like the bug is identified and work is in progress. Thank you all.
–E
de W6EL
kb4mdd
July 19, 2024, 11:50am
6
I believe that that autopatch problems in ASL3 have been resolved. I have been able to make calls. The changes are going through review and testing.
Danny/KB4MDD
1 Like
N8RAW
July 20, 2024, 3:12pm
7
I’m fairly sure the problem has been found as a bug in app_rpt. Here’s the stanza JIC.
*89 fires up autopatch - *89C gets the _C call, *89B gets _B call: send tone, *89x gets the command processor.
[command_process]
; -- Send DTMF Tones (See /usr/local/bin/sendtones)
exten => _B.,1,System(/usr/local/bin/sendtones ${EXTEN})
same => n,Hangup()
; -- Traffic Database Managment by DTMF See /usr/local/bin/traffic
exten => _C.,1,System(/usr/local/bin/traffic/DBRemove ${EXTEN})
same => n,Hangup()
; ---- Command Process extentions ------ See /usr/local/bin/command_process
exten => _x.,1,System(/usr/local/bin/command_process ${EXTEN})
same => n,Hangup()
And RPT.CONF magic that makes it “work”:
87=autopatchup,context=copcmds,noct=1,farenddisconnect=1,dialtime=60000,quiet=1
88=cop,55 ;Parrot Once if parrot mode is disabled
89=autopatchup,context=command_process,noct=1,farenddisconnect=1,dialtime=7000,quiet=1; Command Processing
99=cop,6 ; ptt phone mode
Mike
July 20, 2024, 6:18pm
8
N8RAW:
exten => _B.,1,System
Try removing the period.
N8RAW:
exten => _x.,1,System
Do you realize this is capturing any extension dialed in this context ?
Or perhaps I could say the extension when there is no match since it is last.
Use something with a partial match.
Asterisk runs a first match execution.
We use to use that string to clean up any loose ends to hangup if no command was found, just for those loose hack attempts poking around.
Perhaps watch asterisk in the foreground and see where it is going. And the error
I have been using the phone patch quite to access the dialplan for over a decade and perhaps over a hundred such instances in my command structure.
Several are a complete special purpose IVR’s
But if this is not running for you, have you checked your script file ownership and permissions ?
Is there a .sh extension on those scripts you left out in the command string ?
Lots of possibilities here.
Asterisk executes as user asterisk and group asterisk .
You really need to watch this in the foreground to see where it is going wrong.
asterisk -rvvv
But I would first remove those periods and get something in place of that x
Come back with the specific error in execution.
Mike
July 20, 2024, 6:58pm
9
OK… woopsy
I forgot the period is pattern matching remaining chars ‘you are passing off to the script.’
You could have done this a different way that I am use to I guess.
But do you need to truncate the full extension perhaps.depending on your scripts?
Here is something old to use for example…
exten =_9xxX,1,System(/opt/Analog_Bridge/DMRonthefly.sh ${EXTEN:1},1 )
But perhaps you have accounted for this already ?
N8RAW
August 12, 2024, 5:49pm
10
Anyone following this: the 3.0.4 release appears to have fixed the issues - give it a try!
K2IE
August 12, 2024, 9:42pm
11
There is good news and there is bad news.
autopatch no longer causes app_rpt to hang when initiating a call. I can succesfully ring through to an extension on my internet pbx over iax. I can pass audio from a radio to the extension.
However no audio is passed back from the phone to the radio. If there is a VOX function it does not appear to work.
kb4mdd
August 13, 2024, 11:43am
12
Are you making a call from RF to your PBX?
You can try core set debug 7 app_rpt.so
to see more detail from app_rpt.
K2IE
August 14, 2024, 4:01pm
13
Yes, I am making a call from RF to the PBX. The call rings through.
Audio is passed from RF to the remote PBX extension.
Audio is NOT passed from the remote PBX extension to RF.
Radio ↔ ASL 3.x ↔ IAX ↔ Other PBX ↔ PJSIP ↔ Extension
I’m looking at moving from hamvoip to ASL3 on my raspberry pi. Autopatch is one thing I require to work as I’ve been use to having it in my arsenal on my hamvoip installation. Can anyone confirm that these bugs are sorted out and that it’s working properly now?
Autopatch and reverse autopatch both work perfectly on my full duplex ASL3 repeater system. The “cannot start tone” error is there but doesn’t matter, it doesn’t effect the operation in any way.
ASL3Autopatch.md
# Giving Your ASL3 Node a Phone Number - Setting Up Autopatch and Reverse Autopatch using VoIP.ms
**Author:** N5LSN
> [!IMPORTANT]
> As of 8/24/24, ASL3 half-duplex (duplex=0,1) autopatch still has a few bugs to work out before it is fully functional. Incoming calls (reverse autopatch) work fine, but outgoing (autopatch) calls are unable to pass phone audio to the ASL3 node.
## Introduction
This guide will walk you through setting up both Autopatch and Reverse Autopatch functionality on your ASL3 node using VoIP.ms as the service provider. This allows your repeater to make and receive traditional phone calls. This is particularly useful for emergency contact of people outside of the repeater range or otherwise unable to directly use the repeater for communications. It also is great for allowing system administrators remote access to execute DTMF functions from any active phone line.
This file has been truncated. show original