[contextall]
include => context5xx
include => context8xx
[context5xx]
exten => _5xx,1,Verbose(3,Call in context5xx)
same => n,Hangup()
exten => h,1,Verbose(3,Executing hangup in 5xx)
[context8xx]
exten => _8xx,1,Verbose(3,Call in context5xx)
same => n,Hangup()
exten => h,1,Verbose(3,Executing hangup in 8xx)
When I call any extension in 5xx series, it executes 5xx hangup priorities and call is disconnected which is intended.
But when I call any extension in 8xx series it again executes 5xx hangup priorities and the call is disconnected, while I want to execute the hangup priority of the same context i.e. context8xx
Am I doing something wrong?