Hi, I've just tried to get mod_xml_curl working against a PHP script connecting to an OpenLDAP server. Things are working mostly OK, apart from the fact that calls from extensions defined in LDAP are always initiated in context "public", even though the XML returned at auth request includes the variable "user_context=default". I've traced in wireshark and the responses all seem correct. This gets caught by the static XML public dialplan, but I still feel the behaviour is not correct. I have attached the PHP and a tcpdump trace in case anyone can see something obviously incorrect. Many thanks Alex
On Sat, Mar 17, 2012 at 1:33 PM, Alex Crow <acrow@integrafin.co.uk> wrote:
I have attached the PHP and a tcpdump trace in case anyone can see something obviously incorrect.
Make it easy on us by using plain text and putting it in pastebin. Boil it down to the simplest set of info. It doesn't really matter how you got the response (so no need for PHP). And it's not always convenient to read tcpdumps. Anyway, are you authing each call? I don't think it's enough to auth the SUA for registration and expect that those vars will be there. While I don't use that feature often, I'm pretty sure you have to auth each call for those variables to stick. Let us know what you find. Best, Gabe
participants (2)
-
Alex Crow
-
Gabriel Gunderson