Trunk Custom Dial String to terminate call

Is there a custom dial string that will terminate a call?

image

local/s@macro-hangupcall
2 Likes

Awesome, thanks.

1 Like

Been at this for more than 10 years, and this is the first time I’ve ever tried to Dial a local channel to a macro. I had to test to see if it even would work.

3 Likes

basically, I am using a dummy trunk in order to get to the prehook for trunk dial out.

I could give the trunk any kind of destination as it will never actually get anything to it.

But I preferred the idea that it will confidently terminate any call that does actually get here somehow if something freaks out in my custom logic.

Look to implement an “absolute timeout” on your channel

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.