[SR-Users] Pick Domain name from Location Table
abalashov at evaristesys.com
Mon Apr 21 10:18:13 CEST 2014
For a newbie, the easiest way to achieve this might be to use the
'domain' knowledge, whose DB table backing SIREMIS can administer out of
You might consider populating the 'domain' table with your list of
"local" registrant domains, and checking if(is_uri_host_local()) on
incoming INVITEs. If it's positive, do a registrar lookup. If it's
negative, send the INVITE elsewhere.
Of course, be careful not to turn your proxy into an open relay in the
Best of luck,
On 04/21/2014 04:08 AM, aawaise wrote:
> Hi All,
> When my kamailio server receives an "invite" packet to make a call. I want
> the kamailio server to make a decision about call routing. Whether to route
> call to other kamailio server or route it to local user.
> I want to base this decision on "domain" of called user. This "domain" is to
> be picked from "Location List" in database. Both servers are using the same
> I have two tasks here. One is to pick the domain of user from "Location
> Table" of Siremis.
> And secondly, route this call to other server on basis of the string I get
> from "Domain" of "Location Table".
> Need help regarding changes in kamailio.cfg for this.
> Any help will be highly appreciated.
> View this message in context: http://sip-router.1086192.n5.nabble.com/Pick-Domain-name-from-Location-Table-tp126955.html
> Sent from the Users mailing list archive at Nabble.com.
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Decatur, GA 30030
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/
More information about the sr-users