Re: [SR-Users] Need to validate a IP address with subnet mask

2016-02-09 Thread Sunil More
Hey Phil, Thank you for the input , this helps. Thanking You, Sunil More On Wed, Feb 10, 2016 at 12:40 PM, Phil Lavin wrote: > 2 ways: > > > > · is_in_subnet() - > http://www.kamailio.org/docs/modules/3.4.x/modules/ipops.html#idp42416 > > · Add the IP and mask to the address

Re: [SR-Users] Need to validate a IP address with subnet mask

2016-02-09 Thread Phil Lavin
2 ways: · is_in_subnet() - http://www.kamailio.org/docs/modules/3.4.x/modules/ipops.html#idp42416 · Add the IP and mask to the address table and use allow_source_address() - http://kamailio.org/docs/modules/3.1.x/modules_k/permissions.html#id2528610 Phil From: sr-users [ma

[SR-Users] Need to validate a IP address with subnet mask

2016-02-09 Thread Sunil More
Hi All, I want to validate a IP address in kamailio for requests coming from different IPs. I have browsed and found permissions module, however is there a way where i can directly compare a source IP address to an address stored in an avp and get a true or false value. something like this $si==

[SR-Users] Terminate dialogs on [websocket:closed]

2016-02-09 Thread mayamatakeshi
Hello, I am using module websocket and it works very well. However I would like to send BYE to the other end if event [websocket:closed] happens. >From the docs I can see websocket module itself doesn't provide for this. I was considering doing something like this: - use module htable to match $

Re: [SR-Users] Kamailio IMS deployment

2016-02-09 Thread Franz Edler
HI, > Even we observed in Wireshark traces, no username is included in REGISTER > request. Any changes required? > No, we are not using NATURAL in our platform. The "NATURAL" has been an automatic spell checking of my tablet. It should have been "NAT". > Observed there is no communication betwe

Re: [SR-Users] Kamailio IMS deployment

2016-02-09 Thread sainath.ellendula
Hi Franz, Thanks for your response. Even we observed in Wireshark traces, no username is included in REGISTER request. Any changes required? No, we are not using NATURAL in our platform. Observed there is no communication between PCSCF – ICSCF while registration and also attaching the tracefile

[SR-Users] info: dialog_ng renamed to ims_dialog

2016-02-09 Thread Daniel-Constantin Mierla
Hello, based on a previous discussion on mailing lists, I just renamed the dialog_ng to ims_dialog in order to reflect better its purpose nowadays (use together with the other ims modules) and avoid confusion that it is something that includes the features of dialog module and some new stuff. Fun

Re: [SR-Users] rfc: kamailio.cfg polishing for v4.4

2016-02-09 Thread Daniel-Constantin Mierla
Hello, thanks for the feedback! My comments inline. On 09/02/16 09:37, Phil Lavin wrote: > Hi Daniel, > > Generally I think the default kamailio.cfg is fairly good. I did a few things > to it for a basic registrar, presence server and proxy. Mostly implementation > specific things but some are

Re: [SR-Users] rfc: kamailio.cfg polishing for v4.4

2016-02-09 Thread Phil Lavin
Hi Daniel, Generally I think the default kamailio.cfg is fairly good. I did a few things to it for a basic registrar, presence server and proxy. Mostly implementation specific things but some are more general. I will list the more general ones below: :: Syntax is inconsistent - There's differe