[SR-Users] Re: RADIUS ACC - Interim Updates

2024-03-06 Thread Duarte Rocha via sr-users
Thanks for the help. I've ended up creating a route invoked by rtimer module where i check all active dialogs and for each of them sent a radius accounting update. Cheers, Duarte __ Kamailio - Users Mailing List - Non Commercial

[SR-Users] RADIUS ACC - Interim Updates

2024-03-04 Thread Duarte Rocha via sr-users
? Cheers, Duarte Rocha __ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-le...@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit

[SR-Users] dialog:event unknown and kemi callback error

2024-02-20 Thread Duarte Rocha via sr-users
Hello all, I'm currently developing some kamailio scripts with app_jsdt by migrating a proxy of mine from Kamailio routing script to Js. I've migrated some parts of my request_route and everything seems to be working fine. I am now trying to migrate my event routes to JS and I started with

[SR-Users] Re: RADIUS - Can't use extra attributes

2023-11-24 Thread Duarte Rocha via sr-users
Hello Daniel, Thanks for the reply. The extra dictionary is already included otherwise an error is thrown and Kamailio doesn't start. However, i realized my mistake now and you were right. I was checking for the extra attributes in a tcpdump and on radius server and i didn't had the

[SR-Users] Re: RADIUS - Can't use extra attributes

2023-11-24 Thread Duarte Rocha via sr-users
Hello Daniel, Thanks for the reply. The extra dictionary is already included otherwise an error is thrown and Kamailio doesn't start. However, i realized my mistake now and you were right. I was checking for the extra attributes in a tcpdump and on radius server and i didn't had the

[SR-Users] RADIUS - Can't use extra attributes

2023-11-23 Thread Duarte Rocha via sr-users
Hello all, I'm currently implementing a Kamailio with RADIUS. I want to send an Access-Request to my RADIUS server and in order to do that i'm using misc_radius module and radius_does_uri_exist() function without any arguments : "if (radius_does_uri_exist()) {" For my module configuration

[SR-Users] Re: Choose RTP port in routing script

2023-09-26 Thread Duarte Rocha via sr-users
 Thanks for the reply.  I want to be able to get different port ranges for some costumers since some of them can only their firewall to a small destination port range . __ Kamailio - Users Mailing List - Non Commercial Discussions To

[SR-Users] Choose RTP port in routing script

2023-09-26 Thread Duarte Rocha via sr-users
l. Thanks in advance, Cheers, Duarte Rocha __ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-le...@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to t

[SR-Users] Re: uac_replace_to() without RR params

2023-09-07 Thread Duarte Rocha
 I made some more testing and found that calling dlg_manage() before uac_replace() and setting restore_dlg param with value “1” solves my issue and doesn’t add params to Record-Route.   In the event of a restart to Kamailio i would like to keep the state of the call and not lose the values on the

[SR-Users] uac_replace_to() without RR params

2023-09-07 Thread Duarte Rocha
e and only using $avp() ? - Is there a way to make changes on the To and From header on replies? Thanks in advance, Best Regards, Duarte Rocha __ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to s

[SR-Users] Re: RTPENGINE - RTP Proxy

2023-07-27 Thread Duarte Rocha
Hello Alex, Thank you for your answer, I still don't have sound but the behaviour is now different. Is it possible to configure this behaviour on a call by call basis with flags on the rtpengine_manage() function? Or in alternative having it consume the "direction=" attribute on the SDP? Cheers

[SR-Users] Re: RTPENGINE - RTP Proxy

2023-07-27 Thread Duarte Rocha
Hello Alex, Thank you for your answer, I still don't have sound but the behaviour is now different. Is it possible to configure this behaviour on a call by call basis with flags on the rtpengine_manage() function? Or in alternative having it consume the "direction=" attribute on the SDP? Cheers

[SR-Users] RTPENGINE - RTP Proxy

2023-07-26 Thread Duarte Rocha
Hello all, I'm currently doing some experiments with RTPENGINE and I need some help configuring it. First scenario i'm under NAT and Kamailio receives an INVITE with a private address, rewrites (c) line on SDP with it's own IP address and relays the message to the destination endpoint. After

