Voximal - 无法测试应用程序



我刚刚在我的星号14上安装了该应用程序,我遇到了一些问题。我在 voximal.conf 中创建此帐户

[account2]
number=8000
name=test1
url=file:///var/lib/voximal/test.vxml

这是我的测试.vxml的内容

<?xml version="1.0"?>
<vxml version = "2.0" xmlns="http://www.w3.org/2001/vxml">
 <form>
  <block><audio src="hello.wav"/></block>
 </form>
</vxml>

这是我的扩展.conf文件的内容

exten => 8000,1,Answer
exten => 8000,n,Wait(2)
exten => 8000,n,Voximal(test1)
exten => 8000,n,Hangup

这就是我在软电话上拨打 8000 时得到的

Executing [8000@from-internal:1] Answer("PJSIP/marc-00000005", "") in new stack
       > 0x7fcbfc150140 -- Strict RTP learning after remote address set to: 192.168.79.1:40034
       > 0x7fcbfc150140 -- Strict RTP switching to RTP target address 192.168.79.1:40034 as source
    -- Executing [8000@from-internal:2] Wait("PJSIP/marc-00000005", "2") in new stack
       > 0x7fcbfc150140 -- Strict RTP learning complete - Locking on source address 192.168.79.1:40034
    -- Executing [8000@from-internal:3] Voximal("PJSIP/marc-00000005", "test1") in new stack
[Jan  3 09:15:56] ERROR[48508][C-00000006]: app_voximal.c:20285 vxml_exec: Cannot open new session, allocating context!
    -- Executing [8000@from-internal:4] Hangup("PJSIP/marc-00000005", "") in new stack

我已经尝试过这个来识别错误:

exten => 8000,1,Voximal()
exten => 8000,n,NoOp(${VOXIMAL_ERROR})
exten => 8000,n,GotoIf($["${VOXIMAL_ERROR}" == ""]?hangup)
exten => 8000,n,Busy()
exten => 8000,n(hangup),Hangup()

我得到了这个:

Executing [8000@from-internal:1] Voximal("PJSIP/marc-00000000", "") in new stack
[Jan  3 09:28:08] ERROR[48842][C-00000001]: app_voximal.c:20285 vxml_exec: Cannot open new session, allocating context!
    -- Executing [8000@from-internal:2] NoOp("PJSIP/marc-00000000", "LICENSE") in new stack
    -- Executing [8000@from-internal:3] GotoIf("PJSIP/marc-00000000", "0?hangup") in new stack
    -- Executing [8000@from-internal:4] Busy("PJSIP/marc-00000000", "") in new stack

请帮帮我!

错误 :

vxml_exec:无法打开新会话,分配上下文!

这是因为您没有启用 Voximal 的免费 1 端口。查看您的 Voxiaml 许可证:CLI> 沃西玛尔表演许可证

默认配置需要互联网连接才能获得许可证。如果您在安全网络中进行测试,则需要设置 key=evaluation(在 voximal.conf 文件中或从 Web 界面中(以在本地启用 test/dev/free 许可证。

最新更新