Re: [SR-Users] Variables for P-Called-Party-ID Header

2019-07-12 Thread * Paolo Visintin - evosip.cloud
Hi Benjamin, imho the string transformations provided by kamailio ( https://www.kamailio.org/wiki/cookbooks/5.1.x/transformations) allow you to use the magic {uri.x} that has a more elegant output ! Cheers *Paolo Visintin* evosip.cloud [image: Risultati immagini per evosip] Il giorno ven

Re: [SR-Users] Variables for P-Called-Party-ID Header

2019-07-12 Thread * Paolo Visintin - evosip.cloud
Hi Benjamin, looking for something like this ? $var(user) = $(hdr(P-Called-Party-ID){s.replace,<,}{s.replace,>,}{uri.user}) *Paolo Visintin* evosip.cloud [image: Risultati immagini per evosip] Il giorno ven 12 lug 2019 alle ore 13:24 Benjamin Tietz < btietzkamai...@gmail.com>

Re: [SR-Users] TOPOS uid in contact param instead of username

2019-06-25 Thread * Paolo Visintin - evosip.cloud
Hello Thomas, In our experience I can confirm the same issue (we are using topos with redis like you and we are econtiering some restrictions when dealing with some carriers) . In my opinion this could be an interesting improvement that could be also set using a modparam, for example . Cheers, Pa

Re: [SR-Users] Record route dynamic IP

2019-04-17 Thread * Paolo Visintin - evosip.cloud
Hello Eyas, you could bind directly the network interface example: listen=udp:eth0:5060 listen=udp:eth1:5060 Il giorno mer 17 apr 2019 alle ore 17:30 eyas barhouk ha scritto: > hello dears > > i'm trying to build kamailio & asterisk with the following : > > >- Kamailio will listen to Al

Re: [SR-Users] Is DMQ now the recommended way to do things?

2019-02-21 Thread * Paolo Visintin - evosip.cloud
gt; Hello Paolo, > > This should fix your issue: > > https://github.com/kamailio/kamailio/commit/a176ad4fb4167e21b01974e6a5caba330b1d7e14 > > Let me know so it can be merged. > > Best, > > Charles > > On Thu, 21 Feb 2019 at 20:14, * Paolo Visintin - evosip.cloud

Re: [SR-Users] Is DMQ now the recommended way to do things?

2019-02-21 Thread * Paolo Visintin - evosip.cloud
Hello Henning, Due to some analysis (thanks for the activity to Enrico Bandiera and Giacomo Vacca) we found a bug in dmq module , internally made a quick and dirty patch and opened a issue on GitHub ! Cheers Il giorno sab 26 gen 2019 alle 19:19 * Paolo Visintin - evosip.cloud ha scritto

Re: [SR-Users] kamailio 5.2.0 with empty table of rtpengine - kamailio doesn't start

2019-02-04 Thread * Paolo Visintin - evosip.cloud
good to know for the future implementation and super for the artifacts! Anyone else experienced the bug regarding a empty rtpengine table causing non kamailio starting ? Many thanks Il giorno lun 4 feb 2019 alle ore 17:22 Daniel Tryba ha scritto: > On Mon, Feb 04, 2019 at 01:33:32PM +0100,

[SR-Users] kamailio 5.2.0 with empty table of rtpengine - kamailio doesn't start

2019-01-31 Thread * Paolo Visintin - evosip.cloud
Hello, I noticed that , with kamailio ver. 5.2.1 starting with empty rtpengine table causes strange messages in kamailio and it doesn't start modparam("rtpengine", "db_url", "text:///tmp/kamailio/dbtext") cat /tmp/kamailio/dbtext/rtpengine id(int,auto) setid(int) url(string) weight(int) disabled

Re: [SR-Users] Is DMQ now the recommended way to do things?

2019-01-26 Thread * Paolo Visintin - evosip.cloud
Hello Henning, Correctly understood, this is exactly what I've experienced (kamailio 5.2.0) I'll absolutely make a new lab-test and strace ! Thanks for your suggestion! Best regards Il giorno sab 26 gen 2019 alle ore 19:05 Henning Westerholt ha scritto: > Am Samstag, 26. Januar 2019, 19:00:3

Re: [SR-Users] Is DMQ now the recommended way to do things?

2019-01-26 Thread * Paolo Visintin - evosip.cloud
Hello ! I'm using DMQ in order to share : - htable - usrloc for usrloc seems everything working as expected. on htable I have noticed, after some stresstest made with sipp (25 cps / 600 concurrent calls) that one of the nodes (or sometimes both) eat a lot of cpu (300%) after stresstest ended [al

Re: [SR-Users] handling BYEs generated by dialog-timeout

2019-01-19 Thread * Paolo Visintin - evosip.cloud
og/sip-udp-fragmentation-and-kamailio-the-sip-header-diet/ > > -- Alex > > On Fri, Jan 18, 2019 at 11:20:59PM +0100, * Paolo Visintin - evosip.cloud > wrote: > > > Hi Alex, > > thanks for your suggestion, > > maybe RR with DNS alias could be a way to go! > >

Re: [SR-Users] handling BYEs generated by dialog-timeout

2019-01-18 Thread * Paolo Visintin - evosip.cloud
; > On Fri, Jan 18, 2019 at 10:14:28PM +0100, * Paolo Visintin - evosip.cloud > wrote: > > > Hi Alex, > > > > I relay packets with another kamailio on top, that is not using > > record-route; the "inner" kamailio sends packets setting the $du relaying > &

Re: [SR-Users] handling BYEs generated by dialog-timeout

2019-01-18 Thread * Paolo Visintin - evosip.cloud
to solve? > > -- Alex > > On Fri, Jan 18, 2019 at 03:27:19PM +0100, * Paolo Visintin - evosip.cloud > wrote: > > > Hello! > > > > I'm wondering if someone have experience in changing $du on local > kamailio > > generated packets (like BYE generated at

[SR-Users] handling BYEs generated by dialog-timeout

2019-01-18 Thread * Paolo Visintin - evosip.cloud
Hello! I'm wondering if someone have experience in changing $du on local kamailio generated packets (like BYE generated at the dialog-timeout) I'm trying to manipulate in `event_route[tm:local-request]` with no success. In the end I have it working using the `forward()` function and then using `e

Re: [SR-Users] Logging from cfg file

2018-12-29 Thread * Paolo Visintin - evosip.cloud
Joel , you could use $cfg(route) ! I usually store my breadcrumbs in a define and use on top of every interesting route ! Il giorno sab 29 dic 2018 alle 21:29 Joel Serrano ha scritto: > I wonder if there is a $something that contains the route-block-name? > > Anyone know? > > > On Sat, Dec 29,

Re: [SR-Users] kamailio does not responde if an rtpengine is unreachable

2018-12-24 Thread * Paolo Visintin - evosip.cloud
Hello Juha, I think we have experienced the same behaviour (also `service kamailio restart` does strange things like freezed processes and failure of reloading procedure) we solved starting with no rtpengine this produces at startup: WARNING: rtpengine [rtpengine_db.c:100]: rtpp_load_db(): No rtpp

Re: [SR-Users] domain-based routing

2018-08-19 Thread * Paolo Visintin - evosip.cloud
Hello David, You could use dialplan module where you can define also regex, manipulation or use the dest variabile to define your dispatcher Group or everything is useful for your routing logic. Dialplan parameters are loaded at startup and stored in memory, in a performance perspective. Cheers

Re: [SR-Users] DMQ problems

2018-08-05 Thread Paolo Visintin - evosip.cloud
nvironment with power dns and capturing also on the dns side Il Gio 2 Ago 2018, 20:40 Henning Westerholt ha scritto: > Am Donnerstag, 2. August 2018, 20:33:28 CEST schrieb Paolo Visintin - > evosip.cloud: > > I am able to see > > 0(710) DEBUG: dmq [notification_peer.c:240]: ge

Re: [SR-Users] DMQ problems

2018-08-02 Thread Paolo Visintin - evosip.cloud
owing commands? > > kamcmd dns.lookup SRV _sip._udp.dmq-router-service.paolo.svc.cluster.local > > kamcmd dns.lookup A dmq-router-service.paolo.svc.cluster.local > > Cheers, > > Charles > > > On 2 August 2018 at 13:27, Paolo Visintin - evosip.cloud < > paolo.visintin@evosip.clo

Re: [SR-Users] DMQ problems

2018-08-02 Thread Paolo Visintin - evosip.cloud
er.local A 172.28.0.240 *Paolo Visintin* *CTO* evosip.cloud [image: Risultati immagini per evosip] 2018-08-02 0:24 GMT+02:00 Paolo Visintin - evosip.cloud < paolo.visintin@evosip.cloud>: > > Hello Charles, > sorry for late reply, we've had some issues rebuilding docker image

Re: [SR-Users] DMQ mem leak issues

2018-08-02 Thread Paolo Visintin - evosip.cloud
Hi Charles, method == "KDMQ" says "syntax error" we solved using if($rm == "KDMQ") Cheers *Paolo Visintin* *CTO* evosip.cloud [image: Risultati immagini per evosip] 2018-08-02 9:43 GMT+02:00 Charles Chance : > Again out of interest, what happens if you change it to: > > if (method == “KDMQ”)

Re: [SR-Users] DMQ problems

2018-08-01 Thread Paolo Visintin - evosip.cloud
Hello Charles, sorry for late reply, we've had some issues rebuilding docker images with kamailo nightly build! We are running on our local, private on premise kubernetes cluster so connections from outside is simply impossible (in dev we are using a "closed" network system) I've just tried to :

Re: [SR-Users] TOPOS module errors

2018-06-01 Thread Paolo Visintin - evosip.cloud
Hello Alex & Daniel, the error specified is for database , but the warning for "tps_storage_record()" is also still here 0(1846) ERROR: topos [tps_storage.c:480]: tps_db_insert_dialog(): No database handle - misconfiguration? 0(1846) ERROR: topos [tps_storage.c:412]: tps_storage_record(): failed t