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:[email protected]

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

Reply via email to