Re: [SR-Users] No audio when calling from SIP to WEBRTC

2020-05-18 Thread Daniel-Constantin Mierla
Hello, the private key for creating the tls connection is not found: May 15 14:17:12 pluto /usr/local/sbin/kamailio[2158]: DEBUG: tls [tls_domain.c:1159]: tls_lookup_private_key(): Private key lookup for SSL_CTX-0x7fb8b0698018: (nil) May 15 14:17:12 pluto /usr/local/sbin/kamailio[2158]: DEBUG: [

Re: [SR-Users] Issue of calls drop 32s

2020-05-18 Thread Daniel-Constantin Mierla
Hello, you have to provide the PCAP (or ngrep output) for such a call taken on kamailio system to see the headers of each sip message and try to understand where the issue is. Cheers, Daniel On 18.05.20 09:38, Rex Lin (林昱頡) wrote: > Hi, >   > Do you need further information? Actually, I am not s

Re: [SR-Users] rfc: types of announcements on sr-users list

2020-05-18 Thread Daniel-Constantin Mierla
Hello, I got only a few direct responses in the line of "don't minding" to get one-time announcements about open source and free projects related to Kamailio. If no other opinion, then let's go this way and then adjust the policies if needed based on what happenes. Cheers, Daniel On 06.05.20 12

Re: [SR-Users] mid-registrar example

2020-05-18 Thread Daniel-Constantin Mierla
Hello, On 18.05.20 22:42, Easy Rider wrote: > Hello > > Le lun. 18 mai 2020 à 17:50, Daniel-Constantin Mierla > mailto:mico...@gmail.com>> a écrit : > > Hello, > > On 16.05.20 23:56, Easy Rider wrote: >> Thanks for the answer, very helpful >> >> On 16.05.2020 11:02, Daniel-Constant

Re: [SR-Users] mid-registrar example

2020-05-18 Thread Easy Rider
Hello Le lun. 18 mai 2020 à 17:50, Daniel-Constantin Mierla a écrit : > Hello, > On 16.05.20 23:56, Easy Rider wrote: > > Thanks for the answer, very helpful > > On 16.05.2020 11:02, Daniel-Constantin Mierla wrote : > >> >> Have you tried by setting the CSeq header inside $uac_req(hdrs)? >> > >

Re: [SR-Users] s.replace Transformation and Newline

2020-05-18 Thread Daniel-Constantin Mierla
Can you try with a variable: $var(x) = "a=sendrecv\r\na=curr:qos local none"; and use it inside the s.replace transformation. Cheers, Daniel On 18.05.20 19:21, Carsten Bock wrote: > Sorry for the confusion - my initial example contained a typo. The > right version: > > [...] > $sht(sdp=>$ci) =

Re: [SR-Users] s.replace Transformation and Newline

2020-05-18 Thread Carsten Bock
Sorry for the confusion - my initial example contained a typo. The right version: [...] $sht(sdp=>$ci) = $(rb{s.replace,a=sendrecv,a=sendrecv\r\na=curr:qos local none}); [...] set_reply_body("$sht(sdp=>$ci)", "application/sdp"); send_reply("200", "OK"); [...] It works like a charm, however I'm fa

Re: [SR-Users] s.replace Transformation and Newline

2020-05-18 Thread Daniel-Constantin Mierla
Hello, is not clear to me: so when you had it with one backslash, it was the two chars '\n'  in sdp, when it was \\n was it with 2 backslashes (3 chars)? Cheers, Daniel On 18.05.20 17:58, Carsten Bock wrote: > Hi Daniel, > > Unfortunately, I already had replaced that. While I had the two \\ in >

Re: [SR-Users] s.replace Transformation and Newline

2020-05-18 Thread Carsten Bock
Hi Daniel, Unfortunately, I already had replaced that. While I had the two \\ in config, I also had two \\ in the SDP... Thanks, Carsten Daniel-Constantin Mierla schrieb am Mo., 18. Mai 2020, 17:49: > Hello, > > I see you have two backslashes \\ for r and n. Have you tried with only > one? >

Re: [SR-Users] mid-registrar example

2020-05-18 Thread Daniel-Constantin Mierla
Hello, On 16.05.20 23:56, Easy Rider wrote: > Thanks for the answer, very helpful > > On 16.05.2020 11:02, Daniel-Constantin Mierla wrote : > > > Have you tried by setting the CSeq header inside $uac_req(hdrs)? > > > I tried, it simply adds another CSeq header, not replacing the > generated on

Re: [SR-Users] s.replace Transformation and Newline

2020-05-18 Thread Daniel-Constantin Mierla
Hello, I see you have two backslashes \\ for r and n. Have you tried with only one? \\ is supposed to be \ character. Cheers, Daniel On 18.05.20 16:32, Carsten Bock wrote: > Hi, > > I am trying the following: > - extract the message body > - replace some content > - store it in a hashtable > -

[SR-Users] s.replace Transformation and Newline

2020-05-18 Thread Carsten Bock
Hi, I am trying the following: - extract the message body - replace some content - store it in a hashtable - send it out in a reply in later request I do the following: [...] $sht(sdp=>$ci) = $(rb{s.replace,a=sendrecv,a=sendrecv\\r\\na=curr:qos local none}); [...] set_reply_body("$sht(sdp=>$ci)"

Re: [SR-Users] Issue of calls drop 32s

2020-05-18 Thread 林昱頡
Hi, Do you need further information? Actually, I am not sure if the process is normal, there‘s no problem with the call at least. Could it be caused any problem if all clients do fix_nated_register? Best Regards, Rex From: Rex Lin (林昱頡) Sent: Friday, May 15, 2020 2:37 PM To: Kamailio (SER) - U