Monday, November 3, 2008

Re: [asterisk-biz] Returning Error Codes

On Sun, 2008-11-02 at 12:24 -0500, Igor Hernandez wrote:
> Recently we've had a client come to us requesting a specific error
> code
> be returned from our switch because they need it for their LCR.
>
> Is there a way in Asterisk to return a specific error code instead of
> just passing down the error code returned from the carrier's switch?

Recent versions of Asterisk allow you to pass a cause code as the first
(and only) argument to the Hangup() application.

--
Jared Smith
Training Manager
Digium, Inc.


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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

No comments: