[SR-Users] Re: Disable topos for a specific peering IP

2024-07-11 Thread Patrick Karton via sr-users
You have to use topos:receiving instead of topos:incoming.Le 11 juil. 2024 08:48, Denys Pozniak via sr-users a écrit :Hello!I need to disable topos for one specific SIP trunk (in-out), it looks like it’s enough to use event_route with IP address filtering.But for some reason, the incoming INVITE f

[SR-Users] misctest module not found in kamailio debian packages

2024-06-29 Thread Patrick Karton via sr-users
Hello, how do i get misctest module in debian packages ? it seems not included in a package. is compilation the only way to get it ? im using kamailio 5.7.5 on debian (bullseye) 11.8 version: kamailio 5.7.5 (x86_64/linux) flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_N

[SR-Users] Re: topos module issue on hangup

2024-06-11 Thread Patrick Karton via sr-users
Hello,This is the purpose of topos module to hide Via, Contact, Record-Route and Route headers.If you configure and use it properly there should not be any routing issue.Do you call record_route function in your kamailio script ?Le 11 juin 2024 14:10, Arun K R via sr-users a écrit :Hello,I am usin

[SR-Users] Re: Branch Route trigger for Withindialog calls?

2024-03-21 Thread Patrick Karton via sr-users
Headers manipulations are per transaction so yes you Will Always need to filter them in a  branch route Le 21 mars 2024 15:54, Benoit Panizzon via sr-users a écrit :Hi List I am just wondering... When I am sending the initial INVITE to a customer CPE, this goes throug the whole location loo

[SR-Users] Re: loose_route false when using topos? At which point in the call flow, does topos restore the Route header?

2024-03-21 Thread Patrick Karton via sr-users
Yes topos restores the Route headers as soon as the request enters kamailio. So they are already available before you call loose_route.Le 27 févr. 2024 11:13, Benoit Panizzon via sr-users a écrit :Hi By setting: branch_expire to the same value as dialog_expire which is 12 hours, now my headers

[SR-Users] No 408 generated by tm module on fr_timer when redis crashes

2024-03-21 Thread Patrick Karton via sr-users
Hello im using redis for topos and i noticed that when kamailio sending INVITEs and no response received yet and and if redis crash the retransmissions stop but the fr_timer is never called so no 408 is generated by kamailio.So the transaction lives for a very long long time in memory.Do topos call

[SR-Users] Re: Bug in htable in 5.8.0

2024-03-16 Thread Patrick Karton via sr-users
Same bug in 5.7. versionsLe 15 mars 2024 15:08, Brooks Bridges via sr-users a écrit : Thanks Daniel, I’ll give that a try.     Brooks BridgesSr. Developer ​Direct: (888) 444‑ Office: (561) 453‑4085 Email: bbrid...@skyetel.com 902 Clint Moore Road ​Suite 206

[SR-Users] htable write access state

2024-02-21 Thread Patrick Karton via sr-users
Hello are htable protected for multiple write access? can i safely update htable from one process and be sure another process will access it for write operation ? if yes is the lock on all the htable or only on the bucket where the key belongs ? Thanks.

[SR-Users] Re: ERROR: run_top_route

2023-10-13 Thread Patrick Karton via sr-users
t_next_contacts()) { exit; } t_on_failure("serial"); $tu = $ru; if (!t_relay()) drop; // or exit } De : satyaprakash ch Envoyé : vendredi 13 octobre 2023 13:43 À : Patrick Karton Cc : Kamailio (SER) - Users Mailing List Objet : Re: [SR-Users]

[SR-Users] Re: ERROR: run_top_route

2023-10-11 Thread Patrick Karton via sr-users
023 07:27 À : Patrick Karton Cc : Kamailio (SER) - Users Mailing List Objet : Re: [SR-Users] ERROR: run_top_route Hi, Thanks for the reply, What if we would get a negative value, Do we need to change any code level, Will you please suggest what we need to do to resolve this? Waiting for your repl

[SR-Users] Re: What is the expected behavior for dispatcher's ds_next_dst?

2023-09-27 Thread Patrick Karton via sr-users
Hi, before using t_relay you can probably check if next hop uri is still in the target group with ds_is_from_list([groupid [, mode [, uri] ] ]) for example ds_is_from_list("3","3","$du"); all parameters can be variables too. you can check on documentation the mode parameter to see how compari

[SR-Users] Re: ERROR: run_top_route

2023-09-27 Thread Patrick Karton via sr-users
Hi, Probably because you are returning negative value in this failure_route De : satyaprakash ch via sr-users Envoyé : mercredi 27 septembre 2023 06:45 À : Kamailio (SER) - Users Mailing List Cc : satyaprakash ch Objet : [SR-Users] ERROR: run_top_route Hi, We

[SR-Users] Re: Missing posops module from 5.7 debian repo

