<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>destination setid, flags and priority must be integers -- the
ouput you provided suggests they are strings.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 11/08/16 19:04, Jonathan Hunter
wrote:<br>
</div>
<blockquote cite="mid:DUB130-W42AB5C7C2C30A7E3DE1F24BD1E0@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">Hi Guys,
<div><br>
</div>
<div>I am integrating kamailio with MongoDB, and it works well
with subscriber/location tables.</div>
<div><br>
</div>
<div>However when using the dispatcher module I am getting the
following error even though the IP Im trying to get to is
routeable;</div>
<div><br>
</div>
<div>
<div> /usr/local/kamailio-4.4/sbin/kamailio[2998]: ERROR:
dispatcher [dispatch.c:1403]: ds_get_index(): destination
set [1] not found</div>
<div>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</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>I created the table as below;</div>
<div><br>
</div>
<div>
<div>db.getCollection("version").insert({table_name:
"dispatcher", table_version: NumberInt(4) })</div>
<div><br>
</div>
<div>And the entry Im routing to is;</div>
<div><br>
</div>
<div>db.dispatcher.find().pretty()</div>
<div>{</div>
<div> "_id" : ObjectId("57acadc81e7e803fa565bce3"),</div>
<div> "setid" : "1",</div>
<div> "destination" : <a class="moz-txt-link-rfc2396E" href="sip:1.1.1.1:5080;transport=tcp">"sip:1.1.1.1:5080;transport=tcp"</a>,</div>
<div> "flags" : "0",</div>
<div> "priority" : "100",</div>
<div> "attrs" : "name=labfS",</div>
<div> "description" : "FreeSWITCH1"</div>
<div>}</div>
</div>
<div><br>
</div>
<div>Is there something I am missing ? Has anyone else got it
working with Mongo?</div>
<div><br>
</div>
<div>Thanks</div>
<div><br>
</div>
<div>Jon</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a> - <a class="moz-txt-link-freetext" href="http://www.kamailio.org">http://www.kamailio.org</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
</body>
</html>