Re: [SR-Users] Redirect server for load balancing and HA

2015-03-13 Thread Daniel Tryba
On Friday 13 March 2015 17:14:31 Olle E. Johansson wrote: I'd love to find out why this is the case. I would have estimated 9 out of 10 people need to fine-tune DTMF + codec settings in Asterisk. The most common solution I've seen is to have kamailio use 10 different ports and have 10

Re: [SR-Users] Redirect server for load balancing and HA

2015-03-13 Thread Olle E. Johansson
On 13 Mar 2015, at 18:45, Daniel Tryba d.tr...@pocos.nl wrote: On Friday 13 March 2015 17:14:31 Olle E. Johansson wrote: I'd love to find out why this is the case. I would have estimated 9 out of 10 people need to fine-tune DTMF + codec settings in Asterisk. The most common solution I've

Re: [SR-Users] kamailio asterisk NOTIFY

2015-03-13 Thread Daniel-Constantin Mierla
Hello, that function might be in textopsx module. Cheers, Daniel On 13/03/15 14:25, Slava Bendersky wrote: Hello Daniel, Where possible find updated version of options for textops. [sr_module.c:701]: find_mod_export_record(): find_export_record: remove_hf_value not found Specially

Re: [SR-Users] Redirect server for load balancing and HA

2015-03-13 Thread Daniel Tryba
On Fri, Mar 13, 2015 at 08:16:50PM +0100, Olle E. Johansson wrote: Cumbersome, why not just use some custom headers (stored in usr_preferences)? There are settings you can't set from the dialplan, but when you can this is a good idea. With modern Asterisks is has been a long time since I

Re: [SR-Users] [RTPproxy] Re: [OpenSIPS-Users] Announcing rtpproxy v2.0.0

2015-03-13 Thread Maxim Sobolev
Do you have any particular RFC in mind? On Mar 12, 2015 10:28 AM, John Mathew john.mat...@divoxmedia.com wrote: Hi, Maxim, Is there any plans for rtp header compression in future. I can't see anything in the change log for 2.0.0 On Tuesday, 10 March 2015, Maxim Sobolev

Re: [SR-Users] remove_hf_value

2015-03-13 Thread Slava Bendersky
Hello Everyone, Here updated version. Trying remove Record-Route after the coma. My log shows Mar 14 01:25:21 canlvprx01 /usr/sbin/kamailio[751]: INFO: script: [SUBSCRIBE], Inbound connection from Client Public IP Mar 14 01:25:21 canlvprx01 /usr/sbin/kamailio[751]: ERROR: script: null Mar

Re: [SR-Users] How to install kamailio-4.2.3 in debian Wheezy

2015-03-13 Thread Daniel-Constantin Mierla
Hello, if you want to install from sources, look at: - http://kamailio.org/wiki/install/4.2.x/git To install from debian packages, add to your apt sources the appropriate repo - see: - http://kamailio.org/wiki/packages/debs Then do: apt-get update apt-cache search kamailio See the

Re: [SR-Users] Regd. Kamailio GPL

2015-03-13 Thread Vicente Hernando
On 03/13/2015 10:19 AM, Daniel-Constantin Mierla wrote: On 12/03/15 16:01, Vicente Hernando wrote: On 03/12/2015 01:45 PM, Daniel-Constantin Mierla wrote: On 12/03/15 06:16, Alex Balashov wrote: I am also not at all an expert in GPL licencing or IP, but would like to add that any

Re: [SR-Users] using xHTTP module, bind port?

