[asterisk-biz] Returning Error Codes

Jared Smith jsmith at digium.com
Mon Nov 3 13:05:34 CST 2008


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.




More information about the asterisk-biz mailing list