From sipuser404@gmail.com Tue Apr 21 19:05:34 2020 From: sip user To: sr-users@lists.kamailio.org Subject: Re: [SR-Users] Kamailio like SBC with Teams Date: Tue, 21 Apr 2020 19:05:23 +0200 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1370537272==" --===============1370537272== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Sorry.. I received the invite with the dial number.. But i do not received de ACK.. Can I check any way if I received the ACK? Thanks El martes, 21 de abril de 2020, sip user escribi=C3= =B3: > Thanks Sergiu.. > > It works for me. > > Now, when I make a call from Teams, in syslog I see: > > Apr 21 10:39:39 vps793907 /usr/sbin/kamailio[20651]: DEBUG: > [parser/msg_parser.c:623]: parse_msg(): SIP Request: > Apr 21 10:39:39 vps793907 /usr/sbin/kamailio[20651]: DEBUG: > [parser/msg_parser.c:625]: parse_msg(): method: > Apr 21 10:39:39 vps793907 /usr/sbin/kamailio[20651]: DEBUG: > [parser/msg_parser.c:627]: parse_msg(): uri: :5061;user=3Dphone;transport=3Dtls> > Apr 21 10:39:39 vps793907 /usr/sbin/kamailio[20651]: DEBUG: > [parser/msg_parser.c:629]: parse_msg(): version: > > But now How can I do to "transfer" the call to a kamailio user or to my > Asterisk? > > Thanks for all > > El mar., 21 abr. 2020 a las 6:18, Sergiu Pojoga () > escribi=C3=B3: > >> Check out below thread, it explains it all. >> >> https://lists.kamailio.org/pipermail/sr-users/2020-March/108684.html >> >> On Mon, Apr 20, 2020 at 3:24 PM sip user wrote: >> >>> Sorry.. Im a bit loose in this one... >>> >>> So, ive use letsencrypy to generate the certificate, and the CA, how i >>> have to generate? >>> >>> Thanks >>> >>> El lun., 20 abr. 2020 19:06, Sergiu Pojoga escribi= =C3=B3: >>> >>>> ca_list=3D /etc/letsencrypt/live/FQND/chain.pem >>>> >>>> Is that pointing to your Root CA certificate? I highly doubt it. >>>> That's probably the reason why you get "tls_read_f(): TLS >>>> write:error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate >>>> verify failed" >>>> >>>> On Mon, Apr 20, 2020 at 11:53 AM sip user wrote: >>>> >>>>> Hi.. >>>>> >>>>> Thank you all very much for answering me. >>>>> >>>>> I have made many test: >>>>> >>>>> First, I've installed ssl cert with letsencrypt, like >>>>> https://www.fredposner.com/1836/kamailio-tls-and-letsencrypt/, this >>>>> one i made it before. >>>>> >>>>> I've configured tls.cfg like: >>>>> >>>>> [server:default] >>>>> method =3D TLSv1.2 >>>>> verify_certificate =3D yes >>>>> require_certificate =3D yes >>>>> private_key =3D /etc/letsencrypt/live/FQND/privkey.pem >>>>> certificate =3D /etc/letsencrypt/live/FQDN/fullchain.pem >>>>> ca_list=3D /etc/letsencrypt/live/FQND/chain.pem >>>>> >>>>> [client:default] >>>>> method =3D TLSv1.2 >>>>> verify_certificate =3D yes >>>>> require_certificate =3D yes >>>>> private_key =3D /etc/letsencrypt/live/FQND/privkey.pem >>>>> certificate =3D /etc/letsencrypt/live/FQDN/fullchain.pem >>>>> ca_list=3D /etc/letsencrypt/live/FQND/chain.pem >>>>> >>>>> In syslog I received: >>>>> >>>>> Apr 20 17:31:25 vps793907 /usr/sbin/kamailio[8481]: INFO: