thanx a lot Muhammad Shahzad
On Mon, Jan 28, 2013 at 2:27 AM, Muhammad Shahzad <[email protected]>wrote: > Check if you have configured mi_xmlrpc module correctly. Make sure the > port you set is available and open in firewall (if you have a > firewall). For debugging make sure to set log_file module parameter and run > tail command on file to see xmlrpc module actually receives the request and > how it responds to it etc. > > Here is base minimum PERL script to test XMLRPC service with default > parameters, > > ########################################################### > #!/usr/bin/perl -w > # > # This script shows currently active call details using XMLRPC service. > # > use strict; > use warnings; > > use Data::Dumper; > use XML::RPC; > > my $xmlrpc = XML::RPC->new('http://localhost:8080/RPC2'); > my $result = $xmlrpc->call("dlg_list_ctx", ()); > print Data::Dumper->Dump([$result]); > exit; > ########################################################### > > Hope this helps. > > Thank you. > > > On Mon, Jan 28, 2013 at 6:15 AM, p prakash <[email protected]> wrote: > >> "*Cannot connect to OpenSIPS Server via Management Interface* *... >> * >> *and in monit >> * >> 192.168.0.1:2812 can't conect. >> plz help me to solve this problem. >> >> >> On Sat, Jan 26, 2013 at 10:03 AM, p prakash <[email protected]> wrote: >> >>> Thanx Daniel Goepp ... >>> >>> >>> On Fri, Jan 25, 2013 at 8:42 AM, Daniel Goepp <[email protected]> wrote: >>> >>>> There are a few options, but one is XMLRPC >>>> >>>> http://www.opensips.org/html/docs/modules/1.8.x/mi_xmlrpc.html >>>> >>>> And for more information on MI: >>>> >>>> http://www.opensips.org/Resources/DocsCoreMi >>>> >>>> We use XML RPC, and you can use whatever HTTP client you want (cURL >>>> would be another, but we use Zend), but for example: >>>> >>>> require_once 'Zend/XmlRpc/Client.php'; >>>> $client = new Zend_XmlRpc_Client(' >>>> http://hostname:8080/RPC2'); >>>> >>>> $results = $client->call('get_statistics', array >>>> ("dialog:", "tm:")); >>>> >>>> print_r(htmlentities($results)); >>>> >>>> -dg >>>> >>>> >>>> On Fri, Jan 25, 2013 at 2:31 AM, p prakash <[email protected]> wrote: >>>> >>>>> hello >>>>> how can we add a new user in opensip using php api cal. >>>>> help me please. >>>>> >>>>> -- >>>>> * >>>>> >>>>> * >>>>> * >>>>> * >>>>> * >>>>> * >>>>> >>>>> _______________________________________________ >>>>> Users mailing list >>>>> [email protected] >>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Users mailing list >>>> [email protected] >>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >>>> >>>> >>> >>> >>> -- >>> ** >>> >>> *.* >>> * >>> * >>> >> >> >> >> -- >> *thanx >> * >> * >> Pooran Prakash >> Phone.no: 7838329539 >> Mail: [email protected] >> Alternate Mail: [email protected] >> Current Location: Delhi >> Willing to Relocate: YES >> >> * >> * >> * >> * >> * >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >> > > > -- > Muhammad Shahzad > ----------------------------------- > CISCO Rich Media Communication Specialist (CRMCS) > CISCO Certified Network Associate (CCNA) > Cell: +49 176 99 83 10 85 > MSN: [email protected] > Email: [email protected] > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > * * * * * *
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
