I am having a hard time understanding why this works:
exten => _X.,1,Answer()
exten => _X.,n,wait(1)
exten => _X.,n,background(welcome)
exten => _X.,n,wait(1)
exten => _X.,n,background(enter-ext-of-person)
exten => _X.,n,Hangup()
But this doesn’t. I get an extension not found.
exten => s,1,Answer()
exten => s,n,wait(1)
exten => s,n,background(welcome)
exten => s,n,wait(1)
exten => s,n,background(enter-ext-of-person)
exten => s,n,Hangup()
I thought that the s extension would be applied if there were no other matches to the extension.
Thanks