2023-06-20 Thread Patrick Karton
oh sorry my fault. siptrace is already there. Thanks De : Daniel-Constantin Mierla Envoyé : mardi 20 juin 2023 09:34 À : Patrick Karton ; Kamailio (SER) - Users Mailing List Objet : Re: [SR-Users] Missing posops module from 5.7 debian repo siptrace is

[SR-Users] Re: Missing posops module from 5.7 debian repo

2023-06-20 Thread Patrick Karton
Possible also to add the siptrace module ? i dont find it either De : Daniel-Constantin Mierla Envoyé : mardi 20 juin 2023 08:27 À : Kamailio (SER) - Users Mailing List ; Patrick Karton Objet : Re: [SR-Users] Missing posops module from 5.7 debian repo Hello

[SR-Users] Re: Missing posops module from 5.7 debian repo

2023-06-20 Thread Patrick Karton
Thanks Daniel. De : Daniel-Constantin Mierla Envoyé : mardi 20 juin 2023 08:27 À : Kamailio (SER) - Users Mailing List ; Patrick Karton Objet : Re: [SR-Users] Missing posops module from 5.7 debian repo Hello, the module was not listed in a compiling

[SR-Users] Missing posops module from 5.7 debian repo 

2023-06-19 Thread Patrick Karton
hello , i have installed kamailio 5.7 from debian repo http://deb.kamailio.org/kamailio57 bullseye main but i dont find the posops module in the directory modules. what is the exactly package where i can find it. Thanks. __ Kamailio - U

[SR-Users] DISABLE SDP MEDIA STREAMS

