[sr-dev] [kamailio/kamailio] cfgt: crash trying to get $T_rpl() value using pv_get_spec_value() (#2479)

Daniel-Constantin Mierla notifications at github.com
Thu Sep 17 14:25:09 CEST 2020


Seeing it happens when an ACK was received by trying to dump $T_rpl(...), the docs specify it has to be used in failure route blocks, not being the case in this crash situation:

  * https://www.kamailio.org/wiki/cookbooks/5.4.x/pseudovariables#t_rpl_pv

I added safety checks in the code to catch such cases and return $null.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2479#issuecomment-694195433
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200917/cef73790/attachment.htm>


More information about the sr-dev mailing list