[SR-Users] PV Setting Question

2017-05-17 Thread Duarte Rocha
d res->rs.len and both values are fine. I just can't access them in the configuration file. Thanks in advance for your help! Cheers, Duarte Rocha ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mai

[SR-Users] How to use $var as arguments to module functions

2017-11-14 Thread Duarte Rocha
Greetings, Is there a way to use the NATHELPER functions with a variable insted of a string with the value ? For example, I can do "fix_nated_sdp("11");" but Kamailio throws an error if i use "fix_nated_sdp("$(var(nat_fix)");" or any other variations. How should i proceed to be able to do this

Re: [SR-Users] How to change R-URI Username

2017-12-14 Thread Duarte Rocha
Thanks for your answer. It doesn't go away when i delete those lines. In fact, i'm using them only to avoid this kind of errors. If i comment out msg_apply_changes() the changes to $rU don't get persistent and i can't find another method to change it.

[SR-Users] How to change R-URI Username

2017-12-14 Thread Duarte Rocha
Hey everyone. I'm doing some Calling Number and Called Number normalization at the beggining and end of the Kamailio. At the end, i'm doing it in the Dispatch Route. In order to change the numbers, i use uac_replace_to() and uac_replace_from(). However, i don't have a function like this for the

[SR-Users] Kamailio Multi IP

2017-12-05 Thread Duarte Rocha
Greetings, I have a Kamailio that is hosted on multiple IP's. Each client connects to an IP and there is another IP that communicates with the PSTN. The problem is that I don't want any client "seeing" any IP besides his. If the client (connected to kamailio's IP 1.1.1.1) receives an request

[SR-Users] Change Calling Number

2017-12-11 Thread Duarte Rocha
Hey I'm trying to do some normalization on my Calling Number after Kamailio chooses the Gateway in which it will deliver the request. So, i'm trying to do the operation in the DISPATCH route. However, in this route, msg_apply_changes() doesn't work and returns (-1). I've tried to do this on a

Re: [SR-Users] Kamailio Multi IP

2017-12-06 Thread Duarte Rocha
Thnaks for the reply. I don't need mhomed since i do the socket forcing by myself after the the DISPATCH selects the Gateway. What i need is something that modifies the SIP Request in order to use the outbound IP in the R-URI, To-Header, etc. I'm doing that using the $td and $rd pseudo-variables,

[SR-Users] Copy $xavp

2018-05-08 Thread Duarte Rocha
Greetings, I'm getting a query result in a $xavp. I'm trying to copy the entire structure to a new $xavp like this : $xavp(Valid_Acd_Results) = $xavp(ACD_Query_Result[$var(iterator)]); However, i can't retrieve the value with : xnotice(" Mode = $xavp(Valid_Acd_Results=>TBK_AcdMode)"); since it

[SR-Users] Core Value : myself

2018-05-23 Thread Duarte Rocha
Greetings, I'm doing some work with the AUTH routes and modules, and sometimes i get a "403 Not relaying" answer when the INVITE has a parameter in the R-URI. That parameter was not included in the REGISTER. I think it's this part of the code that throws this reply : # if caller is not local

[SR-Users] Compact Headers

2018-05-25 Thread Duarte Rocha
Greetings, Is there any method on Kamailio that automatically rewrites the headers in its compact form ? I know how i can do it by re-writing each of the eligible headers, but i was wondering if there is any way to do it automatically. Thanks ___

[SR-Users] Textops Regex

2018-06-18 Thread Duarte Rocha
Greetings, What kind of regex does textops module uses? I'm trying to find the string "application\sdp" but i can't the escape character for the "\". Thanks in advance ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org

[SR-Users] SDPC on SDP

2018-06-15 Thread Duarte Rocha
Greetings, Please help me understand the reason and source of this behaviour on Kamailio. I receive a 200OK to a RE-INVITE that has : Session Name (s) : MySession Connection Information (c) : IN IP4 xxx.xxx.xxx.xxx Then, Kamailio routes the 200OK to it's destination, and it leaves Kamailio

[SR-Users] Auto 100 Reply

2018-05-02 Thread Duarte Rocha
Greetings, I have set the auto_inv_100() parameter from the TM module so i can get automatic "100" replies to the INVITE. However, in some cases i want to reply to the INVITE with provisional responses (181 for example) and i would like that "100" could be sent before the "181". In order to

[SR-Users] Bind IP to Kamailio without restart

2017-12-29 Thread Duarte Rocha
Greetings, I want to add a new IP to eht0 in my proxy and i want Kamailio to be able to listen to it without me having to restart it. I already have the "listen" parameter set to listen=udp:eth0:5060. Is there any way to reload this parameter it in runtime in order to include the new ip? Is there

[SR-Users] Dialog KeepAlive

2018-01-18 Thread Duarte Rocha
Hey! I'm trying to use the KeepAlive options avaliable in the Dialog modules. For that I use the function dlg_set_property() like this : dlg_set_property("timeout-noreset"); dlg_set_property("ka-dst"); dlg_set_property("ka-src"); However, kamailio can't seem to get the answers from "ka-src".

[SR-Users] Modify Reply Created

2018-01-24 Thread Duarte Rocha
Hey everyone. Right now i'm doing a redirect server and i'm trying to sinalize the redirection using a 3xx reply. In order to do that, according the RFC I need to add a Contact and Diversion header. How do i do that ? i'm creating the reply with send_reply() but i can't seem to find a way to add

Re: [SR-Users] Modify Reply Created

2018-01-25 Thread Duarte Rocha
Thanks for the reply, that works :) What about if I want to delete or overwrite an header ? I need to change to To Header. If i use append_reply() will it overwrite ? Cheers ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org

[SR-Users] Session Timers

2018-01-30 Thread Duarte Rocha
Hey guys, I have two issues about Session Timers that need some clarification. 1) I have my Kamailio between my clients CPE's and my GW to the PSTN. I want to configure it in a way that i always try to make the CPE do the refreshing so I can save resources on my kamailio and in the GW. If the

