Re: [SR-Users] Changing METHOD

2012-12-19 Thread Uriel Rozenbaum
Hi Olle, Glad to help you, man! You can create a new synthetic transaction on the script. I did this as part of the following tutorial to scale asterisk and kamailio: http://kb.asipto.com/asterisk:realtime:kamailio-3.3.x-asterisk-10.7.0-astdb Maybe it is a long shot, but it's worth trying. Che

Re: [SR-Users] Internal/External SIP setup

2012-12-04 Thread Uriel Rozenbaum
The answer is YES. The setup you talk about requires a little work on the routing domain, but with Kamailio and RTPProxy you'll be fine. On Tue, Dec 4, 2012 at 8:00 PM, Zero Aggression < zeroaggress...@googlemail.com> wrote: > hanks so muc ___ SIP Expre

[SR-Users] Architecture

2012-06-15 Thread Uriel Rozenbaum
Hey guys, I'm trying to plan a deployment for a couple thousands of users. As we are facing now some issues for scaling, I'd like to make a modular architecture in order to add a server when needed. I was thinking about N+1 Kamailio Proxies to Register customers and handle the border of the netwo

Re: [SR-Users] SIP Softphone with RPID and PAI

2010-11-24 Thread Uriel Rozenbaum
Good, I'll try it as well... Thanks! On Wed, Nov 24, 2010 at 5:04 PM, Andrew Pogrebennyk wrote: > On 24.11.2010 22:02, Uriel Rozenbaum wrote: >> >>  :)  I know is not the answer I expected, but I'll do something like >> that, maybe use sipp or sipsak. > >

Re: [SR-Users] SIP Softphone with RPID and PAI

2010-11-24 Thread Uriel Rozenbaum
:) I know is not the answer I expected, but I'll do something like that, maybe use sipp or sipsak. Thanks! Uriel On Wed, Nov 24, 2010 at 5:40 AM, Klaus Darilion wrote: > > > On 23.11.2010 19:58, Uriel Rozenbaum wrote: >> >> Hey Guys, >> >> I was wonder

[SR-Users] SIP Softphone with RPID and PAI

2010-11-23 Thread Uriel Rozenbaum
Hey Guys, I was wondering if anyone knows some Windows Based softphone to do some tests on my Kamailio 1.5.4 deployment that will allow insertion of custom headers or at least Remote-Party-ID and/or P-Asserted-Identity. Thanks in advance, Uriel ___ SIP

Re: [SR-Users] Extension state

2010-11-10 Thread Uriel Rozenbaum
You can use dialog module to track living dialogs (hence sessions). You can use it with a DB backend, so YES. On Wed, Nov 10, 2010 at 6:41 PM, Lucas Alvarez wrote: > Hi, is there a way "database driven" to know who is using the phone? Thanks > in advance. > Lucas > ___

[SR-Users] Dialplan module sample

2010-10-26 Thread Uriel Rozenbaum
Hey guys, Does someone have an example for rules used with this module? I understand how to use the module, but not how to fill the database. I intend to use some prefix matching and regex (if available). Thanks in advance! Uriel ___ SIP Express Route

Re: [SR-Users] dictionary attacks

2010-10-24 Thread Uriel Rozenbaum
Juha, I think we should be specially careful about black-lists. We receive many of these attacks in a per-day basis and a lot of them are from residential addresses or university, so I'm guessing some kind of worm or trojan performing the attack from various IPs. If you have the time, try fail2ba

Re: [SR-Users] HTable 'size' parameter

2010-10-16 Thread Uriel Rozenbaum
Iñaki, Just as an addition from experience on hash tables, the first "sweet-spot" on the design is to have a fairly good algorithm so that different keys are mapped on different hash values. You cannot pick this (as far as I read) but we'll think it as fair enough. What you can do to "help" the al

Re: [SR-Users] where to look

2010-10-14 Thread Uriel Rozenbaum
Probably you filled some modparam with 'x' or you are using SQL OPS and sent a Query with a 'x' column that does not exist. On Thu, Oct 14, 2010 at 11:00 AM, Anders wrote: > Hi, > > I was wondering if a message like this below in the syslog contains > any lead as to where to look for the

[SR-Users] General question

2010-10-06 Thread Uriel Rozenbaum
Guys, This mail has nothing to do with Kamailio or SR, so feel free to discard it. I'm trying to find a command-line tool to grab updates from an RSS feed. I tried to install rsstail but it has a lot of dependencies and cannot make it work. Does anyone have some software I can download and use

