facebookarchive / CommunityCellularManager

Tool for deploying, managing and controlling your Community Cellular Networks
Other
87 stars 36 forks source link

export hangup cause and put it in CDR reason/description #93

Closed eprueves closed 6 years ago

eprueves commented 6 years ago

This gets the hangup_cause value from the FS xml cdrs and includes them in the cdr description. Our intention for this is to get more info from calls, especially those zero-second calls that we see in the CDRs. This might be useful for others as well.

CDR reason/description will now be in this format:

2 sec call to 639361234567 (outside_call/NORMAL_CLEARING)
0 sec call to 639361234567 (local_call/USER_BUSY)
0 sec call to 639361234567 (outside_call/RECOVERY_ON_TIMER_EXPIRE)
9muir commented 6 years ago

this looks useful, thanks.

eprueves commented 6 years ago

I modified the code based on the PR review and pushed those edits to this branch. Thanks!

facebook-github-bot commented 6 years ago

@eprueves has updated the pull request. View: changes, changes since last import

shaddi commented 6 years ago

Thanks @eprueves! This lgtm, we'll merge.