Skip to content

Instantly share code, notes, and snippets.

@elcontrastador
Last active November 25, 2015 06:42
Show Gist options
  • Save elcontrastador/2cd9ee35d22df0d5e175 to your computer and use it in GitHub Desktop.
Save elcontrastador/2cd9ee35d22df0d5e175 to your computer and use it in GitHub Desktop.
Asterisk AMI not finding extension in Asterisk 13.6.0
; extensions.conf
[oneif_internal]
include => oneif_internal
include => oneif_emerg
include => oneif_local
include => oneif_longdist
include => oneif_tollfree
exten => 120,1,GoSub(sub-oneif-internal,start,1(120,${TMA1}))
exten => 121,1,GoSub(sub-oneif-internal,start,1(121,${TMA2}))
;; AMI Action and Response
Action: extensionstate
ActionID: 684976c6-8f7c-4865-8638-7e6908c921c9
Exten: 121
Context: oneif_internal
Response: Success
ActionID: 684976c6-8f7c-4865-8638-7e6908c921c9
Message: Extension Status
Exten: 121
Context: oneif_internal
Hint:
Status: -1
StatusText: Unknown
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment