[OpenSIPS-Users] (no subject)

p prakash ppbntl19 at gmail.com
Mon Jan 28 16:39:32 CET 2013


thanx a lot Muhammad Shahzad


On Mon, Jan 28, 2013 at 2:27 AM, Muhammad Shahzad <shaheryarkh at gmail.com>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 <ppbntl19 at gmail.com> 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 <ppbntl19 at gmail.com> wrote:
>>
>>> Thanx Daniel Goepp ...
>>>
>>>
>>> On Fri, Jan 25, 2013 at 8:42 AM, Daniel Goepp <dan at goepp.net> 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 <ppbntl19 at gmail.com> wrote:
>>>>
>>>>> hello
>>>>>  how can we add a new user in opensip using php api cal.
>>>>> help me please.
>>>>>
>>>>> --
>>>>>  *
>>>>>
>>>>> *
>>>>> *
>>>>> *
>>>>> *
>>>>> *
>>>>>
>>>>> _______________________________________________
>>>>> Users mailing list
>>>>> Users at lists.opensips.org
>>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.opensips.org
>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>
>>>>
>>>
>>>
>>> --
>>> **
>>>
>>> *.*
>>> *
>>> *
>>>
>>
>>
>>
>> --
>> *thanx
>> *
>> *
>> Pooran Prakash
>> Phone.no: 7838329539
>> Mail: ppbntl19 at gmail.com
>> Alternate Mail: pappi12366 at gmail.com
>> Current Location: Delhi
>> Willing to Relocate: YES
>>
>> *
>> *
>> *
>> *
>> *
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> 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: shari_786pk at hotmail.com
> Email: shaheryarkh at googlemail.com
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>


*
*
*
*
*
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130128/389d73ff/attachment-0001.htm>


More information about the Users mailing list