[Kamailio-Users] routing question

Olle E. Johansson oej at edvina.net
Thu Nov 5 08:41:19 CET 2009


4 nov 2009 kl. 23.11 skrev Andrew Gallo:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Greetings:
>
> Hope you don't mind a question from someone just getting his feet  
> wet :)
>
> First off, if I want Kamailio to act as a SIP router among, say, a  
> group
> of Asterisk PBXs (meaning, Kamailio will have no user registrations,  
> but
> just pass SIP messages to and from the Asterisks), would I do this in
> the least cost routing table or in carrier routes table, or via  
> another
> method?
> (assume for the moment that all the PBXs are under my control, these
> aren't connections outside my organization, no connections to the  
> PSTN).

If you want just to distribute the calls between the servers and have  
all the Asterisk severs do the same task, then dispatcher is the  
module you need. If each server has a different task, then you either  
hard code the dialplan into the configuration file or use one of the  
dialplan/routing modules. There are several with different flavours,  
and some of them are designed for a very specific task. If you have a  
very simple routing plan, you can just store variables (AVP's in  
Kamailian) in a database table and read them in or use the sql module.

Regards
/O




More information about the sr-users mailing list