[SR-Users] Contact Header need update?

2018-02-02 Thread Duarte Rocha
i can get calls to work with keeping the Contact intact and changing it to the new number. What is the most correct approach? Cheers, Duarte Rocha ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-b

[SR-Users] Kamailio Memory Settings

2018-02-12 Thread Duarte Rocha
CPS, 6k active calls, with Dispatcher, Database, Number Normalizations and other operations. What are good settings for CPU, RAM Memory, PKG_SIZE and SHM_SIZE? Thanks for the help, Best Regards, Duarte Rocha ___ Kamailio (SER) - Users M

[SR-Users] Create ISUP Body

2018-02-20 Thread Duarte Rocha
Hey Everyone I'm setting up a load testing scenario for my Kamailio. In order to do that i've created another Kamailio to answer "200 OK" to an Invite in order to simulate a call being answered. One of the scenarios I need to test is reading values from the ISUP IAM or ACM body. Here's the

Re: [SR-Users] Bind IP to Kamailio without restart

2018-01-02 Thread Duarte Rocha
Greetings Alex, That's exactly what I need, thanks a lot. Cheers ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] Textops Regex

2018-06-19 Thread Duarte Rocha
You're right, it is application/sdp and the back slash works as escape character. However, a new problem came. I'm using this, since someone upstream is adding \r\n to a part of the body : replace_body_all("application\/sdp\r\n\r\n", "application/sdp\r\n"); The regex finds the application/sdp

Re: [SR-Users] Method Destination Variable

2018-08-01 Thread Duarte Rocha
Greetings, I thought about that but i wasn't sure it would be safe. But, in this case, the Request-URI domain will be the only place where Kamailio will look to find out the destination right within the dialog right? I'm going the statelless way, so that might be the correct answer. Thanks for

[SR-Users] Method Destination Variable

2018-08-01 Thread Duarte Rocha
Greetings, I have a Kamailio server set up without Registers. I'm using Dispatcher module for balancing and selecting the destinations. I need to do some changes in the message according to the chosen destination. If it's the first INVITE, after Dispatcher operations, i can do it using $dd or $du

[SR-Users] NGN and NNI functionalities

2018-07-27 Thread Duarte Rocha
Greetings, Does Kamailio has any module that deals with NGN and NNI ? Also, is there any variable or transformation that gives me access to a parameter in the User Part of an URI ? Best Regards, Duarte Rocha ___ Kamailio (SER) - Users Mailing List sr

Re: [SR-Users] Method Destination Variable