[SR-Users] uac_replace() and uac_restore debug help

2023-06-23 Thread Duarte Rocha
result of the automatic modifying or only the vsf\vst parameters and password are needed to the auto replace\restore? 2 - How can I decrypt the info on vsf and vst parameters in order to verify the info sent and the encryption? Cheers, Duarte Rocha

[SR-Users] Re: uac_restore behaviour question

2023-06-22 Thread Duarte Rocha
Hello, Please ignore my last question. I found my answer in the documentation : "If you set restore_mode to AUTO, the URI will be modified automatically in all subsequent requests and replies in that dialog." Duarte Rocha escreveu no dia quinta, 22/06/2023 à(s) 13:17: > Hello, &g

[SR-Users] uac_restore behaviour question

2023-06-22 Thread Duarte Rocha
Hello, I have some questions regarding uac_replace methods. When I receive the first INVITE from someone I change To and From using uac_replace_to() and uac_replace_from(). I do this only on first INVITES. In order to restore them I use the "auto" so the changes are restored automatically in

[SR-Users] Re: Repository for modules

2023-04-06 Thread Duarte Rocha
issing dependencies, this > needs to be installed from source, right. > > > > Cheers, > > > > Henning > > > > *From:* Duarte Rocha > *Sent:* Donnerstag, 6. April 2023 13:55 > *To:* Kamailio (SER) - Users Mailing List > *Subject:* [SR-Users] Repository

[SR-Users] Repository for modules

2023-04-06 Thread Duarte Rocha
Hello, I'm currently testing Kamailio on a Debian 11 machine. In order to install it I used apt with repositories from Kamailio (https://deb.kamailio.org/). Now I'm trying to add modules and I'm wondering the best way to do it. Using apt install i don't have access to all the modules. Is there

[SR-Users] Pipelimit needs restart to reload values

2022-09-23 Thread Duarte Rocha
Greetings, I've been using the pipelimit module and the pl_check function to control users rates in my proxy. if (!pl_check("$var(UserID)", "TAILDROP", "$var(UserRate)")) { pl_drop(); exit; } In this case $var(UserID) is the pipe and $var(UserRate) is the maximum rate. The value of

[SR-Users] Body formats for filter_body()

2021-05-26 Thread Duarte Rocha
Hello all, A couple years ago the function filter_body() from textops would only work with "application/sdp" if the string on the body was "Content-Type: application/sdp\r\n". It would fail if there wasn't a space after ":" and it would fail if there was present "\r\n\r\n" instead of "\r\n". Is

[SR-Users] To-Tag on Register Refresh method

2021-04-27 Thread Duarte Rocha
Hello all, I'm using Kamailio as a registrar and i have an endpoint that sometimes sends a REGISTER method with a To-Tag when refreshing its regist. My code on this proxy shares many similarities with the default kamailio.cfg configuration file. On that occasion Kamailio answers with a 404 - Not

[SR-Users] Parse multiple URI

2021-02-25 Thread Duarte Rocha
Greetings, I have a Kamailio proxy where i'm doing some operations over multiple History-Infos and they come in two forms : Scenario 1 -> History-Info : URI1 History Info : URI2 Scenario 2 -> History-Info : URI1 , URI2. On scenario 1 i iterate between headers

[SR-Users] Best SIP reply for service activation

2021-02-09 Thread Duarte Rocha
Hello, I'm currently developing a service on Kamailio where it's possible to configure redirections for a subscriber using a code. In order to implement that client should send an INVITE with a specific code on the Request URI and the redirection is configured. What should be the best way to

Re: [SR-Users] Lost MySQL connections - Error 500

2021-01-08 Thread Duarte Rocha
ot of active users, you can also consider > partitioning users on different tables, so you can have rules like users > with id starting a-m go to location1 and n-z go to location2. > > Cheers, > Daniel > On 08.01.21 18:29, Duarte Rocha wrote: > > Hello Daniel, > >

