So I found that if I add “quiet=1” to the autopatch section, it dials out and doesn’t complain about not starting dialtone. It would be nice to find the right way to fix this, as I’d like the voice messages for autopatch. But maybe if you add quiet=1 to yours it will start working.
; Autopatch Commands
; Note, This may be a good place for other 2 digit frequently used commands
6 = autopatchup,noct = 1,farenddisconnect = 1,dialtime = 20000*,quiet = 1* ; Autopatch up
0 = autopatchdn ; Autopatch down
; autopatchup can optionally take comma delimited setting=value pairs:
; context = string ; Override default context with “string”
; dialtime = ms ; Specify the max number of milliseconds between phone number digits (1000 milliseconds = 1 second)
; farenddisconnect = 1 ; Automatically disconnect when called party hangs up
; noct = 1 ; Don’t send repeater courtesy tone during autopatch calls
; quiet = 1 ; Don’t send dial tone, or connect messages. Do not send patch down message when called party hangs up
; Example: 123=autopatchup,dialtime=20000,noct=1,farenddisconnect=1
So now I can receive calls just like before, and asterisk is finally executing the dialplan for outgoing calls from the radio, but now I am getting another error.(I redacted the phone number and put *'s.
[Oct 20 09:47:24] NOTICE[8951]: chan_voter.c:1537 voter_mix_and_send: Voter 525242 Got DTMF char *
[Oct 20 09:47:25] NOTICE[8951]: chan_voter.c:1537 voter_mix_and_send: Voter 525242 Got DTMF char 6
[Oct 20 09:47:25] NOTICE[8951]: chan_voter.c:1537 voter_mix_and_send: Voter 525242 Got DTMF char 1
[Oct 20 09:47:25] NOTICE[8951]: chan_voter.c:1537 voter_mix_and_send: Voter 525242 Got DTMF char 5
[Oct 20 09:47:26] NOTICE[8951]: chan_voter.c:1537 voter_mix_and_send: Voter 525242 Got DTMF char 6
[Oct 20 09:47:26] NOTICE[8951]: chan_voter.c:1537 voter_mix_and_send: Voter 525242 Got DTMF char 2
[Oct 20 09:47:26] NOTICE[8951]: chan_voter.c:1537 voter_mix_and_send: Voter 525242 Got DTMF char *
[Oct 20 09:47:27] NOTICE[8951]: chan_voter.c:1537 voter_mix_and_send: Voter 525242 Got DTMF char *
[Oct 20 09:47:27] NOTICE[8951]: chan_voter.c:1537 voter_mix_and_send: Voter 525242 Got DTMF char *
[Oct 20 09:47:27] NOTICE[8951]: chan_voter.c:1537 voter_mix_and_send: Voter 525242 Got DTMF char *
[Oct 20 09:47:28] NOTICE[8951]: chan_voter.c:1537 voter_mix_and_send: Voter 525242 Got DTMF char *
[Oct 20 09:47:28] NOTICE[8951]: chan_voter.c:1537 voter_mix_and_send: Voter 525242 Got DTMF char *
[Oct 20 09:47:29] NOTICE[8951]: chan_voter.c:1537 voter_mix_and_send: Voter 525242 Got DTMF char *
– Executing [1562*******@radio:1] Goto(“DAHDI/pseudo-763818903”, “check_route|1562*******|1”) in new stack
– Goto (check_route,1562*******,1)
– Executing [1562*******@check_route:1] NoOp(“DAHDI/pseudo-763818903”, “1562*******”) in new stack
– Executing [1562*******@check_route:2] Goto(“DAHDI/pseudo-763818903”, “voipms|562*******|1”) in new stack
– Goto (voipms,562*******,1)
– Executing [562*******@voipms:1] Ringing(“DAHDI/pseudo-763818903”, “”) in new stack
– Executing [562*******@voipms:2] Hangup(“DAHDI/pseudo-763818903”, “”) in new stack
== Spawn extension (voipms, 562*******, 2) exited non-zero on ‘DAHDI/pseudo-763818903’
– Hungup ‘DAHDI/pseudo-763818903’
– Hungup ‘DAHDI/pseudo-2107410432’
– Hungup ‘DAHDI/pseudo-1338447767’
Here’s my outbound dialplan for this:
; okay, route it
exten = _1NXXXXXXXXX,2,Goto(voipms|${EXTEN:1}|1)
exten = _X.,2,Goto(invalidnum|s|1)
[voipms]
include => voipms-inbound
include => voipms-outbound
; THIS IS FOR OUTGOING AUTOPATCH CALLS
[voipms-outbound]
exten => _1NXXNXXXXXX,1,Dial(SIP/${EXTEN}@voipms)
exten => _1NXXNXXXXXX,n,Hangup()
exten => _NXXNXXXXXX,1,Dial(SIP/1${EXTEN}@voipms)
exten => _NXXNXXXXXX,n,Hangup()
exten => _011.,1,Dial(SIP/${EXTEN}@voipms)
exten => _011.,n,Hangup()
exten => _00.,1,Dial(SIP/${EXTEN}@voipms)
exten => _00.,n,Hangup()
Any insight is appreciated.