[SR-Users] Can Kamailio interface with an asterisk server based on the fqdn of a call?
Daniel Tryba
d.tryba at pocos.nl
Tue Aug 14 10:26:49 CEST 2018
On Mon, Aug 13, 2018 at 05:48:49PM +0000, Wilkins, Steve wrote:
> Is it possible for Kamailio to interface with a particular Asterisk
> Server based on the FQDN of a caller?
Yes.
> I would like to pass calls received by Kamailio through to different
> Asterisk Servers based on the FQDN of the caller. I have used Load
> Balancing before, but I want to select which Asterisk Server the call
> is directed to.
All you have to do is figure out on what criteria you want to make the
routing. If it is the from domain ($fd) what will you do with an
anonymous call ($fd=="anonymous.invalid")?
All you have to do is change $rd (or assign $du if the R-URI must remain
unchanged).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180814/a3932b12/attachment.sig>
More information about the sr-users
mailing list