Call Hangu up

Hi All,

I am using Go auto dial with PRI line. Everything is working fine. I need 1 help from you.

When I dial any number using DAHDI and if that number is busy/invalid it takes 15 + sec to release channel because it play that beep (4-5) and massage …(Number you have dialed is busy or invalid) from provider end. Is there any way to hang up the call in case of invalid number, busy etc. (Before channels is released by Telco).

I am using simple dial plan

[default]
exten = _X.,1,dial(DAHDI/g0/${EXTEN})
exten = _X.,n,Hangup

Regards

Vijay Goyal