[asterisk-users] What does reason 8 for failure means in Manager
Richard Lyman
pchammer at dynx.net
Tue Jun 3 20:15:14 CDT 2008
Sanjay Rajdev wrote:
> I tried to call a number on the ZAP channel through manager, I got an
> Unknown reason for failure, with the following Originate Response.
>
> Event: OriginateResponse
> Privilege: call,all
> Response: Failure
> Channel: Zap/G0/XXXXXXXX
> Context: callback
> Exten: 6563
> Reason: 8
> Uniqueid : NULL
> CallerID : 1234
> CallerIDNum: 1234
> CallerIDName: ABCD
>
> Can anyone Please let me know what does Reason 8 means here.
> I tried to place the same call using the SIP phone that I have and it
> worked just fine.
>
> Most of the time calls just go through fine, but sometime it fails,
> although the number dialed is correct.
grep "AST_CONTROL" <insert path to your asterisk source
code>/include/asterisk/frame.h
#define AST_CONTROL_HANGUP 1
#define AST_CONTROL_RING 2
#define AST_CONTROL_RINGING 3
#define AST_CONTROL_ANSWER 4
#define AST_CONTROL_BUSY 5
#define AST_CONTROL_TAKEOFFHOOK 6
#define AST_CONTROL_OFFHOOK 7
#define AST_CONTROL_CONGESTION 8
#define AST_CONTROL_FLASH 9
#define AST_CONTROL_WINK 10
#define AST_CONTROL_OPTION 11
#define AST_CONTROL_RADIO_KEY 12
#define AST_CONTROL_RADIO_UNKEY 13
#define AST_CONTROL_PROGRESS 14
#define AST_CONTROL_PROCEEDING 15
#define AST_CONTROL_HOLD 16
#define AST_CONTROL_UNHOLD 17
#define AST_CONTROL_VIDUPDATE 18
An '8' would be a congestion.
More information about the asterisk-users
mailing list