Log rtpproxy ip address

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Log rtpproxy ip address

Nuno Ferreira
Good morning,

We are running rtp_cluster as the frontend for a cluster of rtpproxy instances. Is there a way to print in the logs (xlog()) the IP address of the selected rtpproxy instance that is being advertised on the SDP to the peer side?

Thank you,

Nuno Ferreira

*Confidentiality Notice: The information contained in this e-mail and any
attachments may be confidential. If you are not an intended recipient, you
are hereby notified that any dissemination, distribution or copying of this
e-mail is strictly prohibited. If you have received this e-mail in error,
please notify the sender and permanently delete the e-mail and any
attachments immediately. You should not retain, copy or use this e-mail or
any attachment for any purpose, nor disclose all or any part of the
contents to any other person. Thank you.*
_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Log rtpproxy ip address

Razvan Crainea-3
Hi, Nuno!

There's currently no way to get the IP address that is being advertised in the SDP, all you can get is the IP of the communication socket to the rtp_cluster - probably it is not an information you can use.
Getting this information in a pvar shouldn't be that hard - please open a feature request on our tracker[1] and we will try to implement it for the next release.

[1] https://github.com/OpenSIPS/opensips/issues

Best regards,
Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com
On 12/13/2017 12:24 PM, Nuno Ferreira wrote:
Good morning,

We are running rtp_cluster as the frontend for a cluster of rtpproxy instances. Is there a way to print in the logs (xlog()) the IP address of the selected rtpproxy instance that is being advertised on the SDP to the peer side?

Thank you,

Nuno Ferreira

*Confidentiality Notice: The information contained in this e-mail and any
attachments may be confidential. If you are not an intended recipient, you
are hereby notified that any dissemination, distribution or copying of this
e-mail is strictly prohibited. If you have received this e-mail in error,
please notify the sender and permanently delete the e-mail and any
attachments immediately. You should not retain, copy or use this e-mail or
any attachment for any purpose, nor disclose all or any part of the
contents to any other person. Thank you.*

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Log rtpproxy ip address

Nuno Ferreira
Thanks Răzvan,


Regards,

Nuno

On Wed, Dec 13, 2017 at 10:44 AM, Răzvan Crainea <[hidden email]> wrote:
Hi, Nuno!

There's currently no way to get the IP address that is being advertised in the SDP, all you can get is the IP of the communication socket to the rtp_cluster - probably it is not an information you can use.
Getting this information in a pvar shouldn't be that hard - please open a feature request on our tracker[1] and we will try to implement it for the next release.

[1] https://github.com/OpenSIPS/opensips/issues

Best regards,
Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com
On 12/13/2017 12:24 PM, Nuno Ferreira wrote:
Good morning,

We are running rtp_cluster as the frontend for a cluster of rtpproxy instances. Is there a way to print in the logs (xlog()) the IP address of the selected rtpproxy instance that is being advertised on the SDP to the peer side?

Thank you,

Nuno Ferreira

*Confidentiality Notice: The information contained in this e-mail and any
attachments may be confidential. If you are not an intended recipient, you
are hereby notified that any dissemination, distribution or copying of this
e-mail is strictly prohibited. If you have received this e-mail in error,
please notify the sender and permanently delete the e-mail and any
attachments immediately. You should not retain, copy or use this e-mail or
any attachment for any purpose, nor disclose all or any part of the
contents to any other person. Thank you.*

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




--

Nuno Ferreira | Architect, CoreUC | [hidden email] | +351 308805903
Rua Carlos Silva Melo Magalhães 23, 3800-126 Aveiro, Portugal

        


*Confidentiality Notice: The information contained in this e-mail and any
attachments may be confidential. If you are not an intended recipient, you
are hereby notified that any dissemination, distribution or copying of this
e-mail is strictly prohibited. If you have received this e-mail in error,
please notify the sender and permanently delete the e-mail and any
attachments immediately. You should not retain, copy or use this e-mail or
any attachment for any purpose, nor disclose all or any part of the
contents to any other person. Thank you.*
_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Log rtpproxy ip address

Razvan Crainea-3
Thanks! I will update the ticket when this is looked into.
Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com
On 12/13/2017 03:40 PM, Nuno Ferreira wrote:
Thanks Răzvan,


Regards,

Nuno

On Wed, Dec 13, 2017 at 10:44 AM, Răzvan Crainea <[hidden email]> wrote:
Hi, Nuno!

There's currently no way to get the IP address that is being advertised in the SDP, all you can get is the IP of the communication socket to the rtp_cluster - probably it is not an information you can use.
Getting this information in a pvar shouldn't be that hard - please open a feature request on our tracker[1] and we will try to implement it for the next release.

[1] https://github.com/OpenSIPS/opensips/issues

Best regards,
Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com
On 12/13/2017 12:24 PM, Nuno Ferreira wrote:
Good morning,

We are running rtp_cluster as the frontend for a cluster of rtpproxy instances. Is there a way to print in the logs (xlog()) the IP address of the selected rtpproxy instance that is being advertised on the SDP to the peer side?

Thank you,

Nuno Ferreira

*Confidentiality Notice: The information contained in this e-mail and any
attachments may be confidential. If you are not an intended recipient, you
are hereby notified that any dissemination, distribution or copying of this
e-mail is strictly prohibited. If you have received this e-mail in error,
please notify the sender and permanently delete the e-mail and any
attachments immediately. You should not retain, copy or use this e-mail or
any attachment for any purpose, nor disclose all or any part of the
contents to any other person. Thank you.*

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




--

Nuno Ferreira | Architect, CoreUC | [hidden email] | +351 308805903
Rua Carlos Silva Melo Magalhães 23, 3800-126 Aveiro, Portugal

        


*Confidentiality Notice: The information contained in this e-mail and any
attachments may be confidential. If you are not an intended recipient, you
are hereby notified that any dissemination, distribution or copying of this
e-mail is strictly prohibited. If you have received this e-mail in error,
please notify the sender and permanently delete the e-mail and any
attachments immediately. You should not retain, copy or use this e-mail or
any attachment for any purpose, nor disclose all or any part of the
contents to any other person. Thank you.*

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users