[sr-dev] [kamailio/kamailio] carrierroute: cr.dump_routes prints error or hangs after over 100 prefixes (#1304)

Daniel-Constantin Mierla notifications at github.com
Wed Nov 8 08:47:43 CET 2017


It doesn't hang. The backtrace shows that it is waiting on the socket for new rpc commands.

The kamcmd error suggests that the module doesn't have enough space in its response buffer to write all the records -- see the buffer related params in the ctl readme, likely you need to increase their values.

As alternative, you can use jsonrpcs module with kamctl and do:

```
kamctl rpc cr.reload_routes
kamctl rpc cr.dump_routes
```
jsonrpcs should not use a static internal buffer and should work out of the box.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1304#issuecomment-342736952
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20171108/f0e4ae31/attachment-0001.html>


More information about the sr-dev mailing list