[OpenSIPS-Users] MI fifo commands for multiple opensips instances
Husnain Taseer
husnain.taseer at gmail.com
Wed Feb 22 04:22:31 EST 2017
Thanks Aqs, for providing json module link. Yes we can have multiple
options mi_datagram can also be used by running different instances on
different datagram sockets.
Thanks Robert, I am trying to deploy two different opensips instances using
puppet on same server. I got your point we can replicate opensipsctl file
and can change the fifo file path in it for the second instance so there
will be no issue in getting the stats. Sharing same fifo file with second
instance will make it bit complex. In my scenario I can have two different
fifo files.
Regards,
*Husnain Taseer - **VoIP professional*
On Wed, Feb 22, 2017 at 12:02 AM, <users-request at lists.opensips.org> wrote:
> Send Users mailing list submissions to
> users at lists.opensips.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
> users-request at lists.opensips.org
>
> You can reach the person managing the list at
> users-owner at lists.opensips.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Users digest..."
>
>
> Today's Topics:
>
> 1.
>
> MI fifo commands for multiple opensips instances (Husnain Taseer)
> 2. Re: MI fifo commands for multiple opensips instances (Aqs
> Younas)
> 3. Re: MI fifo commands for multiple opensips instances
> (Mundkowsky, Robert)
> 4. Siptrace usage in 2.2.2 (Ramachandran, Agalya (Contractor))
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 21 Feb 2017 22:27:52 +0300
> From: Husnain Taseer <husnain.taseer at gmail.com>
> To: users at lists.opensips.org
> Subject: [OpenSIPS-Users] MI fifo commands for multiple opensips
> instances
> Message-ID: <2B4562B2-D577-49A2-A404-D1048EEC4F25 at gmail.com>
> Content-Type: text/plain; charset=us-ascii
>
> Hi Folks!
>
> I am little curious to know that If we have multiple instances of opensips
> (single installation) running on a machine with two different
> configurations (opensips.cfg files). How we can run MI fifo commands on
> both opensips instances to get statistic ( like active dialogs,
> rcv_requests, rcv_responses etc) on each of the running instances
> separately.
>
> Regards,
> Husnain Taseer - VoIP Professional
>
>
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 22 Feb 2017 01:23:21 +0500
> From: Aqs Younas <aqsyounas at gmail.com>
> To: OpenSIPS users mailling list <users at lists.opensips.org>
> Subject: Re: [OpenSIPS-Users] MI fifo commands for multiple opensips
> instances
> Message-ID:
> <CAGVOjVXQwJCZA71pG-QBj=n5AveaF7n4Kk4=kwqHfzwYquiCag@
> mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> This might help you.
> http://www.opensips.org/html/docs/modules/devel/mi_json.html
>
> On 22 February 2017 at 00:27, Husnain Taseer <husnain.taseer at gmail.com>
> wrote:
>
> > Hi Folks!
> >
> > I am little curious to know that If we have multiple instances of
> opensips
> > (single installation) running on a machine with two different
> > configurations (opensips.cfg files). How we can run MI fifo commands on
> > both opensips instances to get statistic ( like active dialogs,
> > rcv_requests, rcv_responses etc) on each of the running instances
> > separately.
> >
> > Regards,
> > Husnain Taseer - VoIP Professional
> >
> >
> >
> >
> > _______________________________________________
> > 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/
> 20170222/edc19080/attachment-0001.html>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 21 Feb 2017 20:30:39 +0000
> From: "Mundkowsky, Robert" <rmundkowsky at ets.org>
> To: OpenSIPS users mailling list <users at lists.opensips.org>
> Subject: Re: [OpenSIPS-Users] MI fifo commands for multiple opensips
> instances
> Message-ID:
> <BL2PR07MB2385EF713419143739C047B7BE510 at BL2PR07MB2385.
> namprd07.prod.outlook.com>
>
> Content-Type: text/plain; charset="utf-8"
>
> If there is no reason to share the fifo file, then you config OpenSIPS to
> use a different fifo file per instance. I actually wonder if a fifo file
> can be shared with multiple instances or if you have to use a database if
> you want a cluster of them, but guess I can read the book if I need that.
>
> Robert
>
>
> -----Original Message-----
> From: Users [mailto:users-bounces at lists.opensips.org] On Behalf Of
> Husnain Taseer
> Sent: Tuesday, February 21, 2017 2:28 PM
> To: users at lists.opensips.org
> Subject: [OpenSIPS-Users] MI fifo commands for multiple opensips instances
>
> Hi Folks!
>
> I am little curious to know that If we have multiple instances of opensips
> (single installation) running on a machine with two different
> configurations (opensips.cfg files). How we can run MI fifo commands on
> both opensips instances to get statistic ( like active dialogs,
> rcv_requests, rcv_responses etc) on each of the running instances
> separately.
>
> Regards,
> Husnain Taseer - VoIP Professional
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
> ________________________________
>
> This e-mail and any files transmitted with it may contain privileged or
> confidential information. It is solely for use by the individual for whom
> it is intended, even if addressed incorrectly. If you received this e-mail
> in error, please notify the sender; do not disclose, copy, distribute, or
> take any action in reliance on the contents of this information; and delete
> it from your system. Any other use of this e-mail is prohibited.
>
>
> Thank you for your compliance.
>
> ________________________________
>
> ------------------------------
>
> Message: 4
> Date: Tue, 21 Feb 2017 21:02:33 +0000
> From: "Ramachandran, Agalya (Contractor)"
> <Agalya_Ramachandran at comcast.com>
> To: "users at lists.opensips.org" <users at lists.opensips.org>
> Subject: [OpenSIPS-Users] Siptrace usage in 2.2.2
> Message-ID:
> <dc327f81b980474ca086944b07b89cd8 at COPDCEX28.cable.comcast.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi,
>
> Am trying to use Homer tool to display the packets that have arrived in
> OpenSIPS.
> And here is my setup when I used with opensips1.11 version.
>
> OpenSIPS (Siptrace) ---->Homer. (kamailio+sipcapture ,DB)
>
> In order to achieve the same setup in OpenSIPS 2.2.2 version, for the
> siptrace, we can use either sipuri , hepuri or DB - Correct?
>
> In the older version, I have used modparam("siptrace", "duplicate_uri",
> "sip: remoteipofHomer:9060")
>
> With the new version of OpenSIPS, in order to send the packet to Homer, is
> this configuration correct?
>
> modparam("siptrace", "trace_on", 1)
> modparam("siptrace", "trace_local_ip", "localip")
> modparam("siptrace", "trace_id","[tid]uri=sip:remoteipofHomer:9060;")
> ---> sip/hep -? Which one I should use?
>
> And for traced_user_avp, I will be using the following in old version.
>
> modparam("siptrace", "traced_user_avp", "$avp(traced_user)")
>
> In Route function , the below lines will be used.
> $avp(traced_user) = "1";
> sip_trace();
>
> How this can be achieved in new sip_trace()?
>
> Kindly clarify me.
>
> Regards,
> Agalya
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.opensips.org/pipermail/users/attachments/
> 20170221/a3f5cfd3/attachment.html>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
> ------------------------------
>
> End of Users Digest, Vol 103, Issue 66
> **************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170222/52f11c72/attachment.html>
More information about the Users
mailing list