Handling freeswitch config with lua issue
Hi, I'm trying to handle freeswitch configuration with lua (in particular sofia conf) but unsuccessfuly. I see that my lua script works when freeswitch requests sofia configuration but I am not able to push xml responce to it. I set XML_STRING variable but nothing happens in freeswitch. I even tried to put nil to XML_STRING and freeswitch even does not throw an error. I've installed freeswitch from freeswitch deb packages (on Debian 8). Package version: 1.6.10~17~726448d-1~jessie+1 I've attached to this letter some configs, lua script and freeswitch log. I appreciate your help. -- Best regards, Vladyslav Zakhozhai email: v.zakhozhai@gmail.com tel.: +380(93) 757-21-61
Hi, I've solved the issue. The problem was with incorrect document which was sent to freeswitch. I forgot section <section name="configuration">. I wonder why freeswitch just ignores it. On Sun, Sep 25, 2016 at 1:33 AM Vladyslav Zakhozhai <v.zakhozhai@gmail.com> wrote:
Hi,
I'm trying to handle freeswitch configuration with lua (in particular sofia conf) but unsuccessfuly.
I see that my lua script works when freeswitch requests sofia configuration but I am not able to push xml responce to it. I set XML_STRING variable but nothing happens in freeswitch. I even tried to put nil to XML_STRING and freeswitch even does not throw an error.
I've installed freeswitch from freeswitch deb packages (on Debian 8).
Package version: 1.6.10~17~726448d-1~jessie+1
I've attached to this letter some configs, lua script and freeswitch log.
I appreciate your help. -- Best regards, Vladyslav Zakhozhai email: v.zakhozhai@gmail.com tel.: +380(93) 757-21-61
-- Best regards, Vladyslav Zakhozhai email: v.zakhozhai@gmail.com tel.: +380(93) 757-21-61
participants (1)
-
Vladyslav Zakhozhai