Hi Guys,

I am integrating kamailio with MongoDB, and it works well with subscriber/location tables.

However when using the dispatcher module I am getting the following error even though the IP Im trying to get to is routeable;

 /usr/local/kamailio-4.4/sbin/kamailio[2998]: ERROR: dispatcher [dispatch.c:1403]: ds_get_index(): destination set [1] not found
Aug 11 17:01:47 ip-172-31-43-8 /usr/local/kamailio-4.4/sbin/kamailio[2998]: ERROR: dispatcher [dispatch.c:1832]: ds_select_dst_limit(): destination set [1] not found


I created the table as below;

db.getCollection("version").insert({table_name: "dispatcher", table_version: NumberInt(4) })

And the entry Im routing to is;

db.dispatcher.find().pretty()
{
        "_id" : ObjectId("57acadc81e7e803fa565bce3"),
        "setid" : "1",
        "destination" : "sip:1.1.1.1:5080;transport=tcp",
        "flags" : "0",
        "priority" : "100",
        "attrs" : "name=labfS",
        "description" : "FreeSWITCH1"
}

Is there something I am missing ? Has anyone else got it working with Mongo?

Thanks

Jon