[Asterisk-Users] Playback(something,noanswer) on Zap?

Dmitry Ivanov dimss at telecentrs.lv
Mon Apr 24 01:37:16 MST 2006


On Thursday 20 April 2006 19:22, Kevin P. Fleming wrote:
> A better solution is to set the PRI hangup cause before dropping the
> incoming call; if you set the hangup cause to 'number not assigned'
> then your telco's switch will play its normal intercept message to
> the caller.

Thank you! This works!

context from-e1 {
    _X. => {
        AGI(pub2ext.agi);
        PRI_CAUSE=1;
        Hangup();
    };
};

Now caller hears voice from his/her telco (not from my telco) saying 
that number is not available. This is even better.



More information about the asterisk-users mailing list