Re: [SR-Users] How to do request URI rewrites using database tables

2012-02-16 Thread Javier Gallart
Hello Ben dialplan module should help you: http://kamailio.org/docs/modules/3.2.x/modules/dialplan.html Regards Javi > -- > > Message: 5 > Date: Fri, 17 Feb 2012 12:49:04 +1300 > From: Ben WIlliams > Subject: Re: [SR-Users] How to do request URI rewrites using data

[SR-Users] mi_xmlrpc not compiling on Solaris

2012-02-16 Thread Nathaniel L Keeling
Hello, I am trying to compile mi_xmlrpc on Solaris 10 64bit OS and I am getting this error: CC (gcc) [M mi_xmlrpc.so] abyss_xmlrpc_server.o abyss_xmlrpc_server.c:948:1: error: conflicting types for 'shutdownAbyss' abyss_xmlrpc_server.c:945:34: note: previous declaration of 'shu

Re: [SR-Users] How to do request URI rewrites using database tables?

2012-02-16 Thread Ben WIlliams
I've managed to get dbaliases and lcr to do most of this. But the lcr prefix does not allow regular expressions. Is there any other module that allows you to store in the database a regular expression rewrite rule? On Thu, Feb 16, 2012 at 1:21 PM, Ben WIlliams wrote: > Hi, can someone please reco

Re: [SR-Users] CAcert root in Lumicall

2012-02-16 Thread David
What SIP stack does this use? Is it open source? Thanks. On 2/16/12 6:22 PM, Daniel Pocock wrote: Another strategy is to modularise the app: e.g. divide Lumicall into 3 apps, each with less permissions, and they collaborate using inter-process communication (IPC) Not sure it will help much, f

Re: [SR-Users] CAcert root in Lumicall

2012-02-16 Thread Daniel Pocock
>> Another strategy is to modularise the app: e.g. divide Lumicall into 3 >> apps, each with less permissions, and they collaborate using >> inter-process communication (IPC) > Not sure it will help much, from my point of view -- having too many > apps to install for getting a proper user experien

[SR-Users] Kamailio Exits With: Segmentation Fault Error 4 in usrloc.so

2012-02-16 Thread Simpson Chua
Hi, Kamailio is exiting with a segmentation fault when trying to do a save("location"). Here is some information I gathered. Feb 16 15:30:19 ubuntu /usr/local/sbin/kamailio[25721]: DEBUG: [parser/msg_parser.c:103]: found end of header Feb 16 15:30:19 ubuntu /usr/local/sbin/kamailio[25721]: ERR

[SR-Users] Need example of Kamailio.cfg for a port mirror setup

2012-02-16 Thread Nelson Pereira
I would like to know if someone can show me an example of there setup configuration in kamailio.cfg for capturing packets comming in from a mirror port. The reason I ask is that if I do a TCPDUMP on the server, I see all traffic to and from different sources on my Voice network. But when I use Hom

Re: [SR-Users] Problems with TCP

2012-02-16 Thread Marius Zbihlei
On 02/16/2012 05:26 PM, Mino Haluz wrote: 2) I tried to set mhomed=1, but it has become even worse - No out socket. Hello, mhomed only works for UDP connection. It shouldn't have any effect on TCP. There must be something else. For TCP and multihomed, I think you have to use force_send_sock

Re: [SR-Users] Problems with TCP

2012-02-16 Thread Mino Haluz
2) I tried to set mhomed=1, but it has become even worse - No out socket. So I tried to disable it again and force kamailio to listen on physical address as well (so simultaneously on virtual and physical). The error disappeared, but the BYE message is not forwarded, it is processed and onsend even

Re: [SR-Users] Question on ("sipcapture", "raw_interface", "")

2012-02-16 Thread Nelson Pereira
but im not talking about sniff, but the SIPCAPTURE raw_interface function... On Thu, Feb 16, 2012 at 8:57 AM, Klaus Darilion < klaus.mailingli...@pernau.at> wrote: > Using tcpdump/ngrep it is not possible to sniff on 2 interfaces, but it is > possible to sniff an the "any" pseudo interface: > >

Re: [SR-Users] Question on ("sipcapture", "raw_interface", "")

