[asterisk-users] Hangup handler gosub error with asterisk 16.4.0.

Harley Peters harley at thepetersclan.com
Sat Jun 1 09:18:02 CDT 2019

I am receiving the following errors on any hangup handler subroutines.

[2019-05-31 18:22:13.958] VERBOSE[23943][C-00000009] app_stack.c: 
PJSIP/104090401-0000000a Internal Gosub(PreventForwardingLoop,s,1)) start
[2019-05-31 18:22:13.958] NOTICE[23943][C-00000009] pbx.c: No such label 
'1)' in extension 's' in context 'PreventForwardingLoop'
[2019-05-31 18:22:13.958] WARNING[23943][C-00000009] pbx.c: Priority 
'1)' must be a number > 0, or valid label
[2019-05-31 18:22:13.958] ERROR[23943][C-00000009] app_stack.c: Gosub 
address is invalid: 'PreventForwardingLoop,s,1)'

exten => 

exten => 
exten => s,n,Return()

This is one example it fails on all of them.

I have no problems with asterisk-16.2.1 and earlier.
Any idea what the problem is or is this a bug?

Harley Peters

More information about the asterisk-users mailing list