[OpenSIPS-Users] Issue with opensips-cli .
Saurabh Chopra
saurabhc at 3clogic.com
Wed Apr 14 10:03:25 EST 2021
Hi Opensips Team/ Razvan,
As per Sasmita's previous mail, we are still stuck in a situation where,
1. If we are using "FIFO" as a communication_type we are not getting data
from a remote machine instead getting data from a local host.
2. If we are using "HTTP" as a communication_type then we are unable to
switch to a remote machine.
For both scenarios logs have been attached in *pastebin*.
Kindly advise and provide us with an early resolution. We will be
waiting for your prompt response
Best Regards
Saurabh Chopra
+918861979979
On Tue, Mar 30, 2021 at 11:31 AM Sasmita Panda <spanda at 3clogic.com> wrote:
> Hi ,
>
> I have changed my instance.cfg like bellow .
>
> [10.0.0.1]
> prompt_name: opensips-cli at 10.0.0.1
> communication_type: http
> url: http://10.0.0.1:8888/json
>
> With this config above I am getting some error . I am not able to switch
> to the remote instance as well .
>
> https://pastebin.com/1fDuHbBk
>
>
> if I am giving below config .
>
> [10.0.0.1]
> prompt_name: opensips-cli at 10.0.0.1
> communication_type: fifo
> fifo_file: /tmp/opensips_fifo
>
> I am able to switch to the remote instance . After switching when I am
> running any command its giving the result for localhost not for the remote
> instance ;.
>
>
> What should I do ? Am I missing any dependency library ? Please do help .
>
>
>
>
> *Thanks & Regards*
> *Sasmita Panda*
> *Senior Network Testing and Software Engineer*
> *3CLogic , ph:07827611765*
>
>
> On Fri, Mar 26, 2021 at 5:58 PM Sasmita Panda <spanda at 3clogic.com> wrote:
>
>> same result .
>>
>> my instance.cfg contains :
>> cat instance.cfg
>> [10.0.1.1]
>> prompt_name: opensips-cli at 10.0.1.1
>> fifo_file: /tmp/opensips_fifo
>>
>> https://pastebin.com/FQBipyZJ
>> This is the result .
>>
>>
>>
>> *Thanks & Regards*
>> *Sasmita Panda*
>> *Senior Network Testing and Software Engineer*
>> *3CLogic , ph:07827611765*
>>
>>
>> On Fri, Mar 26, 2021 at 5:38 PM Răzvan Crainea <razvan at opensips.org>
>> wrote:
>>
>>> You are not switching the instance correctly: should have used `instance
>>> switch 10.0.1.1`
>>>
>>> Best regards,
>>>
>>> Răzvan Crainea
>>> OpenSIPS Core Developer
>>> http://www.opensips-solutions.com
>>>
>>> On 3/26/21 1:54 PM, Sasmita Panda wrote:
>>> > I am not getting any error for this . I have pasted the logs in
>>> pastebin .
>>> >
>>> > https://pastebin.com/4tzXzrrG <https://pastebin.com/4tzXzrrG>
>>> >
>>> > What needs to be done in the remote machine 10.0.1.1 . I have allowed
>>> > 8888 tcp port . I saw default http url is like http://10.0.1.1:8888/mi
>>> > <http://10.0.1.1:8888/mi> .
>>> > Do suggest if I am missing anything .
>>> >
>>> >
>>> > */Thanks & Regards/*
>>> > /Sasmita Panda/
>>> > /Senior Network Testing and Software Engineer/
>>> > /3CLogic , ph:07827611765/
>>> >
>>> >
>>> > On Fri, Mar 26, 2021 at 5:00 PM Răzvan Crainea <razvan at opensips.org
>>> > <mailto:razvan at opensips.org>> wrote:
>>> >
>>> > Hi, Sasmita!
>>> >
>>> > Can you post the logs of an execution for the 10.0.1.1 instance run
>>> > with
>>> > debugging (-d parameter)? Also, please post them on pastebin[1] or
>>> in a
>>> > different place, not in the mail itself.
>>> >
>>> > [1] https://pastebin.com/ <https://pastebin.com/>
>>> >
>>> > Best regards,
>>> >
>>> > Răzvan Crainea
>>> > OpenSIPS Core Developer
>>> > http://www.opensips-solutions.com <
>>> http://www.opensips-solutions.com>
>>> >
>>> > On 3/26/21 11:16 AM, Sasmita Panda wrote:
>>> > > Hi All ,
>>> > >
>>> > > I am using opensips-cli ( 0.1.0 ) and opensips-3.1 .
>>> > >
>>> > > I am able to get all the data of the local host through cli but
>>> > when I
>>> > > am connecting to a remote host even though it's getting
>>> connected
>>> > but no
>>> > > data is visible for the remote instance . It only showing the
>>> > data of
>>> > > the instance on which I am running the cli .
>>> > >
>>> > >
>>> > > my opensips-cli.cfg
>>> > > *[default]
>>> > > database_modules: All
>>> > > prompt_intro: Welcome to OpenSIPS
>>> > >
>>> > > database_admin_url: mysql://root:cccl0g1c@localhost
>>> > > #database_url: mysql://opensips:opensipsrw@localhost
>>> > > database_schema_path: /opt/opensips-3.1/scripts
>>> > >
>>> > > [10.0.1.1]
>>> > > prompt_name: opensips-cli at 10.0.1.1 <mailto:
>>> opensips-cli at 10.0.1.1>
>>> > <mailto:opensips-cli at 10.0.1.1 <mailto:opensips-cli at 10.0.1.1>>
>>> > > prompt_intro: OpenSIPS CLI for 10.0.1.1 instance
>>> > > communication_type: fifo
>>> > > url: http://10.0.1.1:8888/mi <http://10.0.1.1:8888/mi>
>>> > <http://10.0.1.1:8888/mi <http://10.0.1.1:8888/mi>>*
>>> > >
>>> > > Am I doing anything wrong ? Please do help me .
>>> > >
>>> > >
>>> > > */Thanks & Regards/*
>>> > > /Sasmita Panda/
>>> > > /Senior Network Testing and Software Engineer/
>>> > > /3CLogic , ph:07827611765/
>>> > >
>>> > > _______________________________________________
>>> > > Users mailing list
>>> > > Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>> > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>> > <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>>> > >
>>> >
>>> > _______________________________________________
>>> > Users mailing list
>>> > Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>> > <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
>>> >
>>>
>>> _______________________________________________
>>> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20210414/f24b6113/attachment.html>
More information about the Users
mailing list