[asterisk-users] add Reason header on hangup

2010-02-21 Thread voipas
Hello, I have asterisk 1.6.0.20 and Is it possible to add Reason header on Hangup: Reason: q.850;cause=17 Thanks -- Best Regards, Giedrius -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com --

Re: [asterisk-users] add Reason header on hangup

2010-02-21 Thread Jim Dickenson
What I do is have this: exten = h,1,UserEvent(DialHungUp,ActionID:${CfMC_ActionID} ${UNIQUEID} ${CHANNEL} ${CfMC_AgentToUse} ${CfMC_DialInfo} ${CfMC_QueueToUse} ${HANGUPCAUSE} ${DIALSTATUS}) And then in AMI I know hangupcause and dialstatus. -- Jim Dickenson

Re: [asterisk-users] add Reason header on hangup

2010-02-21 Thread Olle E. Johansson
21 feb 2010 kl. 16.14 skrev voipas: Hello, I have asterisk 1.6.0.20 and Is it possible to add Reason header on Hangup: Reason: q.850;cause=17 No, you will have to change the code. I think there's a patch in the bug tracker. Go search on issues.asterisk.org. We do add a similar