[asterisk-users] add Reason header on hangup
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 -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] add Reason header on hangup
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 mailto:dicken...@cfmc.com CfMC http://www.cfmc.com/ On Feb 21, 2010, at 7:14 AM, voipas wrote: 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 -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] add Reason header on hangup
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 header if you check the BYE headers. X-Asterisk-hangup-cause. /O -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users