Jump to content

Bug in sample soap code


myredrook

Recommended Posts

In version 5.1.1 provisioning password generated automatically includes character § (0xA7).

 

XML parser

$xml_parser = xml_parser_create();

fails on such entry.

 

Solution is to add line

$content = "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>$content";
after
$content = pbx_soap( pbx_xml_envelope("DBGet", $req) );
in function pbx_get.
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...