Re: [SR-Users] Lost MySQL connections - Error 500

2021-01-08 Thread Duarte Rocha
annot be > made because it is locked for long time by something else. > > Cheers, > Daniel > On 07.01.21 18:23, Duarte Rocha wrote: > > Hi all, > > I've made a post last month regarding losing MySQL connections - > https://lists.kamailio.org/pipermail/sr-users/2020-D

[SR-Users] Lost MySQL connections - Error 500

2021-01-07 Thread Duarte Rocha
Hi all, I've made a post last month regarding losing MySQL connections - https://lists.kamailio.org/pipermail/sr-users/2020-December/111389.html At the time I thought connections were dying as a consequence of low activity and traffic on the proxy. Meanwhile, I've migrated a great number of

Re: [SR-Users] loose_route() - Local Proxy

2021-01-07 Thread Duarte Rocha
Hi, Thank you for your answers. The domain parameter "register_myself" solved this issue immediately. Cheers Duarte Rocha escreveu no dia segunda, 4/01/2021 à(s) 14:46: > Greetings, > > I'm using loose_route() from the RR module and i'm having troubles making > it use t

[SR-Users] Pre-loaded routes verification

2021-01-04 Thread Duarte Rocha
Greetings, I'm doing a migration from a opensips system to kamailio one and i'm trying to replicate its functionalities. The system is a Registrar with a pstn gateway. I noticed that on the opensips version, loose_route() is called on initial requests and it seems to be used to protect against

[SR-Users] loose_route() - Local Proxy

2021-01-04 Thread Duarte Rocha
Greetings, I'm using loose_route() from the RR module and i'm having troubles making it use the following exception from the code : "There is only one exception: If the request is out-of-dialog (no to-tag) and there is only one Route: header indicating the local proxy, then the Route: header is

[SR-Users] Losing MySQL connections

2020-12-14 Thread Duarte Rocha
Greetings all, I'm having some dropped MySQL connections in my Kamailio in times of low or no activity in the proxy. These are the errors i'm getting : db_mysql [km_dbase.c:123]: db_mysql_submit_query(): driver error on query: Lost connection to MySQL server during query (2013)

[SR-Users] Fix Sdp Error

2020-12-04 Thread Duarte Rocha
Hello, I noticed that when i do calls behind NAT i'm getting this error when i call fix_nated_sdp() : "nathelper [nathelper.c:1659]: replace_sdp_ip(): can't extract 'a=rtcp' IP from the SDP" As far as i can see, all the ips on SDP are correctly replaced to a public IP, so i don't understand

Re: [SR-Users] Load balance on HA scenario

2020-10-21 Thread Duarte Rocha
it all works correctly. I'm currently on Kamailio v5.4.1. What version are you on? Any special parameter to make that work? Best Regards, A segunda, 12/10/2020, 15:34, Duarte Rocha escreveu: > Greetings, > > I have two machines with Kamailio in a HA setup with replicated DB. For > simp

Re: [SR-Users] Load balance on HA scenario

2020-10-15 Thread Duarte Rocha
, 12/10/2020, 15:34, Duarte Rocha escreveu: > Greetings, > > I have two machines with Kamailio in a HA setup with replicated DB. For > simplicity let's say each machine has one HA IP and that IP can jump to the > other machine in case something happens (kamailio stopping, etc)

Re: [SR-Users] Load balance on HA scenario

2020-10-13 Thread Duarte Rocha
in case the IP jumps to that machine. Cheer A segunda, 12/10/2020, 15:34, Duarte Rocha escreveu: > Greetings, > > I have two machines with Kamailio in a HA setup with replicated DB. For > simplicity let's say each machine has one HA IP and that IP can jump to the > other machine in

[SR-Users] Load balance on HA scenario

2020-10-12 Thread Duarte Rocha
Greetings, I have two machines with Kamailio in a HA setup with replicated DB. For simplicity let's say each machine has one HA IP and that IP can jump to the other machine in case something happens (kamailio stopping, etc). I'm using Dispatcher with load balance configuration. I have Dispatcher