2018-08-02 Thread Duarte Rocha
That is perfect. Thanks a lot. 2018-08-01 17:09 GMT+01:00 Duarte Rocha : > Greetings, > > I thought about that but i wasn't sure it would be safe. But, in this > case, the Request-URI domain will be the only place where Kamailio will > look to find out the destination right wi

[SR-Users] Encoding mechanism in UAC Module

2018-08-21 Thread Duarte Rocha
Greetings, Is there a way to choose the encoding algorithm that builds the vsf and vst parameters in the Record-Route? What is the default method that Kamailio uses for this ? Thanks in advance, Duarte Rocha ___ Kamailio (SER) - Users Mailing List sr

[SR-Users] UAC Restore Mode

2018-03-15 Thread Duarte Rocha
n event of a failure and i switch to a kamailio in a different machine i will be able to do the To\From restore. Thanks in advance, Duarte Rocha ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

[SR-Users] Choosing a Testing and Validation Tool

2018-03-06 Thread Duarte Rocha
Hey I need to create several testing and validation processes for the deploy of an SBC and i would like to know your opinion on the best tools to use. I need to create an automated group of testing scenarios and validation of the packets sanity and SIP compliance. I also would like to validate

[SR-Users] First Invite

2018-04-10 Thread Duarte Rocha
Greetings, How can i identify the first Invite received by Kamailio in a dialog. I'm checking for the To-Tag in order to identify the first one. However, if the UA retries the same INVITE (because of a timeout for example), it won't have To Tag and it won't be the first INVITE that i'm receiving

Re: [SR-Users] First Invite

2018-04-10 Thread Duarte Rocha
Thank you very much!! That seems to be the solution. Cheers ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

[SR-Users] Reply Destination

2018-04-11 Thread Duarte Rocha
Hey Is there any variable that retrieves me the destination of a reply? I've used the To header for the domain, but i can't seem to get the destination port. Any help ? Thanks ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org

Re: [SR-Users] Reply Destination

2018-04-11 Thread Duarte Rocha
It works. Thanks a lot!! ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

[SR-Users] Dialog Profile Value Name Limit

2018-04-06 Thread Duarte Rocha
Greetings, I'm using the Dialog module and the profile functions in order to limit the number of channels that a Calling Number can use. I'm using profile with values and the number in E164. However it doesn't work correctly and the value are not correctly updated. I've tried to give a a value

[SR-Users] Diversion Headers

2018-04-19 Thread Duarte Rocha
Greetings, Does the function "add_diversion() present in the "Diversion" module allows me to introduce other parameters (privacy, counter, etc) or is it only for the "diversion-reason"? If it doesn't let me do that, how can I add the Diversion with insert_hf() and make sure the headers are added

[SR-Users] Regular Expression Syntax

2018-03-27 Thread Duarte Rocha
Greetings, I'm having some trouble with the syntax used in the {re.subst,expression} method. What i want to do is add a prefix to a capture group. I can make it work like that /^[0-9]+/prefix$tU/ but this solution is far from perfect since i may not need the entire $tU. I would like to use it

[SR-Users] NATDETECT Flag 16

2018-03-20 Thread Duarte Rocha
Greetings, I have a doubt about the flag 16 used in nat_uac_test() belonging to the module NATDETECT. In the documentation, the following is stated : *16* - Test if the source port is different from the port in the “Via” header I have some situations that I receive a request from port 5060 and

Re: [SR-Users] Odd behavior comparing strings

2018-10-25 Thread Duarte Rocha
With "eq" it works as it should. Thanks :) ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

[SR-Users] Odd behavior comparing strings

2018-10-25 Thread Duarte Rocha
or 0. I'm using the "cmp_str()" now in order to avoid this issue. Best Regards, Duarte Rocha ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

[SR-Users] Dispatcher Return

2018-10-19 Thread Duarte Rocha
access to IP and Port. Is it possible to Dispatcher to return another fields from the same table row? Or return any other way to identify the row. Thank you for your help. Best Regards, Duarte Rocha ___ Kamailio (SER) - Users Mailing List sr-users

[SR-Users] Include parameters in replies

2018-09-21 Thread Duarte Rocha
this since i can't really be sure that they won't be erased by any client's CPE or endpoint. Any ideas on this ? Thanks Cheers, Duarte Rocha ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailma

[SR-Users] Substitution Regex

2018-09-24 Thread Duarte Rocha
uot;a"); It doesn't seem to work. Any ideas why? Best Regards, Duarte Rocha ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

