Re: [SR-Users] Selectively enable / disable cdrs using acc module

2018-07-20 Thread Sergiu Pojoga
Assuming your acc log_flag is set to FLT_ACC, it should be as simple as not setting or resetting the FLT_ACC flag, depending on the script logic. You will probably need to do that for both INVITEs and BYEs On Fri, Jul 20, 2018 at 2:48 PM M S wrote: > Hi, > > I have a kamailio v5.0 setup where

Re: [SR-Users] forbidden domain not served

2018-07-20 Thread eyas barhouk
any ideas dears ???!!! From: sr-users on behalf of eyas barhouk Sent: Wednesday, July 18, 2018 7:58 PM To: sr-users@lists.kamailio.org Subject: [SR-Users] forbidden domain not served Dears i'm using kamilio 5.2.0 as IMS with Zoiper client and RTP Engine

[SR-Users] Selectively enable / disable cdrs using acc module

2018-07-20 Thread M S
Hi, I have a kamailio v5.0 setup where cdrs are enabled using acc module. Is there a way to enable / disable cdrs on per call basis in kamailio script? For example i want to allow cdrs only for offnet calls and disable them for onnet calls? May be a dialog flag configurable in module parameters

Re: [SR-Users] uri==myself

2018-07-20 Thread Karthik Srinivasan
Please disregard the follow up question i posted. I misled myself in thinking the variables themselves were being populated by defaulted ports. rather it's the check to ==myself that's doing it. thanks again. Karthik On Fri, Jul 20, 2018 at 11:36 AM, Karthik Srinivasan wrote: > One follow

Re: [SR-Users] uri==myself

2018-07-20 Thread Karthik Srinivasan
One follow up question here: Can you point me to the location of the source code that unpacks the request uri/from uri and sticks them into the $ru/$fu pseudo vars please. I already have confirmed (via testing) that $ru won't have a defaulted port set to it if no port exists in the request uri.

Re: [SR-Users] how to configure ims in kamailio

2018-07-20 Thread Daniel-Constantin Mierla
Hello, On 20.07.18 15:45, Valentin Christoph wrote: > > Hi Vinod, > >   > > Kamailio comes with several modules that are implemented specifically > for the support of IMS configurations. Their names start with “ims_”. > >   > > To know, how to load and configure those modules for use in an ims,

Re: [SR-Users] uri==myself

2018-07-20 Thread Karthik Srinivasan
Yes, i see it defaulting there. Thanks again for the help. Karthik On Fri, Jul 20, 2018 at 7:57 AM, Daniel-Constantin Mierla wrote: > The evaluation for uri==myself condition is done inside src/core/route.c > starting with line 1817. I see there that it takes default SIP port if none > is set

[SR-Users] dialog module with dmq

2018-07-20 Thread E. Schmidbauer
Is anyone using dialog module with DMQ to share dialogs across multiple kamailio instances? i've been testing it and it seems unreliable. sometimes the dialog data is sent from nodeA to nodeB, sometimes it is not. im wondering if im missing some settings or it's a bug. I tested latest master

Re: [SR-Users] how to configure ims in kamailio

2018-07-20 Thread Valentin Christoph
Hi Vinod, Kamailio comes with several modules that are implemented specifically for the support of IMS configurations. Their names start with “ims_”. To know, how to load and configure those modules for use in an ims, there are example config files, afaik in branch 4.4 at examples/pcscf,

Re: [SR-Users] KEMI: accessing "keyword" variables from core

2018-07-20 Thread Daniel-Constantin Mierla
Hello, all the keywords should have corresponding variables, in these cases:   - dst_port should be $Rp (received on port)   - src_port should be $sp You can look in the pseudo-variables cookbook on kamailio.org/wiki to confirm. Cheers, Daniel On 20.07.18 12:48, Enrico Bandiera wrote: > Hi,

Re: [SR-Users] uri==myself

2018-07-20 Thread Daniel-Constantin Mierla
The evaluation for uri==myself condition is done inside src/core/route.c starting with line 1817. I see there that it takes default SIP port if none is set in the r-uri. Cheers, Daniel On 20.07.18 06:48, Karthik Srinivasan wrote: > So, i think i have determined the root cause of my issue: > >

Re: [SR-Users] NATHELPER issue

2018-07-20 Thread Konstantin Polyakov
Hello Ali, ACK is sent by UAC to the Contact which is received in OK from UAS. So from my point of view you need to fix that Contact in OK on your proxy. My NATDETECT looks like:     if (nat_uac_test("19")) {        fix_nated_contact();     } I call it for requests and responses. Best

[SR-Users] KEMI: accessing "keyword" variables from core

2018-07-20 Thread Enrico Bandiera
Hi, anyone how to access keyword variables like dst_port or src_port from kemi? (specifically python in our case). Thanks, Enrico. ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org

[SR-Users] NATHELPER issue

2018-07-20 Thread Ali Taher
Hello, I'm using Kamailio 4.2 as proxy with nathelper enabled. Yet , the ACK packet sent from the proxy to the origination's private IP. The ACK is sent as reply on the following 200 OK sent from the origination : 8m2EJN41BN/6WSIP/2.0 200 OK From: ;tag=XQBQNjvjgp4Ze To:

Re: [SR-Users] The problem of get_aor_hash function

2018-07-20 Thread Henning Westerholt
Am Freitag, 20. Juli 2018, 07:23:24 CEST schrieb tyd: > I had modified ims_usrloc_pcscf/udomain.c about hash function and related > codes. > ex. via_host replaces with aor > > aorhash = get_aor_hash(_d, _info->aor, contact_info->via_port, > contact_info->via_prot); > //aorhash =