On Tue, 2020-10-13 at 16:40 +0100, Andy Kama wrote:
Hi All,
What is the best way to approach this?
example if a call comes into kamailio with a specific number it
example to:123456789 it must go to the dispatcher module
but if a call comes with any other number it must route to a uac
May different ways to approach this.
First thoughts would be htable module for specific numbers or perhaps
prefix_route in your case... but there are many ways you can approach
this.
or can you use uac with dispatcher?
basically i want to route inbound calls to a dispatcher and calls
from that dispatcher out a uac
if(ds_is_from_list()) {
...
}
ds_is_from_list is a great way to quickly check if the source is a
dispatcher node.
--
Fred Posner
fred(a)palner.com
https://www.palner.com
Need Fred? Call Fred. 336-HEY-FRED
Matrix: @fred:matrix.lod.com