[SR-Users] Dispatcher's Probing

2018-09-26 Thread Duarte Rocha
Hey, I've been using the Dispatcher module with great results. But now, i want to be able to have some gateways to belong to more than one group set. To achieve that, i'm duplicating the Gateway in the Dispatcher's table and give it a different group set. However, if i do this, Dispatcher will

[SR-Users] Dispatcher Questions

2018-09-25 Thread Duarte Rocha
Greetings, I have some questions about Dispatcher0s modules general behaviours. Can Dispatcher use two tables to read values from? If I can't use two tables, is it possible to read them from a Mysql View? I want to be able to have a Gateway belonging to more than one Gateway Set. By doing so,

Re: [SR-Users] Dispatcher Probing

2018-12-27 Thread Duarte Rocha
more than one result, do forking using the the SAPs in the results, sending multiple OPTIONS through the multiple sockets. In this case, if only one of the OPTIONS is answered, will the gateway still appear as "Active" ? Best Regards, Duarte Rocha Na(o) quinta, 27/12/2018, 16:02, Du

Re: [SR-Users] Dispatcher Probing

2018-12-27 Thread Duarte Rocha
Thanks for your answers, it seems to be just what i needed. Best regards, Duarte Rocha Na(o) quinta, 27/12/2018, 16:02, Duarte Rocha escreveu: > Greetings, > > I have Kamailio with the Dispatcher module and it's probing mechanics set > up. > > I want to be able to access t

[SR-Users] Dispatcher Probing

2018-12-27 Thread Duarte Rocha
Greetings, I have Kamailio with the Dispatcher module and it's probing mechanics set up. I want to be able to access the OPTIONS request generated by Kamailio in the request_route or somewhere else in the configuration file in order to modify it. Is that possible? Best Regards, Duarte Rocha

[SR-Users] Limitation in Dispatcher Probing

2019-01-17 Thread Duarte Rocha
OPTIONS at every 60 seconds it only sends to 16 destinations. Is there a configuration that limits this? What can i do to have every gateway probed? Best Regards, Duarte Rocha ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https

[SR-Users] Dispatcher Probing

2019-01-17 Thread Duarte Rocha
OPTIONS at every 60 seconds it only sends to 16 destinations. Is there a configuration that limits this? What can i do to have every gateway probed? Best Regards, Duarte Rocha ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https

[SR-Users] Maximum Number of Probed Gateways

2019-01-21 Thread Duarte Rocha
Greetings, Is there a limitation to the number of Gateways probed by Dispatcher? I have several gateways configured to be probed, but the OPTIONS is only sent to the first 16? Is there a configuration regarding this? Thanks in advance, Duarte Rocha

Re: [SR-Users] Maximum Number of Probed Gateways

2019-01-23 Thread Duarte Rocha
Greetings, Thank you for your answer. I have my destinations set as a sip uri with ip "sip:xxx.xxx.xxx.xxx:". Is there a way to increase that limit? Best regards, Duarte Rocha Na(o) quarta, 23/01/2019, 08:09, Daniel-Constantin Mierla escreveu: > Hello, > > for keep

[SR-Users] Memory allocation

2018-12-19 Thread Duarte Rocha
to the desired number of processes and shared\private memory defined? Best Regards, Duarte Rocha ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

[SR-Users] Number of sql connections

2018-11-19 Thread Duarte Rocha
connections. Why does this happen and can i set a a number of threads and/or sql connections that doesn't change with the number of "listen" parameters that i have ? Best Regards, Duarte Rocha ___ Kamailio (SER) - Users Mailing List sr-users@lists.ka

[SR-Users] Sipt redirection number

2019-01-04 Thread Duarte Rocha
Thanks, Best Regards, Duarte Rocha ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

[SR-Users] Dispatcher probing

2018-12-28 Thread Duarte Rocha
st Regards, Duarte Rocha ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

[SR-Users] Best place to change mem settings

2019-01-03 Thread Duarte Rocha
started Kamailio and i could do the changes in /etc/default without any problem. Does this happen for a reason? Best Regards, Duarte Rocha ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman

[SR-Users] Dispatcher with a view

2019-01-08 Thread Duarte Rocha
Greetings, Is it possible for Dispatcher to use a view for "table_name" instead of a regular table? Best Regards, Duarte Rocha ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/l

