I just upgraded my voip server. My old voip server was running Asterisk 1.4 and the new server was built using PBX in a Flash with Asterisk 1.8. When using the Asterisk Manager on the old voip server, I was able to figure out that the url for an http connection was slightly different:
old server = http://IPaddress:PORT/asterisk/mxml?action=login&username=USERNAME&secret=PASSWORD
new server = http://IPaddress:PORT/mxml?action=login&username=USERNAME&secret=PASSWORD
The problem is, on the new voip server running Asterisk 1.8, the mxml doesn't work. It looks like it's missing the final ">". for example, here are the two responses for the old version versus the new:
old server:
<ajax-response>
<response type='object' id='unknown'><generic response='Success' message='Authentication accepted' /></response>
</ajax-response>
new server:
<ajax-response>
<response type='object' id='unknown'><generic response='Success' message='Authentication accepted' /></response>
</ajax-response
Notice the missing ">" at the end. This is causing my software to fail with a error saying "The following elements are not closed: ajax-response"
Can anyone help me with this? I assume this is a bug in the newer version of Asterisk?
old server = http://IPaddress:PORT/asterisk/mxml?action=login&username=USERNAME&secret=PASSWORD
new server = http://IPaddress:PORT/mxml?action=login&username=USERNAME&secret=PASSWORD
The problem is, on the new voip server running Asterisk 1.8, the mxml doesn't work. It looks like it's missing the final ">". for example, here are the two responses for the old version versus the new:
old server:
<ajax-response>
<response type='object' id='unknown'><generic response='Success' message='Authentication accepted' /></response>
</ajax-response>
new server:
<ajax-response>
<response type='object' id='unknown'><generic response='Success' message='Authentication accepted' /></response>
</ajax-response
Notice the missing ">" at the end. This is causing my software to fail with a error saying "The following elements are not closed: ajax-response"
Can anyone help me with this? I assume this is a bug in the newer version of Asterisk?