Hi all
Just enabled topos with redis backend (topos/topos_redis/ndb_redis)
The interesting bits of the calls are going from kamailio (5.3.5) to Asterisk with topos enabled for that leg
All seems to be ok until the far end (Asterisk) sends a BYE. At which point kamailo passes message to WITHINDLG, in loose_route comes up false (-1) and the BYE gets missed, falling through to the “404 Not here” at the end of WITHINDLG.
I’m guessing that loose_route should be able to “see inside” topos, or should I be throwing loose_route away when using topos?
Happy to upgrade to 5.4 and do diags if it appears to be a bug.
Best regards Mark
Hi can you share. Your config and how you implemented topology hiding?
On Fri, Jul 10, 2020, 5:35 PM Mark Boyce mark@darkorigins.com wrote:
Hi all
Just enabled topos with redis backend (topos/topos_redis/ndb_redis)
The interesting bits of the calls are going from kamailio (5.3.5) to Asterisk with topos enabled for that leg
All seems to be ok until the far end (Asterisk) sends a BYE. At which point kamailo passes message to WITHINDLG, in loose_route comes up false (-1) and the BYE gets missed, falling through to the “404 Not here” at the end of WITHINDLG.
I’m guessing that loose_route should be able to “see inside” topos, or should I be throwing loose_route away when using topos?
Happy to upgrade to 5.4 and do diags if it appears to be a bug.
Best regards Mark -- Mark Boyce Dark Origins Ltd
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hello,
if you look to add topology hiding to your config,then just load topos module and configure it with one of the supported backends (database like db_mysql, or redis via topos_redis). Besides that, routing blocks should stay the same.
If you wanted the config for helping to troubleshoot, then disregard this message.
Cheers, Daniel
On 10.07.20 15:36, mohsen khashei wrote:
Hi can you share. Your config and how you implemented topology hiding?
On Fri, Jul 10, 2020, 5:35 PM Mark Boyce <mark@darkorigins.com mailto:mark@darkorigins.com> wrote:
Hi all Just enabled topos with redis backend (topos/topos_redis/ndb_redis) The interesting bits of the calls are going from kamailio (5.3.5) to Asterisk with topos enabled for that leg All seems to be ok until the far end (Asterisk) sends a BYE. At which point kamailo passes message to WITHINDLG, in loose_route comes up false (-1) and the BYE gets missed, falling through to the “404 Not here” at the end of WITHINDLG. I’m guessing that loose_route should be able to “see inside” topos, or should I be throwing loose_route away when using topos? Happy to upgrade to 5.4 and do diags if it appears to be a bug. Best regards Mark -- Mark Boyce Dark Origins Ltd _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org <mailto:sr-users@lists.kamailio.org> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hi
Thanks, I just wanted to check there wasn’t something I’d missed. Will recheck everything and create a basic example config if I cannot find the issue.
Cheers, Mark
On 10 Jul 2020, at 15:12, Daniel-Constantin Mierla miconda@gmail.com wrote:
Hello,
if you look to add topology hiding to your config,then just load topos module and configure it with one of the supported backends (database like db_mysql, or redis via topos_redis). Besides that, routing blocks should stay the same.
If you wanted the config for helping to troubleshoot, then disregard this message.
Cheers, Daniel
On 10.07.20 15:36, mohsen khashei wrote:
Hi can you share. Your config and how you implemented topology hiding?
On Fri, Jul 10, 2020, 5:35 PM Mark Boyce <mark@darkorigins.com mailto:mark@darkorigins.com> wrote: Hi all
Just enabled topos with redis backend (topos/topos_redis/ndb_redis)
The interesting bits of the calls are going from kamailio (5.3.5) to Asterisk with topos enabled for that leg
All seems to be ok until the far end (Asterisk) sends a BYE. At which point kamailo passes message to WITHINDLG, in loose_route comes up false (-1) and the BYE gets missed, falling through to the “404 Not here” at the end of WITHINDLG.
I’m guessing that loose_route should be able to “see inside” topos, or should I be throwing loose_route away when using topos?
Happy to upgrade to 5.4 and do diags if it appears to be a bug.
Best regards Mark -- Mark Boyce Dark Origins Ltd
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org mailto:sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org mailto:sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla -- www.asipto.com http://www.asipto.com/ www.twitter.com/miconda http://www.twitter.com/miconda -- www.linkedin.com/in/miconda http://www.linkedin.com/in/miconda Funding: https://www.paypal.me/dcmierla https://www.paypal.me/dcmierla_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Best regards Mark
Hello,
you should still do record_route() for initial INVITE and then do loose_route() for requests in dialog.
Can you try with default configuration file and then just load and configure topos module? It should rule out if you have some wrong rules in the config.
Or print the $mb with xlog() to see the content of the request as it is seen in the config. See if there are correct Route headers.
Cheers, Daniel
On 10.07.20 15:04, Mark Boyce wrote:
Hi all
Just enabled topos with redis backend (topos/topos_redis/ndb_redis)
The interesting bits of the calls are going from kamailio (5.3.5) to Asterisk with topos enabled for that leg
All seems to be ok until the far end (Asterisk) sends a BYE. At which point kamailo passes message to WITHINDLG, in loose_route comes up false (-1) and the BYE gets missed, falling through to the “404 Not here” at the end of WITHINDLG.
I’m guessing that loose_route should be able to “see inside” topos, or should I be throwing loose_route away when using topos?
Happy to upgrade to 5.4 and do diags if it appears to be a bug.
Best regards Mark -- Mark Boyce Dark Origins Ltd
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users