[OpenSIPS-Devel] [opensips] Fix get_redirects(max, reason) (#442)

Rob Gagnon notifications at github.com
Fri Mar 27 05:28:49 CET 2015


get_redirects(max, reason) did not properly send the value of reason to the accounting function resulting in a NULL reason code, and a reason of "Unspecified" in the accounting log, db, aaa or other storage.

This properly sends the reason to the accounting function as ```pv_elem_t```, instead of the ```acc_param```

Documentation is also updated to reflect how ```reason``` should be formatted.
You can view, comment on, or merge this pull request online at:

  https://github.com/OpenSIPS/opensips/pull/442

-- Commit Summary --

  * Fix get_redirects(max, reason) so that reason is properly transferred to the acc module function

-- File Changes --

    M modules/uac_redirect/README (13)
    M modules/uac_redirect/doc/uac_redirect_admin.xml (10)
    M modules/uac_redirect/redirect.c (48)

-- Patch Links --

https://github.com/OpenSIPS/opensips/pull/442.patch
https://github.com/OpenSIPS/opensips/pull/442.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/442
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150326/2b4a59f2/attachment.htm>


More information about the Devel mailing list