Re: [SR-Users] Dispatcher with a view

2019-01-08 Thread Duarte Rocha
Thank you for your answer. Yes, it works. My problem is I wasn't including the view in the table version. You can delete the thread if you want. Best Regards, Duarte Rocha Na(o) terça, 8/01/2019, 12:43, Daniel-Constantin Mierla escreveu: > Hello, > > should be possible -- af

[SR-Users] Record-Route Parameters

2018-09-14 Thread Duarte Rocha
to the two Record-Route Headers. Is there a way to do what i want without me re-writing the headers directly ? Cheers, Duarte Rocha ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr

Re: [SR-Users] Record-Route Parameters

2018-09-17 Thread Duarte Rocha
I want to add to Kamailio's. This INVITE arrives at Kamailio with no Record-Route. It leaves Kamailio with two Record-Routes since i'm using one IP for receiving and another for sending. ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org

Re: [SR-Users] Record-Route Parameters

2018-09-17 Thread Duarte Rocha
When Kamailio receives the INVITE, it relays it with two Record-Route like this : Record-Route:sip:IP1;ftag=;vst=xxx;vsf=xxx Record-Route:sip:IP2;ftag=;vst=xxx;vsf=xxx What i want is : Record-Route:sip:IP1;ftag=;vst=xxx;vsf=xxx;NEW_PARAMETER=10

Re: [SR-Users] Record-Route Parameters

2018-09-17 Thread Duarte Rocha
Thanks for all your help. With record_route_preset(string[,string2]) i can place the parameters as i want. The only problem is that using record_route_preset, it doesn't add all the parameters that it usually does, like "vst", vsf" and "r2", only the ftag. However, it might be possible get those

[SR-Users] Record Route Parameters

2018-09-14 Thread Duarte Rocha
that those parameters won't be deleted or changed? Best Regards, Duarte Rocha ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] Record-Route Parameters

2018-09-17 Thread Duarte Rocha
Can you show me where? I've tried add_rr_param() but it still adds every parameter to the two record-routes ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] Record-Route Parameters

2018-09-17 Thread Duarte Rocha
Hey, I need all of my kamailio's IPs in Record Routes and i can do that already. What i want to do is add different parameters to each Record-Route. Is that possible? A sexta, 14/09/2018, 17:54, Duarte Rocha escreveu: > Greetings, > > My Kamailio has 2 IP's and, as such, it will gen

[SR-Users] Default memory

2018-12-19 Thread Duarte Rocha
Greetings, How can i ibcrease permanently the Kamailio default private and shared memory size? Thanks in advance, Duarte Rocha ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr

Re: [SR-Users] Extract URI from Headers

2019-03-27 Thread Duarte Rocha
: > Hello, > > you just need to use tobody transformations: > > * > https://www.kamailio.org/wiki/cookbooks/5.2.x/transformations#to-body_transformations > > Cheers, > Daniel > On 25.03.19 19:13, Duarte Rocha wrote: > > Greetings, > > In my SBC i u

[SR-Users] Uri's user part parameters

2019-03-27 Thread Duarte Rocha
Greetings, Does Kamailio have a way of identifying the user-part parameters of an URI? I have situations where i have sip:user;parameter=yes@host. Best Regards, Duarte Rocha ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https

[SR-Users] User part on contact header

2019-03-25 Thread Duarte Rocha
Greetings, On an INVITE the user part in the Contact header mandatory? Can't seem to find info on this. Best regards, Duarte Rocha ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo

[SR-Users] Statistics of received replies

2019-04-04 Thread Duarte Rocha
Greetings, Does Kamailio have statistics like the sl.stats but for received replies instead of locally generated ones? I want to be able to look at how many "491" replies i'm receiving, for example. Best Regards, Duarte Rocha ___ Kam

[SR-Users] Extract URI from Headers

2019-03-25 Thread Duarte Rocha
by hand in order to remove brackets, display infos, etc. Does Kamailio have a method for extracting the URI from those kinds of headers? Best Regards, Duarte Rocha ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https

[SR-Users] SQlite in memory

2019-02-27 Thread Duarte Rocha
? What's the best way to do this? Best Regards, Duarte Rocha ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] SQlite in memory

2019-02-27 Thread Duarte Rocha
Greetings Alex, At the moment i'm trying to debug some issues with the server and try some solutions to see the impact. With little load i'm getting some percentage of "503 Server Unavaliable" errors from Kamailio. I made some testing without using database for anything but Dispatcher and

