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.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to