[SR-Users] Kamailio drop call with Teams

sip user sipuser404 at gmail.com
Thu Aug 13 14:26:13 CEST 2020


Hi, I'm connecting Teams with kamailio server. From Kamailio to teams I
have no problems, but from teams to Kamailio yes. Drop the call..

With ngrep I see that:

INVITE:

[image: imagen.png]
200 OK:

[image: imagen.png]

I never received ACK..

In my configuration:

Kamailio.cfg:

#!KAMAILIO
#!define WITH_TLS

event_route[tm:local-request] {

        if(is_method("OPTIONS") && $ru =~ "pstnhub.microsoft.com") {
               append_hf("Contact: <sip:FQND:5061;transport=tls>\r\n");
        }
        xlog("L_INFO", "Sent out tm request: $mb\n");
}

request_route{

       remove_hf("Route");
        if (is_method("INVITE|SUBSCRIBE")) {
                xlog("L_INFO","$fU is trying to call to $rU con valores
$tu\n");
                $ru = "sip:" + $rU + "@ip asterisk:port";
                route(RELAY);
        }
}

What I'm doing wrong?

I don't understand why not received ACK..

Could anyone help me?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200813/3d1b1a43/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imagen.png
Type: image/png
Size: 84328 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200813/3d1b1a43/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imagen.png
Type: image/png
Size: 54468 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200813/3d1b1a43/attachment-0001.png>


More information about the sr-users mailing list