Re: [SR-Users] Duplicate INVITE Handling

2010-08-30 Thread Uriel Rozenbaum
concerned about the retransmission scenario and the t_check_trans() call > will break/exit the script... > > Thanks for your help. > > On Mon, Aug 30, 2010 at 1:28 PM, Uriel Rozenbaum > wrote: >> >> Hi, >> >> Check t_check_trans() from tm module. >> >&g

Re: [SR-Users] Duplicate INVITE Handling

2010-08-30 Thread Uriel Rozenbaum
Hi, Check t_check_trans() from tm module. It does all on its own http://kamailio.org/docs/modules/1.5.x/tm.html#id2509242 Cheers, Uriel On Mon, Aug 30, 2010 at 2:19 PM, Geoffrey Mina wrote: > Hello, > I have a question about what the proper way to handle a duplicate > presentation of an INVIT

Re: [SR-Users] Issue using subst

2010-08-15 Thread Uriel Rozenbaum
Hi Henning, I'll try using $pa if it is available. With $re I vave the issue on some gateways that send 2 RPID headers (one for called and other for caiiling party). Cheers, Uriel On Fri, Aug 13, 2010 at 1:16 PM, Henning Westerholt wrote: > On Friday 13 August 2010, Uriel Rozenba

Re: [SR-Users] Issue using subst

2010-08-13 Thread Uriel Rozenbaum
ewPAI) = $avp(s:ANIegress) + " "; $avp(s:oldPAI) = $(hdr(P-Asserted-Identity)); } remove_hf("P-Asserted-Identity"); append_hf("P-Asserted-Identity: $avp(s:newPAI)\r\n", "Privacy"); } Cheers, Uriel On Thu, Aug 12, 2010 at 6:29 PM, Al

Re: [SR-Users] Issue using subst

2010-08-12 Thread Uriel Rozenbaum
te-Party-ID"); > > 3. append_hf("Remote-Party-ID: "); > > :) > > On 08/11/2010 02:00 PM, Uriel Rozenbaum wrote: > >> Hi guys, >> >> I'm having a weird situation when trying to modify some parts of the >> RPID on my config file. I&

[SR-Users] Issue using subst

2010-08-11 Thread Uriel Rozenbaum
Hi guys, I'm having a weird situation when trying to modify some parts of the RPID on my config file. I'm using Kamailio 1.5.3-notls The code is the following: ... subst('/^Remote-Party-ID:(.*)sip:(.*)@(.*)$/Remote-Party-ID:\1sip:$avp(s:ANIegress)@\3/ig'); subst('/^Remote-Party-ID:(.*)"(.*)"(.*)

Re: [SR-Users] Simple Call Accounting

2010-08-09 Thread Uriel Rozenbaum
Just as an addendum to Alex's comment, I'm doing the exact same thing with MySQL triggers. Most strange situations can be worked around using some parameter in ACC or DIALOG modules (if working together). Our main cause is that we have many proxies and a central DB, so the work is performed by on

[SR-Users] Problem making Kamailio 3.0

2010-08-03 Thread Uriel Rozenbaum
Hi guys, At the risk of showing unmatched stupidity I'm asking these few questions. I've downloaded the tarball sources for Kam3.0.2, uncompressed them and run make on a virtual machine that used to have Kam1.5.3. I edited the CFG file to make it work with the new version but still I cannot make

Re: [SR-Users] multiple instances on different ports

2010-07-27 Thread Uriel Rozenbaum
Hi, As it is stated on the documentation, force_send_socket() can only take a listening interface as an argument. Try adding listen=udp:192.168.1.111:5060 Cheers, Uriel On Tue, Jul 27, 2010 at 10:51 AM, Alex rsm wrote: > Hi, > > Thanks for your response: When using the function you suggested:

Re: [SR-Users] multiple instances on different ports

2010-07-26 Thread Uriel Rozenbaum
Hi, try using force_send_socket but you'll have to declare the socket with 5060 as well http://www.kamailio.org/dokuwiki/doku.php/core-cookbook:3.0.x#force_send_socket Cheers, Uriel On Mon, Jul 26, 2010 at 5:38 PM, Robert R wrote: > Hi, > > I am trying to run multiple different instances of op

Re: [SR-Users] Use AVP as regex in avp_subst

2010-07-10 Thread Uriel Rozenbaum
re quite capable these days.  I do this in PostgreSQL all the > time. > > On 07/08/2010 01:53 PM, Uriel Rozenbaum wrote: > >> Hi Alex, :) >> >> I was just trying to keep it simple, but let me explain a little bit. >> >> I'm using a Proxy+RTPProxy in mho

