hi , all i want to wtite hangupcause to cdr, but both caller hangup and callee hangup result in hangupcause code 16.
how would i know whether caller or callee or system error hangup the phone? please help. thanks! 2010/4/22 Alejandro Recarey <alexreca...@gmail.com>: >> However, as I can see by the verbose command, ${HANGUPCAUSE} is always >> 0. I thought it was a channel variable that contained the hangupcause? > > Just an update, if the call is established, then there is a > hangupcause received. > > The above problem only happens if the caller hangs up before pickup. > > This is usualy a cause 16, not 0. > > Alex > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > -- Thanks for your supporting, have a nice day. Sucan -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users