[SR-Users] Result limitation on sqlops

2020-10-07 Thread Duarte Rocha
source code as close as the original as possible. 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] Received parameter on Via

2020-09-29 Thread Duarte Rocha
Thank you for your answers. I have a old SBC with opensips and it always adds received to Via. However, in my Kamailio it only adds in NAT scenarios. I would like to understand why that happens. A segunda, 28/09/2020, 17:35, Duarte Rocha escreveu: > Greetings, > > When NAT is detec

[SR-Users] Received parameter on Via

2020-09-28 Thread Duarte Rocha
Greetings, When NAT is detected in my Kamailio, the proxy add the parameter "received" to the Via header which includes the source IP. What is the mechanic or function responsible for this behaviour? Does it come from the NATHELPER module? Best Regards,

[SR-Users] Force registrations on Kamailio save()

2020-08-19 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] PHONENUM Module on Centos7

2020-07-28 Thread Duarte Rocha
Greetings, I've trying to use the module PHONENUM on my Kamailio on CentOS 7. However, getting the required libphonenumber library hasn't been possible. Is there any CentOs7 repository for this ? What's the best way to work with this module on CentOS ? Best Regards,

[SR-Users] Sql_result_free() not cleaning properly

2020-06-24 Thread Duarte Rocha
Greetings, I'm trying to clean a SQL result using "sql_result_free()" but i'm not having success. Can you please verify if i'm doing anything wrong here? This is my code : xerr("Pre clean [0] = Iterator 0 = $xavp(Cli_PICKER_Default_Search_Result[0]=>Code)");

Re: [SR-Users] Solution for Invite retransmission

2020-05-14 Thread Duarte Rocha
for the help. A terça, 12/05/2020, 17:15, Duarte Rocha escreveu: > Greetings, > > I have an issue where a client doesn't get the responses to the INVITE > sent and as such keeps sending me retransmissions of the INVITE. > > While the transaction is still up, Kamailio does its

[SR-Users] Solution for Invite retransmission

2020-05-12 Thread Duarte Rocha
Greetings, I have an issue where a client doesn't get the responses to the INVITE sent and as such keeps sending me retransmissions of the INVITE. While the transaction is still up, Kamailio does its job. However, when the transaction is closed Kamailio processes the request again as a first

[SR-Users] Map Diversion to History-Info

2020-05-05 Thread Duarte Rocha
Greetings, Does Kamailio have any method to transform an History-Info with redirecting info into a Diversion or the other way around? Best Regards ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org

Re: [SR-Users] Lifetime of Invite with no Ack

2020-04-13 Thread Duarte Rocha
ate transaction and has no influence on INVITE > transaction. For the ACK after 300+ reply, there should be some > retransmissons of the reply in the INVITE transaction. > > The dialog module is influenced by the missing ACK after 200ok. > > Cheers, > Daniel > On 13.04.20

Re: [SR-Users] Lifetime of Invite with no Ack

2020-04-13 Thread Duarte Rocha
transaction. For the ACK after 300+ reply, there should be some > retransmissons of the reply in the INVITE transaction. > > The dialog module is influenced by the missing ACK after 200ok. > > Cheers, > Daniel > On 13.04.20 13:18, Duarte Rocha wrote: > > Sorry i didn't spec

Re: [SR-Users] Lifetime of Invite with no Ack

2020-04-13 Thread Duarte Rocha
l > On 13.04.20 13:04, Duarte Rocha wrote: > > Greetings, > > How much time will Kamailio keep a transaction active if the ACK to a > INVITE is never received by Kamailio? > > Best Regards, > > ___ > Kamailio (SER) - Us

[SR-Users] Lifetime of Invite with no Ack

2020-04-13 Thread Duarte Rocha
Greetings, How much time will Kamailio keep a transaction active if the ACK to a INVITE is never received by Kamailio? Best Regards, ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org