2015-03-13 Thread Daniel-Constantin Mierla
Hello, you can add: listen=tcp:1.2.3.4:8080 and handle http requests on that port. You can restrict to have only http traffic on that port adding in the event_route for xhttp: if(dst_port!=8080) { # send forbidden reply } Similar you can add in request_route for sip traffic to be on port

Re: [SR-Users] Regd. Kamailio GPL

2015-03-13 Thread Daniel-Constantin Mierla
On 12/03/15 16:01, Vicente Hernando wrote: On 03/12/2015 01:45 PM, Daniel-Constantin Mierla wrote: On 12/03/15 06:16, Alex Balashov wrote: I am also not at all an expert in GPL licencing or IP, but would like to add that any customisation you make specifically for the purpose of

Re: [SR-Users] Loadmodule mi_xmlrpc.so gives error

2015-03-13 Thread Daniel-Constantin Mierla
Hello, you should use xmlrpc module, it allows you to send RPC commands as well as MI commands via rpc command 'mi'. MI is going to be deprecated and removed at some point. I will look to see if there is anything that can be fixed for mi_xmlrpc, anyhow, you should use latest stable version

Re: [SR-Users] Redirect server for load balancing and HA

2015-03-13 Thread Daniel-Constantin Mierla
Hello, On 13/03/15 08:52, Markus wrote: Hi list, I'm new here, also to Kamailio. My goal is to achieve the standard solution: Kamailio for load balancing and high availability of several Asterisk servers. For starters, I've set it up with Kamailio+dispatcher+permissions acting as a proxy

[SR-Users] Redirect server for load balancing and HA

2015-03-13 Thread Markus
Hi list, I'm new here, also to Kamailio. My goal is to achieve the standard solution: Kamailio for load balancing and high availability of several Asterisk servers. For starters, I've set it up with Kamailio+dispatcher+permissions acting as a proxy and it was working fine, but I'd like to

[SR-Users] msilo clarification

2015-03-13 Thread mayamatakeshi
Hello, maybe this phrase in the msilo doc is misleading: *Every time when a user registers with Kamailio, the module is looking in database for offline messages intended for that user. All of them will be sent to contact address provided in REGISTER request.*

Re: [SR-Users] using xHTTP module, bind port?

2015-03-13 Thread SamyGo
Thanks Daniel, Thats really simple solution, the other thing I was wondering was Authentication since the interface was all open. Maybe I should put in similiar kind on configurations checks to verify users from DB etc ! Best Regards, Sammy. On Fri, Mar 13, 2015 at 4:27 AM, Daniel-Constantin

Re: [SR-Users] msilo clarification

2015-03-13 Thread Daniel-Constantin Mierla
Hello, On 13/03/15 10:54, mayamatakeshi wrote: Hello, maybe this phrase in the msilo doc is misleading: /Every time when a user registers with Kamailio, the module is looking in database for offline messages intended for that user. All of them will be sent to contact address provided in

Re: [SR-Users] kamailio asterisk NOTIFY

2015-03-13 Thread Slava Bendersky
Hello Daniel, Here paste for first SUBSCRIBE. http://fpaste.org/197545/25118514/ Slava. From: Daniel-Constantin Mierla mico...@gmail.com To: Slava Bendersky volga...@networklab.ca Cc: sr-users sr-users@lists.sip-router.org Sent: Thursday, March 12, 2015 5:09:17 AM Subject: Re:

Re: [SR-Users] Regd. Kamailio GPL

2015-03-13 Thread Daniel-Constantin Mierla
On 13/03/15 10:41, Vicente Hernando wrote: On 03/13/2015 10:19 AM, Daniel-Constantin Mierla wrote: On 12/03/15 16:01, Vicente Hernando wrote: On 03/12/2015 01:45 PM, Daniel-Constantin Mierla wrote: On 12/03/15 06:16, Alex Balashov wrote: I am also not at all an expert in GPL licencing or

Re: [SR-Users] msilo clarification

2015-03-13 Thread mayamatakeshi
On Fri, Mar 13, 2015 at 8:25 PM, Daniel-Constantin Mierla mico...@gmail.com wrote: Hello, On 13/03/15 10:54, mayamatakeshi wrote: Hello, maybe this phrase in the msilo doc is misleading: *Every time when a user registers with Kamailio, the module is looking in database for offline

[SR-Users] ERROR: sipcapture [hep.c:139]: hepv2_received(): ERROR: sipcapture:hep_msg_received: unknow protocol [1]

2015-03-13 Thread Satish Patel
Hello, Recently i have installed Homer capture server with kamailio. It works! but in logs i am seeing many error like following, I am using Opensips 2.1 siptrace server to send all trace to Homer. ERROR: sipcapture [hep.c:139]: hepv2_received(): ERROR: sipcapture:hep_msg_received: unknow

Re: [SR-Users] Redirect server for load balancing and HA

2015-03-13 Thread Markus
Hi Daniel, Am 13.03.2015 um 09:47 schrieb Daniel-Constantin Mierla: Can asterisk make some decision on headers? IIRC, someone was mentioning at some point to use Remote-Party-ID (could be now P-Asserted-Identity) header to match on a specific profile. I don't know. I'll ask in the Asterisk

Re: [SR-Users] kamailio asterisk NOTIFY

2015-03-13 Thread Slava Bendersky
Hello Daniel, Where possible find updated version of options for textops. [sr_module.c:701]: find_mod_export_record(): find_export_record: remove_hf_value not found Specially Record-Route manipulation. Slava. From: Slava Bendersky volga...@networklab.ca To: mico...@gmail.com Cc:

Re: [SR-Users] Redirect server for load balancing and HA

2015-03-13 Thread Olle E. Johansson
On 13 Mar 2015, at 16:39, Markus unive...@truemetal.org wrote: Hi Daniel, Am 13.03.2015 um 09:47 schrieb Daniel-Constantin Mierla: Can asterisk make some decision on headers? IIRC, someone was mentioning at some point to use Remote-Party-ID (could be now P-Asserted-Identity) header to

Re: [SR-Users] using xHTTP module, bind port?

2015-03-13 Thread Daniel-Constantin Mierla
You can use permissions module in event_route if you want to limit the access as well as user authentication with auth_check() (like for sip requests). Of course, alternative is to set rules in firewall for that port. In other words, you should be able to do pretty much the same things for

[SR-Users] remove_hf_value

2015-03-13 Thread Slava Bendersky
Hello Everyone, I am trying adjust Record-Route, but can't match headers value And I am call route(ROUTE_HDR_ORG); right after route(WITHINDLG); route[ROUTE_HDR_ORG] { # Getting record routes if(is_present_hf(Record-Route)) { if(is_method(SUBSCRIBE)) {