kamran butt Posted July 10, 2009 Report Share Posted July 10, 2009 Hi I am created the xml object but i am unable to find a way how to send the xml object on which URL, i am using PHP language if some one did please give me example. Thanks $req = ' <?xml version="1.0" standalone="yes"?> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sns="http://www.pbxnsip.com/soap/pbx"> <sns:CreateExtension> <Domain>subdomain.mydomain.com</Domain> <Extension>262</Extension> <first_name>ABC</first_name> <display_name>XYZ</display_name> <web_pass>0909</web_pass> <mb_pin>1234</mb_pin> <email_address>kamibutt@gmail.com</email_address> </sns:CreateExtension> </env:Body> </env:Envelope> '; Quote Link to comment Share on other sites More sharing options...
pbx support Posted July 10, 2009 Report Share Posted July 10, 2009 You can always use the telnet session (port 80) to send the commands to PBX. If you using program, you can connect to the HTTP port and send these commands Hi I am created the xml object but i am unable to find a way how to send the xml object on which URL, i am using PHP language if some one did please give me example. Thanks $req = ' <?xml version="1.0" standalone="yes"?> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sns="http://www.pbxnsip.com/soap/pbx"> <sns:CreateExtension> <Domain>subdomain.mydomain.com</Domain> <Extension>262</Extension> <first_name>ABC</first_name> <display_name>XYZ</display_name> <web_pass>0909</web_pass> <mb_pin>1234</mb_pin> <email_address>kamibutt@gmail.com</email_address> </sns:CreateExtension> </env:Body> </env:Envelope> '; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.