[SR-Users] Invite transaction lifetime

2020-04-01 Thread Duarte Rocha
Greetings, I have a strange call with a client in which he sends me an INVITE and i do the usual "100", "183" and "200 - OK" but the client never gets my provisional or final responses and, as such keeps retransmitting the first INVITE. For the first retransmissions Kamailio doesn't relay the

Re: [SR-Users] Strange behaviour on $tu

2020-03-02 Thread Duarte Rocha
; Cheers, > Daniel > > > On 02.03.20 14:24, Duarte Rocha wrote: > > Greetings, > > I have a cenario with the following header To = > "sip:111234567890;npdi@111.222.333.444" > > If i print $tu I got "sip:111234567890". If i print $hdr(To) I get > "sip:111

[SR-Users] Strange behaviour on $tu

2020-03-02 Thread Duarte Rocha
Greetings, I have a cenario with the following header To = "sip:111234567890;npdi@111.222.333.444" If i print $tu I got "sip:111234567890". If i print $hdr(To) I get "sip:111234567890;npdi@111.222.333.444". If i don't include the "npdi" or any other user parameters, it works fine Is this the

[SR-Users] How to make a distinction between sip and tel uri

2020-01-29 Thread Duarte Rocha
Greetings, I have a client that sends me two P-Asserted-Identity headers, one with SIP URI and one with tel URI. The pseudo variable $ai returns the topmost P-Asserted-Identity header and I only need the one with the SIP URI. How should i proceed ? Is there a way to delete the one with tel URI?

[SR-Users] Param.valueat not returning special chars

2020-01-21 Thread Duarte Rocha
Hello, I've run into a problem while using parameters parsing tools from Kamailio. When i request the value of a parameter it discards some characters like "" for example. Here is an example : $var(Parameters) = "kamailio=\"version5\";sip=hey"; xerr("String Parameter = $var(Parameters)");

Re: [SR-Users] Parsing exception when "user=phone" is present

