Hi Sebastian,
Thanks for your reply.
Today I am trying to install rtpengine as suggested by you.Could you please tell me from which part of the script I need to add rtpengine functions as my client is getting 183 from kamailio as of now.
My architecture is like this,
external ipv4 network(port 5060)----------rtpproxy(ipv4)--kamailio(ipv6)(port 5070)----------client(ipv4)(port 5077)
Please look at the attached wireshark capture.
Highly appreciate any suggestion as always.
Thanks,
Narayan
________________________________ From: sr-users sr-users-bounces@lists.kamailio.org on behalf of sr-users-request@lists.kamailio.org sr-users-request@lists.kamailio.org Sent: Monday, July 3, 2017 10:00:02 AM To: sr-users@lists.kamailio.org Subject: sr-users Digest, Vol 146, Issue 2
Send sr-users mailing list submissions to sr-users@lists.kamailio.org
To subscribe or unsubscribe via the World Wide Web, visit https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users or, via email, send a message with subject or body 'help' to sr-users-request@lists.kamailio.org
You can reach the person managing the list at sr-users-owner@lists.kamailio.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of sr-users digest..."
Today's Topics:
1. Re: host to get name of local server (Daniel-Constantin Mierla) 2. Re: remote ip address of sender and receiver (Daniel-Constantin Mierla) 3. Re: remote ip address of sender and receiver (Daniel-Constantin Mierla) 4. Re: Question regarding calling a shell script from kamailio (Daniel-Constantin Mierla) 5. Re: Compiling errors (Daniel-Constantin Mierla) 6. Re: evapi module and async_relay (Daniel-Constantin Mierla) 7. Re: Using lock() correctly (Sebastian Damm) 8. Re: call forward on no answer (Daniel-Constantin Mierla) 9. Re: How to convert ipv6 to ipv4 address inside message body (Sebastian Damm) 10. Re: UAC auth for incoming call (Daniel-Constantin Mierla) 11. Re: drouting / do_routing / prefix unknown (Daniel-Constantin Mierla) 12. Re: Using lock() correctly (Daniel-Constantin Mierla) 13. Re: Using lock() correctly (Sebastian Damm) 14. Re: Using lock() correctly (Daniel-Constantin Mierla)
----------------------------------------------------------------------
Message: 1 Date: Mon, 3 Jul 2017 09:03:16 +0200 From: Daniel-Constantin Mierla miconda@gmail.com To: "Kamailio (SER) - Users Mailing List" sr-users@lists.kamailio.org, Henry Fernandes henry@usinternet.com Subject: Re: [SR-Users] host to get name of local server Message-ID: 9c3f6b62-d79f-1376-b0f5-1ccbb69e37c1@gmail.com Content-Type: text/plain; charset="windows-1252"
Hello,
On 29.06.17 18:11, Henry Fernandes wrote:
We have multiple Kamailio 4.4.x servers and I am setting up stats tracking. I would like to track the stats for each individual Kamailio server separately like so:
kamailio_1.sip.register.count kamailio_2.sip.register.count kamailio_3.sip.register.count
The problem is that we use one common file (in version control) for our Kamailio configuration. Thus, I can’t just hardcode the hostname into the file because it will be the same for each server.
Does anyone have a solution for me? Is there a variable that provides the hostname or is there something else I can do?
Ideally, I’d love to be able to do something like this.
statsd_incr($host_name + “.sip.register.count");
one option would be to define it via command line parameter with -A option. Your start script can set it using the usual shell scripts.
Cheers, Daniel
-- Daniel-Constantin Mierla www.twitter.com/micondahttp://www.twitter.com/miconda -- www.linkedin.com/in/micondahttp://www.linkedin.com/in/miconda Kamailio Advanced Training - www.asipto.comhttp://www.asipto.com Kamailio World Conference - www.kamailioworld.comhttp://www.kamailioworld.com