Hello, destination setid, flags and priority must be integers -- the ouput you provided suggests they are strings.
Cheers, Daniel On 11/08/16 19:04, Jonathan Hunter wrote: > 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 > > > > > _______________________________________________ > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list > sr-users@lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users -- Daniel-Constantin Mierla http://www.asipto.com - http://www.kamailio.org http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users