[SR-Users] problems with dispatcher.list

michael.weinzierl at posteo.de michael.weinzierl at posteo.de
Fri Apr 3 09:38:11 CEST 2020


Hi Kamailio-Crew,

I am new to Kamailio and I like it very much so far. But as I am new I 
do struggle a lot while learning a lot 😉
Right now I try to connect Microsoft Teams with my Kamailio Instance. I 
rely on Hennings instructions at 
https://skalatan.de/de/blog/kamailio-sbc-teams

Teams expects the PBX to send Keep Alives which could be done with the 
dispatcher module I guess:
I set up everything as described – especially the dispatcher.list (I am 
using MySQL for this. But tried a list file as well with the same 
outcome).

But when I type  - kamctl dispatcher reload – I get the following error:

{
   "jsonrpc":  "2.0",
   "error":  {
     "code": 500,
     "message":  "Reload Failed"
   },
   "id": 6098
}

Kamctl dispatcher dump returns:

{
   "jsonrpc":  "2.0",
   "error":  {
     "code": 500,
     "message":  "No Destination Sets"
   },
   "id": 6137
}

I am using the following entries:

# setid(integer) destination(sip uri) flags (integer, optional), 
priority(int,opt), attrs (str,optional)
1 sip:sip.pstnhub.microsoft.com;transport=tls 0 3 
socket=tls:SBC-IP-ADDR:5061;ping_from=sip:SBC-DNS-DOMAIN
1 sip:sip2.pstnhub.microsoft.com;transport=tls 0 2 
socket=tls:SBC-IP-ADDR:5061;ping_from=sip:SBC-DNS-DOMAIN
1 sip:sip3.pstnhub.microsoft.com;transport=tls 0 1 
socket=tls:SBC-IP-ADDR:5061;ping_from=sip:SBC-DNS-DOMAIN

Of course I replaced the spaceholders with my IP and DNS-DOMAIN, but 
still I get the mentioned errors.

It would be very happy if someone could give me a hint. Thanks in 
advance!

Best wishes

Michael








More information about the sr-users mailing list