2020-01-08 Thread Duarte Rocha
Yes, thanks Phone2tel seems to do what i need A quarta, 8/01/2020, 15:52, Duarte Rocha escreveu: > Greetings, > > I'm testing some portability scenarios with carriers and i've ran into > some issues. > > Take this example URI from ETSI TR 184 003 ( > https://www.ets

[SR-Users] Parsing exception when "user=phone" is present

2020-01-08 Thread Duarte Rocha
gt; {uri.user} is equal to "+49234598765;npdi;rn=+49-D123" With "user=phone" -> {uri.user} is equal to "+49234598765" . I really need to access "rn" and "npdi" parameters in those cases. How can i do it when "user=phone" is present? Is there

[SR-Users] Calculate call duration

2019-12-30 Thread Duarte Rocha
Greetings, How sould a call duration be calculated? Let's say the call creation on Kamailio as a proxy has those steps : 1 - Invite is received 2 - Provisional responses 3 - 200 OK is received 4 - ACK to 200 OK is received 5 - BYE is received 6 - 200 OK to BYE is received Should the duration

[SR-Users] How to access different uris in a header

2019-11-21 Thread Duarte Rocha
Greetings, In order to identify Redirecting Number and Original Called Number on a given request i look for the top( Redirecting Number) and bottom (Original Called) Diversion headers using hdr(Diversion)[0] and hdr(Diversion)[-1]. However, i have a client that sends me all the Diversions URIS

Re: [SR-Users] Problem with URI transformations

2019-11-18 Thread Duarte Rocha
2:29, Daniel-Constantin Mierla escreveu: > Hello, > > check the URI transformation docs, iirc there is an option to get user > parameters. > > If not, can you give an example of what params you want to work with, > likely you can get it with other transformations... > >

Re: [SR-Users] Problem with URI transformations

2019-11-18 Thread Duarte Rocha
Daniel > On 15.11.19 17:51, Duarte Rocha wrote: > > Greetings, > > I'm trying to parse some URI info on Kamailio but i'm having some troubles > the URI transformations. > > Here i have two examples of URIS from which i'm trying to extract > username(with user parameters

[SR-Users] Problem with URI transformations

2019-11-15 Thread Duarte Rocha
2 : Parameters = user=phone If the URI has parameters, the User parameters won't be included in the User part. Is this a bug or is it working as intended? I'm running Kamailio 5.2.0 . Thank you for your time. Best Regards, Duarte Rocha ___ Kamailio (SER) - U

Re: [SR-Users] Error parsing parameter value

2019-10-08 Thread Duarte Rocha
he value with double quotes making troubles somewhere? > > Cheers, > Daniel > On 08.10.19 16:38, Duarte Rocha wrote: > > Thank you for your answer. > The green example was just for testing. My real example is similar to > yellow on a header parameter since i have a clien

Re: [SR-Users] Error parsing parameter value

2019-10-08 Thread Duarte Rocha
> green, the grammar in SIP specs has to be checked... > > Cheers, > Daniel > On 08.10.19 16:09, Duarte Rocha wrote: > > Hi David. > > I want to ble able to print : yellow = "twelve". > In the green example the "" are printed, but on the yellow

Re: [SR-Users] Error parsing parameter value

2019-10-08 Thread Duarte Rocha
Hi David. I want to ble able to print : yellow = "twelve". In the green example the "" are printed, but on the yellow example it is not. Cheers A terça, 8/10/2019, 12:36, Duarte Rocha escreveu: > Greetings, > > > > I'm testing some parameters ac

[SR-Users] Error parsing parameter value

2019-10-08 Thread Duarte Rocha
Greetings, I'm testing some parameters actions and i found a weird behaviour This is my code for the test : $var(Parameter_List) = "blue=twelve;green=twe\"lve\";yellow=\"twelve\""; xerr("Parameter List = $var(Parameter_List)"); xerr("Value of Parameter blue =

[SR-Users] Bad BYE request

2019-10-04 Thread Duarte Rocha
Greetings, This is a repeated problem, but i have more info now. Please help understand if there is a problem on my code or if there is any kind of Kamailio bug. On the first INVITE of every call i apply uac_replace_from() and uac_replace_to() in order to normalize numeration. I have the

Re: [SR-Users] Record-Route management

2019-10-03 Thread Duarte Rocha
I was using "enable_double_rr" with value 2. With value 1 it works as i want. Perfect. Is there something similar for the via header? A quinta, 3/10/2019, 16:41, Duarte Rocha escreveu: > Greetings, > > I have multiple IPs in my Kamailio. In some scenarios, the caller and t

[SR-Users] Record-Route management

2019-10-03 Thread Duarte Rocha
Greetings, I have multiple IPs in my Kamailio. In some scenarios, the caller and the called connect to different IPs and in others, they use the same IP. Currently i'm running with the RR's module "enable_double_rr" parameter set so i can have one Record-Route for each IP used on the call.

[SR-Users] Problem restoring To and From (uac_replace)

2019-09-24 Thread Duarte Rocha
this issue? Is there anything i can do to avoid 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] 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

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

[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

[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

[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

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 >

[SR-Users] Sipt redirection number retrieves old values

2019-08-07 Thread Duarte Rocha
Greetings, I'm doing VoiceMail detection using $sipt(redirection_number) from SIPT module and i've been having some false positives on the detection. I inspected further and noticed that in some cases $sipt(redirection_number) returns old values from previous messages, which makes me think that

[SR-Users] Malformed Route Header

2019-07-25 Thread Duarte Rocha
Router malformatted and creating this error ? 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] Two GWs with the same IP

2019-07-22 Thread Duarte Rocha
Greetings, I'm building some testing procedures for my Kamailio proxy. In order to do that i have a SipTester (Acting as Calling Number) from where i want to originate calls to Kamailio. After Kamailio processes the call, i want it to route it to SipTester again so it can act as Called Number.

[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] 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] 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] 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)

[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

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

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

[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] 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] 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] 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

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] 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] 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

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

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

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
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

[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

[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

  1   2   >