[Freeswitch-users] A-leg hangup cause is blank

Gabriel Gunderson gabe at gundy.org
Tue Nov 6 09:33:17 MSK 2012


On Mon, Nov 5, 2012 at 1:01 PM, Emrah <lists at kavun.ch> wrote:
> It makes sense that hangup_cause is blank because at the time the variable is set, the channel hasn't been hanged-up…

Depending on what you're doing, you may have to look to the
CS_REPORTING state. This is where you get your CDRs written out to
disk, HTTP, DB or whatever.

http://wiki.freeswitch.org/wiki/Channel_States

Is listening on the event socket an option? How about watching for
CDRs to be written to disk?


Good luck,
Gabe



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list