[SR-Users] htable feature request

2012-04-17 Thread Andreas Granig
Hi, I'd like to ask for a feature request for htable. Would it be possible to add an MI function to delete specific entries from an htable, e.g. with "sercmd htable.remove " before freezing 3.3? That'd be handy for example if you hold blocked IPs in htable, but want to unblock some of them manua

[SR-Users] How to configure Kamailio routing logic based on mobile phone numbers

2012-04-17 Thread Tam Doan
Hi there, Now I could configure Kamailio routing logic based on service's short code (i.e route calls to 200, 300 to separated service's appliction (so call, app serv 1 and app serv 2). My problem is how can i configure Kamailio so that it can route the call from mobile numbers, such as calls from

Re: [SR-Users] dropped calls after 38 seconds openSER

2012-04-17 Thread Stoyan Mihaylov
I used wireshark on all interfaces and there I saw reentrance of ACK and BYE. Then I spent lot of time to find how to go around. On Tue, Apr 17, 2012 at 10:41 PM, Saul Waizer wrote: > Daniel, i got a fresh install kamailio 3.2.0 running on ubuntu per your > suggestion. rtpproxy is running as wel

Re: [SR-Users] SIP Status: 401 Unauthorized (0 bindings)

2012-04-17 Thread Stoyan Mihaylov
7(29749) DEBUG: auth [api.c:95]: auth: digest-algo: MD5 parsed value: 1 I think you have to check authorization - this is part of my config: #!define DBURL "mysql://user:p...@ip.of.mysl.db/openser" modparam("auth_db", "db_url", DBURL) modparam("auth_db", "calculate_ha1", yes) modparam("auth_db", "

Re: [SR-Users] dropped calls after 38 seconds openSER

2012-04-17 Thread Saul Waizer
Daniel, i got a fresh install kamailio 3.2.0 running on ubuntu per your suggestion. rtpproxy is running as well. My nathelper looks like this: # - nathelper params - modparam("nathelper", "natping_interval", 3) modparam("nathelper", "ping_nated_only", 0) modparam("nathelper", "sipping_bfla

Re: [SR-Users] SIP Status: 401 Unauthorized (0 bindings)

2012-04-17 Thread Saul Waizer
Thank you, I enabled higher verbosity and got the following: 7(29749) DEBUG: tm [t_lookup.c:1148]: DEBUG: t_check_msg: msg id=2 global id=2 T end=(nil) 7(29749) ERROR: *** cfgtrace: c=[/etc/kamailio/kamailio.cfg] l=470 a=6 n=route 7(29749) ERROR: *** cfgtrace: c=[/etc/kamailio/kamailio.cfg] l

Re: [SR-Users] SIP Status: 401 Unauthorized (0 bindings)

2012-04-17 Thread Stoyan Mihaylov
You have to check username, password, realm. Also - whether password is plaintext or not. If this do not work, you can put debug=4 or even more. Then you will receive plenty of messages, but may be you will see what is wrong. On Tue, Apr 17, 2012 at 9:16 PM, Saul Waizer wrote: > Hello List, > >

[SR-Users] SIP Status: 401 Unauthorized (0 bindings)

2012-04-17 Thread Saul Waizer
Hello List, I have a fresh install kamailio 3.2.0 running on ubuntu. Everything seems to work fine according to the logs, I have enabled support for the following: - enabled support to connect to MySQL server - enabled user authentication - enabled persistent user location service -

Re: [SR-Users] SIP Attack

2012-04-17 Thread Reda Aouad
Hi, Do you have any client that is sending a corrupt request to the "AddPac SIP Gateway" at 190.22.140.170, so that this gateway is replying "400 bad request" ? Maybe you could resolve this problem at the source.. If it's not the case, you can send an email to the owner of the IP address. A quick

Re: [SR-Users] SIP Attack

2012-04-17 Thread Vineet Menon
IMHO preventing the packet to reach kamailio is better (via iptables) than doing something in kamailio itself Regards, Vineet Menon On 17 April 2012 20:32, Ricardo Martinez wrote: > Hello. > > I was wondering if someone could help me here. From time to time I stat > to receive from the

[SR-Users] SIP Attack

2012-04-17 Thread Ricardo Martinez
Hello. I was wondering if someone could help me here. From time to time I stat to receive from the internet this SIP message : U 190.22.140.170:51316 -> 64.76.154.110:5060 SIP/2.0 400 BadRequest. Via: . From: . To: . Call-ID: . CSeq: . User-Agent: AddPac SIP Gateway. Content-Length: 0.

Re: [SR-Users] registrar/usrloc updates - gruu support (rfc 5627)

2012-04-17 Thread Daniel-Constantin Mierla
Hello, one new updates was done to usrloc/registrar, to take in consideration reg-id Contact parameter specified by RFC 5626. This parameter is used to match usrloc records along with +sip.instance parameter (when present). You will need to update/re-create location and aliases tables -- note

[SR-Users] uac module incoming INVITE become wrong dst_ip address

2012-04-17 Thread Karsten Horsmann
Hello List, i am nearly finishing my multihomed config (public ip/internal ip) with kamailio. For incoming calls i want to use the uac module too. Then i want to locate an permanet entry and dispatch it to ivr system behind kamailio. i tried something like this: if (lookup("location") &&

Re: [SR-Users] dispatcher didnt use the gateway

2012-04-17 Thread Karsten Horsmann
Hi Reda, i fix it. forward() is stateless and so one then i breaks many things in my multihomed setup. I use transaction for it and then it works. To prevent internal Invites to get dispatched, i used the dst_ip. I just want external incoming calls to be dispatched. route[INVITE] { # -