When activated CallControl with parameters init, start or stop customized. and invite the timer module tm (fr_inv_timer) set, if this time is reached, then OpenSIPS will crash with error on pvar.c:1042 (1.8.x versions) or pvar.c:1050 (1.9.x versions).
With the attached patch (1.8.x) failure does not occur. But do not think that is the best solution.
Your fix is related to $ci variable (to skip if the msg is a TM FAKE_REPLY) - are you using this variable in any of your routes ? what is the connection between that variable and callControl module ?
Regards,
Bogdan
The only place I use this variable is the parameter stop the call control:
modparam("call_control", "stop", "callid=$ci")
Below is DUMPCORE:
0 pv_get_callid (msg=0xffffffffffffffff, param=0x7fd6ca3c3d28, res=0x7fff7f0c6e80) at pvar.c:1042
1 0x0000000000468710 in pv_get_spec_value (msg=0xffffffffffffffff, sp=0x7fd6ca3c3d10, value=0x7fff7f0c6e80) at pvar.c:3980
2 0x00007fd6c53c1f38 in make_custom_request (msg=0xffffffffffffffff, call=<value optimized="" out="">) at call_control.c:601</value>