Hello,
you have to provide the script part where you set the value and try to
print it in order to be able to help troubleshooting.
Cheers,
Daniel
On 17.05.17 14:08, Duarte Rocha wrote:
Good Afternoon,
I'm having trouble with creation and value setting of some
pseudo-variables.
In the first cases, I used the pvapic.c function pv_get_sintval() like
this :
pv_get_sintval(msg, param, res, number_int_value);
Using pv_get_sintval() i can assign the value to the PV and print it
in the configuration file without any problem.
However, if i need to assign a char* to the PV and use
pv_get_strzval(msg, param, res, number_char_value);, it doesn't reach
the configuration file.
I made some debugs inside pv_get_strzval() in order to see the values
of "res->rs.s" and res->rs.len and both values are fine. I just
can't
access them in the configuration file.
Thanks in advance for your help!
Cheers,
Duarte Rocha
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
www.twitter.com/miconda --
www.linkedin.com/in/miconda
Kamailio Advanced Training - May 22-24 (USA) -
www.asipto.com
Kamailio World Conference - May 8-10, 2017 -
www.kamailioworld.com