2023-05-29 Thread Patrick Karton
Hello kamailio community, i know its an unusual query but i would like to know if there is a cleaner/proper.right way to disable some (or all) media streams in SDP. i have come with a solution by sdpops module with subst_body function like this. route[SDP_DISABLE_UNAUTHORIZED_MEDIA]{      

[SR-Users] Re: rtpengine module: Actions caused by rtpengine_manage() on reply-codes?

2023-04-21 Thread Patrick Karton
Hello,I dont think rtpengine_manage() does automatically rtpengine on 4xx.You have to explicitly do it. Bécasse rtpengine Can not decide if 4xx is for initial invite or reinvite failure.My advise use rtpengine_offer and rtpengine_answer and rtpengine_delete instead of rtpengine_manage.Le 21 avr. 20

[SR-Users] Call recovery for HA with sems

2023-03-08 Thread Patrick Karton
Hello kamailio community i know this is the not really the right place.But i would like to know if Someone here using the open source sems can guidé on the way to implément call recovery for HA on sems.The only way i see now is to use dsm app with sbc part. Its a riche language i think can do it.Bu

[SR-Users] Re: Call History

2023-02-21 Thread Patrick Karton
Hello,You can use the mqueue module functions to store data about the call on the request route.and use rtimer module to créate additional timer processes to fetch those informations and send it to rabbitmq.You will need to figure Out what interval is best for you to check if data is available on t

[SR-Users] change default 477 response code per case

2023-02-12 Thread Patrick Karton
Hello , i would like to know if there is a way to change the default 477 response code generated by kamailio in some cases. for example if kamalio generates 477 because its not able to reach a peer i would like to change it to another code before to forward it. Thanks. ___

[SR-Users] Sip messages responses counters per interface

2023-01-31 Thread Patrick Karton
Hello i see that kamailio provides counters for sip requests (INVITE,BYE,ACK,CANCEL,...) and the corresponding responses via core.but this seems to be a sum  from all kamailio interfaces.Is there a way or module to have those counters per kamailio interface ?Thanks._

[SR-Users] Re: PRACK / ACK issue with topos (was: topos vs topoh, any reason for putting a private IP in the Contact header?)

2023-01-27 Thread Patrick Karton
Hi Benoît,record_route must be called only for initial invite. Then After routing is handled properly for all other in dialog requests (ACK,PRACK,BYE,) by the topos internal hooks.t_check_trans is not linked to topos. Its a tm module function.and yes for positive replies ack and subséquent in d

[SR-Users] Re: topos vs topoh, any reason for putting a private IP in the Contact header?

2023-01-26 Thread Patrick Karton
Male sure record_route is used in kamailio script.Normally it should be used in initial invite.Le 26 janv. 2023 16:43, Benoit Panizzon a écrit :Hi Patrick Agreed, this could become an issue when we do dual stack ipv4 and ipv6 unless we use a hostname which will probably cause other issues.

[SR-Users] Re: topos vs topoh, any reason for putting a private IP in the Contact header?

2023-01-26 Thread Patrick Karton
Hello,You can put any IP for Contact in topoh module private or public.The only issue is that most of the time you dont know Always what is the right IP you need to put there and is even worst if your kamailio listens on More than 2 Ips.Topoh parameter for Contact IP is a static one.so you can not

Re: [SR-Users] Increase MAX_BRANCHES_LIMIT

2022-12-10 Thread Patrick Karton
Hellothere is already max_branches parameter you can set in config file.Le 10 déc. 2022 13:02, Lars Jansson a écrit : Hi, I am building a configuration script where for some traffic flows parallel forking will be needed, and in this case I need to go beyond the default max

Re: [SR-Users] Getting the name of an already set onreply_route

2022-12-07 Thread Patrick Karton
Or transaction variable (xavp) is best for that.Le 7 déc. 2022 12:00, Patrick Karton a écrit :Hello i dont think so.But probably you can use shared or private variable depending on your needs Le 7 déc. 2022 11:28, Denys Pozniak a écrit :Hello!Is it possible to find out the name of the

Re: [SR-Users] Getting the name of an already set onreply_route

2022-12-07 Thread Patrick Karton
Hello i dont think so.But probably you can use shared or private variable depending on your needs Le 7 déc. 2022 11:28, Denys Pozniak a écrit :Hello!Is it possible to find out the name of the onreply_route that was set before?Something like this:t_on_reply("MANAGE_REPLY");...if ( t_is_set("onreply

Re: [SR-Users] redis template config for topos module

2022-11-30 Thread Patrick Karton
Envoyé : mercredi 30 novembre 2022 12:48 À : Kamailio (SER) - Users Mailing List Cc : Patrick Karton Objet : RE: redis template config for topos module Hello, we are using topos and redis in a few customer installations. So far we did not had the necessitity to tune it to certain performance

[SR-Users] redis template config for topos module

2022-11-30 Thread Patrick Karton
Hello not a usual question but i would like to know if somebody using topos module with redis backend can provide me an optimized redis conf for redis for using it topos module. and possibly also when using it with dialog module. Thanks. __

Re: [SR-Users] Kamailio stops processing requests mid script

2022-09-16 Thread Patrick Karton
You should return -1 or any négative number instead of 0 in route ABC if you want the calling block to continue.Return 0 will end kamailio script. Its équivalent to exit in 5.6.1 and even 5.5.4 if i remember.Le 16 sept. 2022 15:48, Joel Serrano a écrit :Hi Daniel, So after a lot of digging, this i

Re: [SR-Users] Kamailio stops processing requests mid script

2022-09-16 Thread Patrick Karton
Return 0 is équivalent to exit in 5.6.1.So if in route ABC you return 0.the script will stop executing there.Le 16 sept. 2022 15:48, Joel Serrano a écrit :Hi Daniel, So after a lot of digging, this is my finding so far:Chronology:current Kamailio v5.5.2 - everything worksupdate to Kamailio v5.6.1

Re: [SR-Users] SIPp uas(SIPp)->client reINVITE late offer

2022-09-15 Thread Patrick Karton
Check record route header that seems to be the issue.Le 15 sept. 2022 12:02, David Villasmil a écrit :Hello all,Anyone got a SIPp scenario for reINVITE with late offer? I.e.:UAT--->INVITE (sdp)--->SIPp UAT<--- 100 <---SIPp UAT<--- 183 <---SIPp UAT<--- 200 OK <---SIPp UAT> ACK --->SIPp UAT

Re: [SR-Users] proper way for infinite loop in event_route for evrexec module

2022-08-16 Thread Patrick Karton
new config values from redis to kamailio immediatly. i want a way to trigger that as soon as we need it. and evrexec suits well for that i think. De : Patrick Karton Envoyé : mardi 16 août 2022 08:25 À : Kamailio (SER) - Users Mailing List Objet : RE: [SR-Users

Re: [SR-Users] proper way for infinite loop in event_route for evrexec module

2022-08-16 Thread Patrick Karton
-Users] proper way for infinite loop in event_route for evrexec module Patrick, Maybe I'm a bit out of context, but could some external process like cron suits better for this kind of tasks than internal job? Le 14/08/2022 à 16:37, Patrick Karton a écrit : Hello i would like to us

[SR-Users] proper way for infinite loop in event_route for evrexec module

2022-08-14 Thread Patrick Karton
Hello i would like to use the evrexec module to execute background jobs over exec module mainly because i want to be able to trigger that route manually via rpc from time to time. in the documentation its is stated we should use tasks that run forever and except using while loop i dont see ano

Re: [SR-Users] Change reply code reason other than using change_reply_status

2022-08-12 Thread Patrick Karton
trying to accomplish, you could intercept the negative reply (if a negative reply is what you’re trying to change) in a failure_route and use send_reply() to send back an entirely different reply to the caller, functionally altering the status/reason. — Alex > On Aug 12, 2022, at 1:00 PM, Patr

[SR-Users] Change reply code reason other than using change_reply_status

2022-08-12 Thread Patrick Karton
hello is there a way to change reply code reason other than using () function. because the first parameterc of change_reply_status needs to be a constant so i can not use pseudo var for first argument of that function. so i use change_reply_status_code to change to code with a pseudo. but i wo

Re: [SR-Users] incomplete values and Wrong Counting for $hfl and $hflc

2022-07-21 Thread Patrick Karton
ging Data route { $var(hname) = "Record-Route"; if (is_present_hf... github.com De : Daniel-Constantin Mierla Envoyé : jeudi 21 juillet 2022 15:43 À : Kamailio (SER) - Users Mailing List ; Patrick Karton Objet : Re: [SR-Users] incomplete values and W

[SR-Users] incomplete values and Wrong Counting for $hfl and $hflc

2022-07-21 Thread Patrick Karton
the counting and values provided by $hfl and $hflc are wrong and incomplete from my understanding. looking at the source code these pseudo vars count the body values of Via, Record-Route and Route headers. in kamalio 5.6.1 with Record-Route: Record-Route: , i get $hflc(Record-Route) == 2 ins

Re: [SR-Users] iterate trough all Record-Route values via @hf_value.Record_Route

2022-07-20 Thread Patrick Karton
] iterate trough all Record-Route values via @hf_value.Record_Route Hey! Try this one: $(hdr(name)[N]) - represents the body of the N-th header identified by 'name'. вт, 19 июл. 2022 г. в 15:49, Patrick Karton mailto:patrickar...@hotmail.com>>: Hello All, i would to iterate th

[SR-Users] iterate trough all Record-Route values via @hf_value.Record_Route

2022-07-19 Thread Patrick Karton
Hello All, i would to iterate through all ips in Record-Route through @hf_value.Record_Route. if i put static index like @hf_value.Record_Route[0] it works. but $var(i) = 0; @hf_value.Record_Route[$var(i)] does not work. is there a way to get the count of all headers values through @hf_value

Re: [SR-Users] Need Suggestion/Idea to set call limit on 3 kamailios.

2022-07-12 Thread Patrick Karton
Use dialog module with dmq.Profiles are propagated in each instance.Le 13 juil. 2022 05:56, Waqar 40 a écrit :Please Read the Scenario in full and then guide me.In my scenario, I have three Kamailio (KamA, KamB, KamC) running in production. They do load balancing for the asterisks which are about

[SR-Users] log any rpc command

2022-07-08 Thread Patrick Karton
hello is there a way to log in kamailio any kamcmd entered ? Thanks. __ Kamailio - Users Mailing List - Non Commercial Discussions * sr-users@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the

Re: [SR-Users] Releasing v5.6.1

2022-07-08 Thread Patrick Karton
Thanks. All the team. Just one question on which base commit pull requests are merged in current branch. i see some new master commits not been merged in this release. especially ims_qos: fix module loading crash 0550a3d44b2addc160b6a20bd2c9bf2831187400 tm: new param to specify reply codes

Re: [SR-Users] kamailio 5.6.1 minor release

2022-07-06 Thread Patrick Karton
:-) -- probably you missed the message on this list before yours, see the archive: - https://lists.kamailio.org/pipermail/sr-users/2022-July/date.html Cheers, Daniel On 06.07.22 15:03, Patrick Karton wrote: Hello Daniel, you said a couple weeks ago that you plan to release a minor release 5.6.1

[SR-Users] kamailio 5.6.1 minor release

2022-07-06 Thread Patrick Karton
Hello Daniel, you said a couple weeks ago that you plan to release a minor release 5.6.1 for this week. its still on plan ? Thanks. __ Kamailio - Users Mailing List - Non Commercial Discussions * sr-users@lists.kamailio.org Important: ke

Re: [SR-Users] return 0 is not equivalent to exit

2022-07-04 Thread Patrick Karton
Thanks Daniel i upgraded kamailio version De : Daniel-Constantin Mierla Envoyé : lundi 4 juillet 2022 09:59 À : Kamailio (SER) - Users Mailing List ; Patrick Karton Objet : Re: [SR-Users] return 0 is not equivalent to exit There was a missing internal flag

[SR-Users] compare pseudo var ip to one of kamailio ips

2022-07-04 Thread Patrick Karton
is there a function or way to compare an ip store in pseudo variable to one kamailio ips ? i would for example if ( $nh(d) == myself ) __ Kamailio - Users Mailing List - Non Commercial Discussions * sr-users@lists.kamailio.org Important:

[SR-Users] return 0 is not equivalent to exit

2022-07-04 Thread Patrick Karton
on 5.5 kamailio wiki for core it is stated that return (0) is the same as exit. but that's not true request_route { if (route(POS)){ xlog("POS PASS\r\n"); } if (!route(NEG)){ xlog("NEG PASS\r\n"); } if (!route(ZERO)) { xlog("ZERO PASS\r\n"); }

Re: [SR-Users] branch_route not called on DNS failover

2022-07-01 Thread Patrick Karton
: vendredi 1 juillet 2022 20:01 À : Kamailio (SER) - Users Mailing List Objet : Re: [SR-Users] branch_route not called on DNS failover > On Jul 1, 2022, at 10:23 AM, Patrick Karton wrote: > > do i need again to set branch_route in failure_route ? > Short answer: yes. -- Alex Balashov

[SR-Users] branch_route not called on DNS failover

2022-07-01 Thread Patrick Karton
im using dns failover with tm module. i set parameter reparse_on_dns_failover to 0 so that branch_route is called . but when trying next peer of dns failover initial transaction branch_route is not called. do i missing something ? for the first peer branch_route is called and the peer timeout s

Re: [SR-Users] SIP Proxy Challange

2022-06-27 Thread Patrick Karton
Hello topos module keeps only one Via header when forwarding so you can try it De : sr-users de la part de Mihai Envoyé : vendredi 24 juin 2022 13:58 À : Kamailio (SER) - Users Mailing List Objet : [SR-Users] SIP Proxy Challange Hello ! I have this issue wi

Re: [SR-Users] How to handle a 301 redirect request from a client?

2022-06-24 Thread Patrick Karton
Panizzon Envoyé : vendredi 24 juin 2022 16:10 À : Patrick Karton Cc : Kamailio (SER) - Users Mailing List Objet : Re: [SR-Users] How to handle a 301 redirect request from a client? Salut Patrick > since you want to apply manipulation on the new user received from > 300 response you need

Re: [SR-Users] How to handle a 301 redirect request from a client?

2022-06-24 Thread Patrick Karton
. De : Benoît Panizzon Envoyé : vendredi 24 juin 2022 15:06 À : Patrick Karton Cc : Kamailio (SER) - Users Mailing List Objet : Re: [SR-Users] How to handle a 301 redirect request from a client? Salut Patrick Thank you for your help. I ended up with this: if (t_check_status

Re: [SR-Users] How to handle a 301 redirect request from a client?

2022-06-24 Thread Patrick Karton
change it ; it already contains the new user from 300 add_diversion("user-busy"); add_diversion("user-busy", "$ru"); } ________ De : Benoît Panizzon Envoyé : vendredi 24 juin 2022 14:11 À : Patrick Karton Cc : Kamailio (SER) - Users

Re: [SR-Users] Releasing v5.6.1

2022-06-24 Thread Patrick Karton
Hello Daniel , this is not a directly response to your mail but how much time will it take to include this 5.6.1 version on debian repository after the release ? Thanks. De : sr-users de la part de Daniel-Constantin Mierla Envoyé : vendredi 24 juin 2022 09:3

Re: [SR-Users] How to handle a 301 redirect request from a client?

2022-06-24 Thread Patrick Karton
IVERSION] { add_diversion("user-busy"); add_diversion("user-busy", "$ru"); } ____ De : sr-users de la part de Patrick Karton Envoyé : vendredi 24 juin 2022 11:21 À : Benoît Panizzon Cc : Kamailio (SER) - Users Mailing List Objet : Re:

Re: [SR-Users] How to handle a 301 redirect request from a client?

2022-06-24 Thread Patrick Karton
No the uac_redirect module does not create Diversion header. but thats not a big issue. we can still use branch_route to add a Diversion with diversion module before forwarding the request. De : Benoît Panizzon Envoyé : vendredi 24 juin 2022 11:11 À : Patrick

Re: [SR-Users] How to handle a 301 redirect request from a client?

2022-06-24 Thread Patrick Karton
Hello,You can check the uac_redirect module.Not sure it handle Diversion header but its a good starting point.Le 24 juin 2022 07:46, Benoît Panizzon a écrit :Hi Gang We want to allow customers to send a 301 to forward calls to mimik ISDN PARE. The new destination is in the contact user HF. So I gu

[SR-Users] update PAI Header User part

2022-06-21 Thread Patrick Karton
hello is there a cleaner/fastest way to update PAI header user part other than using subst i come up with subst('/^P-Asserted-Identity:(.*)(sip|sips|tel|tels):([^@]*)@([a-zA-Z0-9.]+)(.*)$/P-Asserted-Identity:\1\2:$var(newPAIUser)@\4\5/ig'); Thanks. ___

Re: [SR-Users] Record-Route advertised per branch

2022-06-16 Thread Patrick Karton
It only work for request route.Le 16 juin 2022 14:19, Ilie Soltanici a écrit :Hello,Thank you, added it now - still the same, unfortunately.Regards,On Thu, 16 Jun 2022 at 13:29, Sergiu Pojoga wrote:Have you tried calling t_save_lumps() before relaying, even before RR?On Thu, Ju

Re: [SR-Users] problem getting the rtp packet source port

2022-06-13 Thread Patrick Karton
Thé port in SDP is the port from which the endpoint wants to receive. It is not mandatory to use the same port to send traffic.Unless you know the endpoint will use symetric rtp. There is no way to know in avance which port it will use to send.Le 12 juin 2022 14:40, hamed r a écrit :hello i have p

Re: [SR-Users] remove headers with less than 5 characters with textops

2022-06-07 Thread Patrick Karton
you sure that’s desirable? Ben Kaufman From: sr-users On Behalf Of Patrick Karton Sent: Tuesday, June 7, 2022 9:59 AM To: sr-users@lists.kamailio.org Subject: [SR-Users] remove headers with less than 5 characters with textops Hello im trying to textops module to remove headers with name

[SR-Users] remove headers with less than 5 characters with textops

2022-06-07 Thread Patrick Karton
Hello im trying to textops module to remove headers with name length less than 5 characters with regular expression but it seems impossible or the module does not handle $ char remove_hf_re("^.{1,5}$") __ Kamailio - Users Mailing List -

Re: [SR-Users] DNS Failover try next destination on receiving code other than 503

2022-05-30 Thread Patrick Karton
. Cheers, Daniel On 23.05.22 16:48, Patrick Karton wrote: Hello,  im using DNS Failover and everything works well except i would like to try other resolved ips

Re: [SR-Users] TOPOS + RE-INVITE problem - Contact IP not updated

2022-05-24 Thread Patrick Karton
Hello, try to apply this setting for topos module. modparam("topos", "contact_mode", 0) 10.10.70.70 does not put the full contact uri in the R-INVITE. try put contact_mode to 0 (and not 1 or 2). De : sr-users de la part de c c Envoyé : lundi 23 mai 2022 08:3

[SR-Users] get and store destination ip address and port that the request will be sent to

2022-05-23 Thread Patrick Karton
Hello is there a way or pseudo var to get ip address & port that the request will be sent to and save it in to another variable. i want a way to get it to store it. im not able to save it with to_ip and to_port of the onsend_route. TThanks. _

[SR-Users] DNS Failover try next destination on receiving code other than 503

2022-05-23 Thread Patrick Karton
Hello, im using DNS Failover and everything works well except i would like to try other resolved ips when i receive a 408 from the previous ones As far as i know only a received 503 will trigger next destinations and there is no config parameters in tm module to handle that behaviour. so how c

Re: [SR-Users] sanity_reply not available from sanity module

2022-05-04 Thread Patrick Karton
Thanks! De : Daniel-Constantin Mierla Envoyé : mercredi 4 mai 2022 14:35 À : Kamailio (SER) - Users Mailing List ; Patrick Karton Objet : Re: [SR-Users] sanity_reply not available from sanity module Hello, indeed there was an error with the exported

[SR-Users] sanity_reply not available from sanity module

2022-05-04 Thread Patrick Karton
Hello , the sanity_reply function from sanity is not available in kamailio script so i get an error when i want to use it. in the module source i see this static cmd_export_t cmds[] = { {"sanity_check", (cmd_function)w_sanity_check, 0, 0, 0, REQUEST_ROUTE|ONREPLY_ROUTE}, {"sanity_check", (cmd_

[SR-Users] FAILEDOVER ROUTING WITH DNS SRV Records

2022-05-04 Thread Patrick Karton
Hello, im using kamaliio 5.5.3 and I want to do failedover routing with DNS SRV Records. in my lab i have these SRV records ;; ANSWER SECTION: voip.oov-obs-tools-dev.svc.cluster.local. 5 IN SRV 0 33 5060 100-68-7-74.voip.oov-obs-tools-dev.svc.cluster.local. voip.oov-obs-tools-dev.svc.cluster.l

Re: [SR-Users] pseudo var for From and To sip uri port

2022-03-21 Thread Patrick Karton
Thanks for uac tip 🙂 De : Henning Westerholt Envoyé : lundi 21 mars 2022 09:13 À : Kamailio (SER) - Users Mailing List Cc : Patrick Karton Objet : RE: pseudo var for From and To sip uri port Hello, you can get the header port with “transformations”. If

[SR-Users] pseudo var for From and To sip uri port

2022-03-20 Thread Patrick Karton
Hello, is there a pseudo variable for setting only sip uri port for From and To Headers like $rp for R-URI ? __ Kamailio - Users Mailing List - Non Commercial Discussions * sr-users@lists.kamailio.org Important: keep the mailing list i

[SR-Users] dialog module issues (BYE Request issued) when topos is enabled

2022-03-19 Thread Patrick Karton
i am using dialog and topos module. but i have an issue i think with topos module. When topos module is disabled all the call flow works well but when i enable topos module i have this weird behaviour : after Caller sends BYE and complete the call , i receive later a BYE Request issued by the

Re: [SR-Users] Can Kamailio send an ACK to a final response?

2022-03-19 Thread Patrick Karton
No.Kamailio can not genrate an ACK by itself.it just forwards or absorb thème.Le 19 mars 2022 12:34, Marrold a écrit :Hello,I'm exploring using Kamailio as a dumb edge proxy, and as such I want to keep things as lean as possible.In some scenarios I would like the "core" proxies to signal to the ed

Re: [SR-Users] help to configure topos module configuration

2022-03-18 Thread Patrick Karton
Mailing List Objet : Re: [SR-Users] help to configure topos module configuration Hi, I recently looked into this and I don't believe it's possible. As a work around I used split DNS and an FQDN in the contact. Thanks Matthew On Fri, Mar 18, 2022 at 8:44 AM Patrick Karton mailto

Re: [SR-Users] MESSAGE METHOD - Send message to a softphone - $uac_req

2022-03-18 Thread Patrick Karton
hello, generally speaking, from and to Header are not used for routing sip request. in kamailio the relayed request is based on ip:port of request uri ($ru pseudo var ) or destination ($du var ). so the ip:port of the next element to reach must be in $ru or $du. in your case it is in the ruri.

[SR-Users] help to configure topos module configuration

2022-03-18 Thread Patrick Karton
Caller <--> (internal_IP) Kamailio (external_IP) <---> Callee I have this set up of kamailio with 2 interfaces. i use topos module for topology hiding and what i want to do is to send external_IP in Contact Header of request relayed to Callee and internal_IP in Contact Header of response relay

Re: [SR-Users] enable topology hiding on one side or dynamic ip in topoh module Contact and Via Header

2022-03-18 Thread Patrick Karton
quest like when contact_mode to 0 - and put 2 different ip addresses in Request and Response Contact Header is it possible to achieve it ? Thanks. De : sr-users de la part de Patrick Karton Envoyé : jeudi 17 mars 2022 19:39 À : Henning Westerholt ; Kamaili

Re: [SR-Users] enable topology hiding on one side or dynamic ip in topoh module Contact and Via Header

2022-03-17 Thread Patrick Karton
contact(string,null) bs_contact(string,null) x_tag(string,null) a_tag(string,null) b_tag(string,null) a_srcaddr(string,null) b_srcaddr(string,null) a_socket(string,null) b_socket(string,null) do i need to insert some records in table or the module does it ? De

Re: [SR-Users] kamctl or kamcmd way to enable/disable sections of configs

2022-03-17 Thread Patrick Karton
Hello,Maybe you can use htable to store Dynamic configuration. And change value of htable value from kamcmd.Le 16 mars 2022 15:29, Joshua Young a écrit :#!define MYSECTION"    route("1");    #!ifdef MYSECTION    route("2");    #!endifI have declarations like this in my kamailio.cfg file, and was c

[SR-Users] enable topology hiding on one side or dynamic ip in topoh module Contact and Via Header

2022-03-16 Thread Patrick Karton
Hello , im using kamailio with two interfaces external and internal. i need a way either to : * enable topoh hiding only when outgoing interface is external ( mask contact and Via ip only when ougoing interface is external * or if it is not possible to enable it only in one direction.i

Re: [SR-Users] properly removing First Via header received

2022-03-16 Thread Patrick Karton
/when multiple Via values are comma-separated in a single header field. https://www.kamailio.org/docs/modules/devel/modules/textopsx.html#textopsx.f.remove_hf_value James On Wed, 16 Mar 2022 at 08:19, Patrick Karton wrote: > > i want to remove the First Via Header received from uac to kama

[SR-Users] properly removing First Via header received

2022-03-16 Thread Patrick Karton
i want to remove the First Via Header received from uac to kamailio. so in my script i use remove_hf("Via") but in the relayed request i see that ";received=x.x.x.x;rport=" is left without any header before it. i think internally kamailio adds a lump before i call the remove_hf function.

Re: [SR-Users] clean an easy way to get sip uri of contact header

2022-03-14 Thread Patrick Karton
Yes just want to know how to strip down display name in Contact header if present.Le 15 mars 2022 01:54, Alex Balashov a écrit :Won’t $ct vs $hdr(Contact) address that?—Sent from mobile, with due apologies for brevity and errors.On Mar 14, 2022, at 8:51 PM, Patrick Karton wrote

[SR-Users] clean an easy way to get sip uri of contact header

2022-03-14 Thread Patrick Karton
hello, i want a generic way to get the sip uri in contact header. for example if Contact: Sipp ;tid=700 i want a way to get both (without header param) and ;tid=700 (with header param) Thanks. __ Kamailio - Users Mailing List - Non Comm

Re: [SR-Users] limit the length of Via branch parameter

2022-03-14 Thread Patrick Karton
hello , he one that is generated from Kamailio De : Henning Westerholt Envoyé : lundi 14 mars 2022 11:39 À : Kamailio (SER) - Users Mailing List Cc : Patrick Karton Objet : RE: limit the length of Via branch parameter Hello, not sure why one wants to do

[SR-Users] limit the length of Via branch parameter

2022-03-13 Thread Patrick Karton
Hello, i would like to know if there is a way or option to limit the length of the value of branch parameter in Via header ? Thanks. __ Kamailio - Users Mailing List - Non Commercial Discussions * sr-users@lists.kamailio.org Important: ke

Re: [SR-Users] SIP server port service cannot be changed from default value (5060)

2022-02-16 Thread Patrick Karton
ource, because there are many parameter use 5060 port in the source, it may need more changes further.Pada tanggal Rab, 16 Feb 2022 pukul 15.59 Patrick Karton <patrickar...@hotmail.com> menulis: you have to explicitly set the new port you want. listen=udp:127.0.0.1:7070

Re: [SR-Users] SIP server port service cannot be changed from default value (5060)

2022-02-16 Thread Patrick Karton
you have to explicitly set the new port you want. listen=udp:127.0.0.1:7070 De : sr-users de la part de bayu p Envoyé : mercredi 16 février 2022 09:16 À : sr-users@lists.kamailio.org Objet : [SR-Users] SIP server port service cannot be changed from default valu

Re: [SR-Users] get kamailio sip processes id

2022-02-09 Thread Patrick Karton
thanks a lot Daniel. great and more clean output indeed. De : Daniel-Constantin Mierla Envoyé : mercredi 9 février 2022 08:24 À : Kamailio (SER) - Users Mailing List ; Patrick Karton Objet : Re: [SR-Users] get kamailio sip processes id The approach is similar

Re: [SR-Users] SEMS license with kamailio and rtpengine

2022-02-08 Thread Patrick Karton
course, consult a lawyer if you have any truly esoteric questions. — Alex > On Feb 8, 2022, at 2:50 PM, Patrick Karton wrote: > > Thanks for explanation Alex. > > Im a service provider. > > Le 8 févr. 2022 20:14, Alex Balashov a écrit : > You can Google the meaning

Re: [SR-Users] SEMS license with kamailio and rtpengine

2022-02-08 Thread Patrick Karton
, because it is free software. Are you a service provider, or are you in the business of selling software for service providers? > On Feb 8, 2022, at 12:37 PM, Patrick Karton wrote: > > Hi Alex, > > Thank you very much for the response. > > i did not understand your las

Re: [SR-Users] SEMS license with kamailio and rtpengine

2022-02-08 Thread Patrick Karton
platform to sell telephony to customers. You may not, however, sell SEMS per se. That’s the very, very simple version. — Sent from mobile, with due apologies for brevity and errors. On Feb 8, 2022, at 11:47 AM, Patrick Karton wrote:  Hello im using kamailio and rtpengine to build a custom S

[SR-Users] SEMS license with kamailio and rtpengine

2022-02-08 Thread Patrick Karton
Hello im using kamailio and rtpengine to build a custom SBC. i was using freeswitch as my b2bua but i noticed a lot of issues when cps and simultaneous increased so i tried sems and i have better results. But i do not really understand sems license so i want to know if i can use it. i read from

Re: [SR-Users] get kamailio sip processes id

2022-02-08 Thread Patrick Karton
work for you. top -c -p $(kamcmd ps | grep receiver | awk '{ print $1 }' | xargs | tr ' ' ,) James On Tue, 8 Feb 2022 at 11:26, Patrick Karton wrote: > > hello, > as we are all aware kamailio create a lot of processes for many tasks. > > im using kamailio in kub

[SR-Users] get kamailio sip processes id

2022-02-08 Thread Patrick Karton
hello, as we are all aware kamailio create a lot of processes for many tasks. im using kamailio in kubernetes and i would like to monitor only sip processes with top command. i only need a way to get only kamailio sip processes id (udp receiver that handle sip request) . but i dont knwo how to

[SR-Users] use $var or $avp in ds_list_exists & ds_select dispatcher function

2022-01-19 Thread Patrick Karton
Hello im using kamailio 5.5.3 and im trying to use pseudo vars in ds_list_exists and ds_select function but it does not work. ds_list_exists return -2 with ds_list_exists("6") it works $var(dset)=6 or $avp(dset)=6 it does not work ds_list_exists("$var(dset)") --> return -2 ds_list_exists("$a

Re: [SR-Users] Experiences with Kamailio on Debian 11 Bullseye

2021-11-17 Thread Patrick Karton
Hello,I am using kamailio 5.5.2 on debian 11 bullseye on kubernetes.Not Seen any issue so far.Le 17 nov. 2021 21:42, George Diamantopoulos a écrit :Hello all,I'm also considering an upgrade in the coming weeks, but I'm a little reluctant seeing there has been no feedback from anyone on the list.I'

  1   2   >