2012-02-16 Thread Klaus Darilion
Using tcpdump/ngrep it is not possible to sniff on 2 interfaces, but it is possible to sniff an the "any" pseudo interface: tcpdump -i any . ngrep -d any . There may be other sniffing tools which support to sniff on multiple interfaces. regards Klaus On 16.02.2012 14:09, Nelson Pere

Re: [SR-Users] how to match exact string value in mtree (Uri Shacked)

2012-02-16 Thread Javier Gallart
quot;,"1")) > if(!mt_match("nts", "$avp(DID)","2")) > if(!mt_match("nts", "$avp(DID)","0")) > > and lets say i have the both prefix in the nts mtree: > 09555 > 09555333 > > And the prefix i search for is $avp(DID)=0

[SR-Users] Question on ("sipcapture", "raw_interface", "")

2012-02-16 Thread Nelson Pereira
Is it possible to monitor 2 interfaces? I have 2 Asterisk servers and they are on 2 different switches so I need to capture ETH0 and ETH3 which is where the mirror ports are connected to from each switch. Thanks ___ SIP Express Router (SER) and Kamailio

Re: [SR-Users] Kamailio Asterisk Followup

2012-02-16 Thread Stoyan Mihaylov
I route calls to Kamailio only if user is registered there. Other calls I route directly to outbound provider. On Wed, Feb 15, 2012 at 7:45 PM, Olle E. Johansson wrote: > > 15 feb 2012 kl. 18:29 skrev Stoyan Mihaylov: > > > I did - registration is purely in Kamailio. > > In Asterisk - I created

Re: [SR-Users] strage result in math with $vars in 3.2.2

2012-02-16 Thread Uri Shacked
Hi, another thing in that subject - i am using kamailio with 4096Mb of shmem. when i do "kamctl fifo getstatistics shmem:" i get the right value. but, when i try to do $stat(total_size) and get it on xlog, it shows the value 0. how do i overcome it? Cheers, Uri On Wed, Feb 8, 2012 at 1:38 PM, Uri

Re: [SR-Users] How to reload dispatcher destinations

2012-02-16 Thread Mino Haluz
-> It reloads the groups and included destinations. The command is disabled for call load based dispatching (algorithm 10) since removal of destinations may leave the list of active calls with broken references. But nevermind, I realised that the dispatchers list can be updated with set_state On

[SR-Users] how to match exact string value in mtree

2012-02-16 Thread Uri Shacked
Hi, I am using Mtree to match prefix numbers, some of them starts with 0 or characters like D for example. so, the mtree param is like this: modparam("mtree", "db_url", CFGDB) modparam("mtree", "mtree", "name=nts;dbtable=service_numbers_view;type=0;") modpmodparam("mtree", "char_list", "012345678

Re: [SR-Users] How to reload dispatcher destinations

2012-02-16 Thread Sammy Govind
which version are you using, there is no such condition in this page or is it? http://kamailio.org/docs/modules/3.1.x/modules_k/dispatcher.html#id2821010 On Thu, Feb 16, 2012 at 2:31 PM, Mino Haluz wrote: > Hi, > > is there any way how to reload dispatcher destinations (located in db) > without

[SR-Users] How to reload dispatcher destinations

2012-02-16 Thread Mino Haluz
Hi, is there any way how to reload dispatcher destinations (located in db) without restarting the kamailio when algorithm 10 (call load balancing) is used ? I read in documentation, that this command is disabled when this algorithm is used. Thanks, Mino ___

Re: [SR-Users] some questions

2012-02-16 Thread Sammy Govind
Can you send the output of following commands: 1# ifconfig 2# netstat -pln 3# route -n I just want to see how is your VPN interface routing done and if a tunnel interface is created your kamailio is listening on that interface or not ! Regards, Sammy On Thu, Feb 16, 2012 at 2:10 PM, 393319152 <

[SR-Users] some questions

2012-02-16 Thread 393319152
dear friends: I'm using the kamailio as my sip server and it has a public ip. There are two nac: A and B, A has a privite ip, B has a privite ip that is seted with VPN . And now, A can register successfully, but B can't . I want A to connect B and trans information. I don't know why ,