<p></p>
<p><b>@tao-communications</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/kamailio/kamailio/pull/2324#discussion_r428155232">src/modules/kazoo/kazoo.c</a>:</p>
<pre style='color:#555'>> +    sr_kemi_eng_t *keng = NULL;
+         if(kazoo_event_callback.s!=NULL && kazoo_event_callback.len>0) {
+                 keng = sr_kemi_eng_get();
+                 if(keng==NULL) {
+                         LM_ERR("failed to find kemi engine\n");
+                         return -1;
+                 }
+                 kazoo_route_no=-1;
+         } 
+    else {
+                 route_no=route_lookup(&event_rt, "kazoo:consumer-event");
+                 if (route_no==-1)
+                 {
+                         LM_ERR("failed to find event_route[kazoo:consumer-event]\n");
+                         return -1;
+                 }
+                 if (event_rt.rlist[route_no]==0)
+                 {
+                         LM_WARN("event_route[kazoo:consumer-event] is empty\n");
+                 }
+                 kazoo_route_no=route_no;
+    }
+    
+    
</pre>
<p>Now removed route_lookup for kazoo:consumer-event as it may or may not exist.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/pull/2324#discussion_r428155232">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZPX7736ED2OIEQBCT3RSQBT5ANCNFSM4M6AZYHA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZKLXFZZAU4PPI45XRLRSQBT5A5CNFSM4M6AZYHKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGODDCFYNA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/pull/2324#discussion_r428155232",
"url": "https://github.com/kamailio/kamailio/pull/2324#discussion_r428155232",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>