SOLVED FusionPBX extension variables

Status
Not open for further replies.

pcf

New Member
Sep 25, 2018
3
0
1
30
Hi,
is there any way to manage variables on extensions? On freeswitch xmls there is no problem with adding variables, I've tried to modify resources and edit phps to add my own variable but it seems not to be passed to freeswitch. Value is stored on DB and it seem to be read fine, but not passed to switch.

Many thanks
 

pcf

New Member
Sep 25, 2018
3
0
1
30
As I'm trying to integrate CGRates, I would like to set cgr_reqtype variable per extension. I've added new column to db in v_extensions table on fusionpbx schema on postgres, I've modified extension phps so I can edit it and save, but it's not passed as cgrates still taking default request type instead of wanted one.
 

pcf

New Member
Sep 25, 2018
3
0
1
30
Ok, nevermind. I forgot to add my new variable to xml_handler in lua script. This enabled my desired functionality :)
 
Status
Not open for further replies.