Jasmin can't see routes

123 views
Skip to first unread message

Andrey

unread,
Apr 16, 2021, 10:10:00 AM4/16/21
to Jasmin SMS Gateway
Hello. three mtroutes have been created, to which filters are bound by the initial prefix of the operators. (for example ^7921\d+) and the default route is also created (defaultroute) when trying to send SMS, they are all sent via defaulroute, if defaultroute is removed, then the error is not found router. What could be the problem?

Timur Diachenko

unread,
Apr 24, 2021, 4:52:37 AM4/24/21
to Jasmin SMS Gateway
Hello Andrey, 

I have faced the same issue and the reason was the symbols d+. I have replaced it .* like ^7921.*
Try and write me if it helps you. 
пятница, 16 апреля 2021 г. в 17:10:00 UTC+3, Andrey:

Andrey

unread,
Apr 27, 2021, 8:07:11 AM4/27/21
to Jasmin SMS Gateway
hi, Timur. I tried to do as you recommended, but nothing worked. the only thing that I additionally saw is if you register one filter in each router, then everything works as it should.

суббота, 24 апреля 2021 г. в 11:52:37 UTC+3, vumu...@gmail.com:

Kamui Shiro

unread,
May 13, 2021, 5:47:56 AM5/13/21
to Jasmin SMS Gateway
I constantly use the below reg exp when I am trying to identify routes in a country (example using the 46 country code for Sweden)

^([+]?|00)(46).*$

This way I send all requests
+46XXXXXXXXXX
46XXXXXXXXXX
0046XXXXXXXXXXX

Of course my regexp does not filterwhat's coming after the country code but this is not really my problem but the senders.
Still if you need to filter that one too go with the below

^([+]?|00)(46)\d+$

Andrey

unread,
May 13, 2021, 8:53:50 AM5/13/21
to Jasmin SMS Gateway
thank you for your advice, but this option is not suitable. Something with the settings. I can't understand just what is wrong.

четверг, 13 мая 2021 г. в 12:47:56 UTC+3, kamu...@gmail.com:
Reply all
Reply to author
Forward
0 new messages