I am using SER is the primary SIP server in front of four Asterisk PBX's
each located in a different city(e.g., City 1: 899xxxx, City 2: 598xxxx,
City 3: 356xxxx, City 4: 829xxxx). Users are identified by a 7 digit number
based on their home city. For PSTN-bound destinations, I want to be able to
direct SIP calls to the appropriate Asterisk server based on who is calling.
Using the src IP address isn't sufficient as users move around the network -
in one city one day and another city another day.
For example, I want a call from user 8991234(a)domain.com to
91234567(a)domain.com to be sent to the server in City 1 because user 8991234
resides in City 1. I can't use the src ip address because users move around
in the network. I have wondered about using a city-based db in addition to
a global db. Being a newcomer to this, I'm hoping that there is a simple
solution to this problem.
Your help and insights would be greatly appreciated,
Duncan
---
<mailto:Duncan.Glendinning@cox.net> Duncan.Glendinning(a)cox.net
Show replies by date
Hi
I was looking at standardising one of my configs, currently I use enum
before sending the call out if no match using gw and lcr stuff.
Would it not be better if I could use lcr functionality and add a
"primary" gw for each prefix.
Now when a number is dialed, lcr sends it out to this gw, this gateway
then performs a number of lookups , albeit prefix based or even enum, or
whatever comes along if success simply pass new result back or send call
out (undecided), if fail, lcr will fall to next gw, which will be pstn.
I could do this within ser itself, but wanted to move the lookup outside
of ser, and just make the lookup server behave like a gw, if succesful
it would route the call out, if not it would send a failure back.
Can this easily be implemented by just setting up another proxy, which
just does the lookups, using either built in enum, and additional prefix
lookup, or is this overkill, and is it better to just have small server
sw running which does the lookup on incoming sip transaction. The reason
for just setting up another proxy, is to test if the process itself
would work....thoughts?
If it worked then all calls whether IP or pstn based would be handled by
lcr, and hence my billing , and rating would also fall into place.
Iqbal