Robert Spielmann wrote:
Hi everyone,

I have a question concerning DNS SRV lookups. The situation is like this:

- one central Asterisk server
- many domains with SRV records, let's say we have bar.com and doe.com

Now the question is: if the SRV lookup is done for [EMAIL PROTECTED] the call is mapped to [EMAIL PROTECTED] Is that correct?
Yes, this is wrong. We should *not* change the URI. Bug report please.


If so, I have a problem: if somebody calls [EMAIL PROTECTED], Asterisk receives only the "foo" part. If someone calls [EMAIL PROTECTED], it receives "john" as the extension. Now the main question is: how do I know which SIP address the call originally went to?

Check the ${SIPDOMAIN} variable - it will give you the incoming domain.

If I lose the domain name prone to SRV lookup, I can't decide where to route the call - for example, there may be [EMAIL PROTECTED] and [EMAIL PROTECTED], both get mapped to my central Asterisk server - I'm unable to know which of the john.s is being called, hence I cannot route the call correctly.
Again, bug report.


Hope the question is clear enough ;)
Yes, it was. Thank you.

/Olle
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to