[SR-Users] Re: Possibility to print values of Core Keywords in Kamailio configuration file

2024-06-19 Thread Olle E. Johansson via sr-users
> On 19 Jun 2024, at 20:47, sadik.oualla.mohamed--- via sr-users > wrote: > > Hello everyone, > > I have a question regarding the usage of core keywords, specifically the > possibility of printing their values in log messages. While I understand that > core keywords such as 'dst_port' and

[SR-Users] Re: Possibility to print values of Core Keywords in Kamailio configuration file

2024-06-19 Thread Victor Seva via sr-users
Mensaje original El 19/6/24 20:47, sadik.oualla.mohamed--- via sr-users ha escrito: > Hello everyone, > > I have a question regarding the usage of core keywords, specifically the > possibility of printing their values in log messages. While I understand that > core keywor

[SR-Users] Re: replies using the wrong protocol

2024-06-19 Thread smartin114--- via sr-users
I replaced IPs, FYI 200 OK from carrier SIP/2.0 200 OK Via: SIP/2.0/TLS KAM_PUB_IP:5061;branch=z9hG4bK18ff.3d856b8b0b007414ab2dec09cbabd574.0;i=a2 Via: SIP/2.0/TLS FS_PUB_IP:5061;received=FS_PUB_IP;rport=56403;branch=z9hG4bKKaee61yyZ98De From: "+14388006102" ;tag=XjQ5g4Ze5UaZp To: ;tag=gK04d

[SR-Users] Re: replies using the wrong protocol

2024-06-19 Thread Jon Bonilla (Manwe) via sr-users
El Wed, 19 Jun 2024 19:54:26 - "sarah.martin--- via sr-users" escribió: > I am extremely new at this, but trying to set up TLS with a carrier. TLS > connection is good, Invite goes out, we get the 100 and the 200, but > subsequent messages (ACK and BYE) are being sent with UDP and I cannot f

[SR-Users] replies using the wrong protocol

2024-06-19 Thread sarah.martin--- via sr-users
I am extremely new at this, but trying to set up TLS with a carrier. TLS connection is good, Invite goes out, we get the 100 and the 200, but subsequent messages (ACK and BYE) are being sent with UDP and I cannot figure out how to get them to maintain the TLS transport. Any suggestions? I thi

[SR-Users] Possibility to print values of Core Keywords in Kamailio configuration file

2024-06-19 Thread sadik.oualla.mohamed--- via sr-users
Hello everyone, I have a question regarding the usage of core keywords, specifically the possibility of printing their values in log messages. While I understand that core keywords such as 'dst_port' and 'af' etc... can be accessed directly in if conditions, I am interested to know if there is

[SR-Users] Re: Adding custom headers to HTTP server response xhttp

2024-06-19 Thread Sasivarunan via sr-users
HI Ihor I've tried it already, It doesn't append this header in Http response. KSR.hdr.*append_to_reply*("Strict-Transport-Security: max-age=63072000"); KSR.xhttp.xhttp_reply("200", "Ok", "text/plain", "working"); On Wed, Jun 19, 2024 at 3:12 PM Ihor Olkhovskyi via sr-users < sr-users@lists.kama

[SR-Users] Re: Adding custom headers to HTTP server response xhttp

2024-06-19 Thread Ihor Olkhovskyi via sr-users
Varunan, Have you tried https://www.kamailio.org/docs/modules/devel/modules/textops.html#textops.f.append_to_reply before calling * xhttp_reply*? Cheers, Ihor Le mer. 19 juin 2024 à 08:05, Sasivarunan via sr-users < sr-users@lists.kamailio.org> a écrit : > HI Team, > I use tls and xhttp module