Re: [SR-Users] Use AVP as regex in avp_subst

2010-07-08 Thread Uriel Rozenbaum
> > -- > Alex Balashov - Principal > Evariste Systems LLC > 1170 Peachtree Street > 12th Floor, Suite 1200 > Atlanta, GA 30309 > Tel: +1-678-954-0670 > Fax: +1-404-961-1892 > Web: http://www.evaristesys.com/ > > On Jul 8, 2010, at 10:30 AM, Uriel Rozenbaum &g

Re: [SR-Users] Use AVP as regex in avp_subst

2010-07-08 Thread Uriel Rozenbaum
ot the config. Thanks! Uriel On Thu, Jul 8, 2010 at 5:55 AM, Daniel-Constantin Mierla wrote: > Hello, > > On 7/7/10 11:06 PM, Uriel Rozenbaum wrote: >> >> Hey guys, >> >> I'm using Kamailio 1.5.3-notls and need to apply some re operation to an >> AVP

[SR-Users] Use AVP as regex in avp_subst

2010-07-07 Thread Uriel Rozenbaum
Hey guys, I'm using Kamailio 1.5.3-notls and need to apply some re operation to an AVP. The problem I have is that my re expression is held in an AVP, so the parser is not recognizing it :( Would it be very hard to change that behavior? Any ideas/tips to implement? This code route[16] {

[SR-Users] Functions to parse URI parameters

2010-06-18 Thread Uriel Rozenbaum
Hey Guys, Is there any module/function to parse and assign to AVPs parameters from RPID? (in kamailio 1.5.3) I'm using $(hdr(Remote-Party-ID){tobody.params}) to get the parameters but maybe there's something already implemented to get privacy, screen, etc. I'll be using this with P-Asserted-Iden

Re: [SR-Users] continue processing route script if no response from gateway

2010-05-27 Thread Uriel Rozenbaum
JR, Maybe for subsequent routes you'd like to use $oU (original URI Username) that is the original number you intend to route. Rgds, Uriel On Thu, May 27, 2010 at 1:23 PM, JR Richardson wrote: > On Thu, May 27, 2010 at 10:09 AM, Henning Westerholt > wrote: > > On Thursday 27 May 2010, JR Richa

Re: [SR-Users] RTPproxy in bridge mode question

2010-05-04 Thread Uriel Rozenbaum
contact). > > regards > klaus > > Am 30.04.2010 18:32, schrieb Uriel Rozenbaum: > >> Guys, >> >> I'm successfully using a Kamailio + RTPproxy setup in bridge mode with >> most of my Gateways. My setup includes two different interfaces one with >> a p

Re: [SR-Users] Simple Trunking with Kamailio

2010-04-30 Thread Uriel Rozenbaum
Hi Jared The answer is Yes. Just keep in mind you will have to work on the cfg to identufy which calls should go to the PSTN and format them accordingly to be routed properly. You have plenty of modules to route calls to GWs. I always pick carrierroute because of the flexibility and power to act

Re: [SR-Users] RTPproxy in bridge mode question

2010-04-30 Thread Uriel Rozenbaum
checking the > receiving interface, $Ri is the local IP where the request was received, > therfore you will be sending on the other interface. Are you doing force > send socket to select outgoing interface? If yes, then is where you know the > local ip for sending. > > Cheers,

[SR-Users] RTPproxy in bridge mode question

2010-04-30 Thread Uriel Rozenbaum
.200.Y:5060 INVITE sip:60911...@192.168.200.y SIP/2.0. Via: SIP/2.0/UDP 192.168.200.X:5060;branch=z9hG4bK096baacc;rport. From: "Uriel Rozenbaum" ;tag=as32794d5e. To: . Contact: . U 200.A.A.A:5060 -> 200.B.B.B:5060 INVITE sip:898960911...@200.b.b.b SIP/2.0. Record-Route: . Recor

Re: [SR-Users] [permissions] 'address' table and mask priorirty

2010-04-28 Thread Uriel Rozenbaum
Iñaki, Maybe you can try with 2 masks that are not 32. example: Entry 1: - grp = 1 - ip_addr = 9.9.9.128 - mask = 25 Entry 2: - grp = 2 - ip_addr = 9.9.9.0 - mask = 24 And then verify if the order or id matters. But as per Juha's comment, the result can be unpredictable. Maybe we an