[Vtigercrm-developers] PBXManager - Asterisk Connector
面来 周一
menrai at cc-arc.co.jp
Wed Nov 5 12:52:55 GMT 2014
Hi,
I have a issues using PBXManger with Asterisk Connector.
Incoming call and VtigerAsteriskConector search Phone extensions. It seems good
However XML Parser returned errors.
-
INFO: XML response from webapp: <?xml version="1.0" encoding="utf-8"?><Response><Dial><Authentication>Success</Authentication><Number>SIP/101</Number></Dial><callUUID>34e19f4475ad4f23885910ea25c6c73d</callUUID></Response>
[Fatal Error] :1:1: Content is not allowed in prolog.
Nov 05, 2014 12:38:11 PM com.vtiger.apps.asterisk.agi.b.c a
SEVERE: null
org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:347)
at com.vtiger.apps.asterisk.agi.b.c.a(SourceFile:48)
at com.vtiger.apps.asterisk.agi.actions.IncomingCall.process(SourceFile:55)
at com.vtiger.apps.asterisk.agi.actions.IncomingCall.service(SourceFile:26)
at org.asteriskjava.fastagi.internal.AgiConnectionHandler.runScript(AgiConnectionHandler.java:144)
at org.asteriskjava.fastagi.internal.AgiConnectionHandler.run(AgiConnectionHandler.java:116)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
I think the XML files include BOM and get errors .
Do you have any solutions?
Best Regards,
Shuichi Menrai.
More information about the vtigercrm-developers
mailing list