Re: [SR-Users] SQlite in memory

2019-02-27 Thread Duarte Rocha
Ok, i reduced the number of processes and tried a few different values, but the performance hasn't changed a lot. How can i debug this and find the bottleneck in my system? A quarta, 27/02/2019, 17:56, Duarte Rocha escreveu: > Greetings Alex, > > At the moment i'm trying to debug so

Re: [SR-Users] SQlite in memory

2019-02-27 Thread Duarte Rocha
processing times, i don't think they should be the problem at a rate as low as 20CPS. Thank you for your help :) A quarta, 27/02/2019, 18:35, Duarte Rocha escreveu: > Ok, i reduced the number of processes and tried a few different values, > but the performance hasn't changed a lot. > &g

[SR-Users] Rows return in sql_xquery()

2019-02-25 Thread Duarte Rocha
Greetings, If I do a query using sql_query() method I can see the number of rows returned with $dbr(ra=>rows). Is there a return with this info using sql_xquery ? Best Regards, Duarte Rocha ___ Kamailio (SER) - Users Mailing List sr-us

Re: [SR-Users] Add default ports to URIs

2019-03-13 Thread Duarte Rocha
Greetings Alex, I know about the RFC and i don't think the issue here is with about the Uri Comparison. The reason here is that a client is requiring this feature even though the RFC doesn't requires it. Best regards A terça, 12/03/2019, 19:15, Duarte Rocha escreveu: > Greetings, > &g

[SR-Users] Masking Contact Header

2019-02-12 Thread Duarte Rocha
Greetings, Is there an automated way of masking\encoding\encrypting the Contact header once it goes through a Kamailio proxy and have it restored? I'm using uac_replace_from() and uac_replace_to() for changing these values and having them restored automatically. Is there any tool like this for

[SR-Users] Mysql to hastable conversion

2019-02-13 Thread Duarte Rocha
be already in "hashtable form". Does kamailio has any way to solve this or should i use external tools? Best Regards, Duarte Rocha ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

[SR-Users] Keep requests order

2019-02-05 Thread Duarte Rocha
roughly through the same processing methods and should take took the same time to be be relayed. What can be the reason for this? Best Regards, Duarte Rocha ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org

Re: [SR-Users] Keep requests order

2019-02-05 Thread Duarte Rocha
Thank you for your answer Alex. Wheb you say you have dealt with this, do you mean this exact scenario with re-invites and ACK or just with general packets order? I'll look into your solution, thank you. Best Regards, Duarte Rocha Na(o) terça, 5/02/2019, 12:42, Duarte Rocha escreveu

[SR-Users] Relay NAP Probing

2019-06-07 Thread Duarte Rocha
of dispatcher.list and if it finds an inactive NAP, set the MG NAP as inactive too. Is there a better/simpler way to do this? I'd rather have everything on Kamailio configuration files instead of doing exatra scripting. Any opinions ? How can i achieve this? Best Regards, Duarte Rocha

[SR-Users] Statistics help

2019-05-29 Thread Duarte Rocha
ng "500" and "6xx" replies? In my experience, when the server has reached a processing or memory limit, the reply is always 500, but i'm not really sure about this. Thank you for your help. Best Regards, Duarte Rocha ___ Kamailio (SER) - Use

[SR-Users] Dispatcher's probing malfunction

2019-06-17 Thread Duarte Rocha
in a pair with DB being replicated and with HA IPs. That being said i configure one NAP twice, each configuration with one HA socket. Is this configuration supported? I get very weird behaviours when i configure it like this. Best Regards, Duarte Rocha

[SR-Users] Help identifying mem leaks

2019-05-10 Thread Duarte Rocha
28ca8 frag=0x7ff3c8d28c70 size=184 used=1 qm_status: alloc'd from core: core/counters.c: cnt_hash_add(332) qm_status: start check=f0f0f0f0, end check= c0c0c0c0, abcdefed Any help? Best Regards, Duarte Rocha ___ Kamailio (SER) - Users Maili

[SR-Users] Npdi question

2019-05-14 Thread Duarte Rocha
Greetings, Regarding portability issues, is there a difference between "npdi" and "npdi=yes" ? Are there any more possible values besides "yes" and no value? Best Regards, Duarte Rocha ___ Kamailio (SER)

