[SR-Users] Kamailio 4.4 Dispatcher on Debian 8 with MongoDB

Daniel-Constantin Mierla miconda at gmail.com
Fri Aug 12 07:51:24 CEST 2016


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 at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160812/97c94519/attachment.html>


More information about the sr-users mailing list