Routing Table

142 views
Skip to first unread message

John Stefan

unread,
Oct 21, 2020, 4:49:19 AM10/21/20
to Jasmin SMS Gateway
Hello all,

I am facing this issue. I want to create a routing table and add some filters and connectors.
The thing is that i want to connect a filter with a connector.
For example

> filters filter_4 , filter_5
> connectors smppc(smppcc_4);smppc(smppcc_5)  

So i want filter_4 to route from smppcc_4 
filter_5 to route from smppcc_5

First of all is this possible? If yes how?
Any help would be appreciated.
Thanks
John




Bruno C

unread,
Oct 22, 2020, 10:33:22 AM10/22/20
to Jasmin SMS Gateway
You need two different routes:

Route4: filter4 goes to smppcc_4
Route5: filter5 goes to smpcc_5

John Stefan

unread,
Oct 23, 2020, 1:17:00 PM10/23/20
to Jasmin SMS Gateway
Yes i know that i need to create 2 routes. But i want to have them in the same routing table cause i don't want to create some many routing schemes.
Any help would be appreciated.
Thanks
John

Luca Maghini

unread,
Oct 23, 2020, 3:27:22 PM10/23/20
to Jasmin SMS Gateway
Hello John,
If i didn't miss something, ther's no the concept of multiple "routing table". You can think at Jasmin routing as a single routing table for each outgoing and incoming flows so a total of 2 routing tables for incoming and outgoing messages.
When a message need to be sent, all routes get evaluated in their order, the first matching one is used without go trought the other routes.
If you have 2 (or more) upstream connections, you have to create an smppccm foreach of them.
After that you should define a default route (only one defaulte route is accepted) and it doesn't need any filter. 

After that you have to define some conditions to recognize messages, these rules are named "filters", they are basically conditions applied to different variables.

The last step is to define some routong rule that link one (or more) filter to a connector.

There are also Random Roundrobin  rules and failover rules that are well described in the documentation.

Hope it may help you.
Reply all
Reply to author
Forward
0 new messages