Re: [SR-Users] Udp errors on High Availability Setup

2019-05-08 Thread Duarte Rocha
Thank you for your answer. I forgot to mention, the Probing is being done by the dispatcher module and this is a Kamailio that works without registration A quarta, 8/05/2019, 13:04, Duarte Rocha escreveu: > Greetings, > > I have two Machines with Kamailio in a High Availabi

Re: [SR-Users] Udp errors on High Availability Setup

2019-05-08 Thread Duarte Rocha
be something to suppress the error i think. A quarta, 8/05/2019, 13:04, Duarte Rocha escreveu: > Greetings, > > I have two Machines with Kamailio in a High Availability (HA) > configuration. Both machines are active and processing calls and both have > one HA IP that can jump to th

[SR-Users] Udp errors on High Availability Setup

2019-05-08 Thread Duarte Rocha
not to be logged or be disabled without reducing Log Level to suppress CRITICAL errors? I think this is a standard High Availability configuration. Is there some setting that can disable this kind of errors? Best Regards, Duarte Rocha ___ Kamailio (SER

[SR-Users] Statistics for locally generated replies

2019-06-26 Thread Duarte Rocha
Greetings, Does the statistics command "kamcmd tm.stats" has an argument or a way to only list locally generated replies? As far as i know, sl.stats only lists local generated replies. Can tm work the same way? Best Regards, Duarte Rocha __

[SR-Users] Direction of replies

2019-04-23 Thread Duarte Rocha
Greetings, Is there a way to know in reply_route if a reply has direction downstream or upstream regarding the first INVITE? I know there are vars and methods for finding this out on requests, but i can't find anything for replies. Thanks in advance, Best Regards, Duarte Rocha

[SR-Users] Route header

2019-04-17 Thread Duarte Rocha
Greetings, Is there a difference for Kamailio between these 2 situations. 1 - Method with 2 Route Headers, each one with one address and one uri 2 - Method with 1 Route Header that includes 2 Route URI Best Regards, Duarte Rocha ___ Kamailio (SER

[SR-Users] Uac_replace for header's parameters

2019-08-14 Thread Duarte Rocha
parameters too? Best regards, Duarte Rocha ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

[SR-Users] Disable GW's on runtime

2019-08-28 Thread Duarte Rocha
Greetings, I have two Kamailio's working on a HA scenario. Both Kamailio's have DB replication and each machine has one HA IP. In order to set this up, i have every GW on the DB duplicated, one with Socket IPA and another with socket IPB. I have both GWs in a active state configurated in the

Re: [SR-Users] [tm-local-request] usage

2019-08-28 Thread Duarte Rocha
Kamailio configuration and it is sending the correct number of packets. Best regards A terça, 27/08/2019, 08:24, Daniel-Constantin Mierla escreveu: > Hello, > On 26.08.19 18:26, Duarte Rocha wrote: > > Greetings, > > Does "event_route[tm:local-request]&q

Re: [SR-Users] Disable GW's on runtime

2019-08-28 Thread Duarte Rocha
Yes, i only want to disable it on one Kamailio. A quarta, 28/08/2019, 11:32, Duarte Rocha escreveu: > Greetings, > > I have two Kamailio's working on a HA scenario. Both Kamailio's have DB > replication and each machine has one HA IP. In order to set this up, i have > eve

Re: [SR-Users] Disable GW's on runtime

2019-08-28 Thread Duarte Rocha
ket that doesn't exist in the machine A quarta, 28/08/2019, 11:32, Duarte Rocha escreveu: > Greetings, > > I have two Kamailio's working on a HA scenario. Both Kamailio's have DB > replication and each machine has one HA IP. In order to set this up, i have > every GW on the

[SR-Users] [tm-local-request] usage

2019-08-26 Thread Duarte Rocha
sent? Best Regards, Duarte Rocha ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] Sipt redirection number retrieves old values

2019-08-07 Thread Duarte Rocha
Sure, here it is : xerr("VMD2 : Reply Code : $rs ; Sipt Redir = $sipt(redirection_number) and Call ID = $ci and Cseq = $cs"); A quarta, 7/08/2019, 17:02, Duarte Rocha escreveu: > Greetings, > > I'm doing VoiceMail detection using $sipt(redirection_number) from SIPT >

  1   2   >