Re: [asterisk-users] SRV lookups in Asterisk 11

2015-08-25 Thread Joshua Colp

David Cunningham wrote:

Hello,

Can anyone advise on the status of SRV lookups in Asterisk 11?
(specifically 11.17.1)

Is there any difference given how the Dial is done, and how supported
are weights and priorities?


There has been no changes to SRV functionality when used with chan_sip 
for quite a long time. If dialing a peer it's resolved at configuration 
time, weight/priority should be sorted, and then the top one used. It's 
not re-resolved later.


Cheers,

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] SRV lookups in Asterisk 11

2015-08-19 Thread David Cunningham
Hello,

Can anyone advise on the status of SRV lookups in Asterisk 11?
(specifically 11.17.1)

Is there any difference given how the Dial is done, and how supported are
weights and priorities?

Thanks in advance,

-- 
David Cunningham, Voisonics
http://voisonics.com/
USA: +1 213 221 1092
UK: +44 (0) 20 3298 1642
Australia: +61 (0) 2 8063 9019
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

RE: [Asterisk-Users] SRV Lookups

2005-12-11 Thread Douglas Garstang
Kerry, thanks for the reply. The subject here is a bit misleading. I think I 
forgot to change it at some point. Ayway, I am REALLY curious how you got 
Realtime to allow sharing of SIP contact info is it a fluke of chance maybe?

-Original Message- 
From: [EMAIL PROTECTED] on behalf of Kerry Garrison 
Sent: Sun 12/11/2005 10:39 PM 
To: 'Asterisk Users Mailing List - Non-Commercial Discussion' 
Cc: 
Subject: RE: [Asterisk-Users] SRV Lookups


My comment was not specific to SRV lookups and more along the lines 
that without it Asterisk is not usable in production environments. This type of 
comment is a bit misleading at best. Without SRV lookups, Asterisk may not be 
usable in YOUR environment but that hardly devalues Asterisk as a whole. Not 
that it wouldnt make some things much easier (and possible) but it does not 
preclude every possible scenerio.
-Kerry (sorry, having a bad day, didnt mean to be argumentative)

  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Douglas 
Garstang
Sent: Sunday, December 11, 2005 9:00 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [Asterisk-Users] SRV Lookups


Hi Kerry.
 
Did you see Kevin's subsequent post about using Realtime to share SIP 
registry info?
 
"Uhhh... you already quoted my previous message on that topic stating
that it was not supported at this time. In any given situation, it may
or may not work properly, depending on exactly what the servers and
clients are doing.

Even if the code had been written, there will still be many issues
involved in actually implementing it, including (but not limited to) NAT
traversal, call limit handling, registration expiration and others. It
also mandates that there can be _no_ caching of peer/user information in
memory, which currently means there is no 'qualify' or MWI notification
possible."
 
Now, I can be a real jerk and say I told you so, or I could inquire as 
to just how you got it working when it isn't supposed to? This limitation is 
proving to be a real thorn in our side and I would just die to get it to work.
 
Doug.

 
 

-Original Message- 
From: Kerry Garrison [mailto:[EMAIL PROTECTED] 
Sent: Sun 12/11/2005 1:41 PM 
To: 'Asterisk Users Mailing List - Non-Commercial Discussion' 
    Cc: 
    Subject: RE: [Asterisk-Users] SRV Lookups



Dammit, I better go pull my servers out of all of my client's 
locations
because their production servers have just been rendered 
unusable. Time to
take their old Toshiba system out of mothballs an.wait a 
sec, it didn't
do it either, what now? I guess IP Telephony has just died 
today. Sad, and
it had so much promise.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Aaron Daniel
Sent: Sunday, December 11, 2005 12:20 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] SRV Lookups

HUH?  I better turn my servers off, they've been doing this for 
months now
0.o


On Dec 11, 2005, at 1:50 PM, Douglas Garstang wrote:

> I guess we can put that up there with the inability to share 
a common
> Realtime database between Asterisk servers for SIP peers 
too...
> another serious limitation.
>
> -Original Message-
> From: Douglas Garstang
> Sent: Sunday, December 11, 2005 12:49 PM
> To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
> Subject: RE: [Asterisk-Users] SRV Lookups
>
>
> Sounds like your saying that a serious limitation that 
effectively
> makes Asterisk unusable in a production environment isn't a 
priority
> for the 'official' developers. Awesome...
>
> -Original Message-
> From: Leif Madsen [mailto:[EMAIL PROTECTED]
> Sent: Sunday, December 11, 2005 12:18 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
  

RE: [Asterisk-Users] SRV Lookups

2005-12-11 Thread Kerry Garrison
My comment was not specific to SRV lookups and more along the lines that
without it Asterisk is not usable in production environments. This type of
comment is a bit misleading at best. Without SRV lookups, Asterisk may not
be usable in YOUR environment but that hardly devalues Asterisk as a whole.
Not that it wouldnt make some things much easier (and possible) but it does
not preclude every possible scenerio.
-Kerry (sorry, having a bad day, didnt mean to be argumentative)

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Douglas
Garstang
Sent: Sunday, December 11, 2005 9:00 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [Asterisk-Users] SRV Lookups


Hi Kerry.
 
Did you see Kevin's subsequent post about using Realtime to share SIP
registry info?
 
"Uhhh... you already quoted my previous message on that topic stating
that it was not supported at this time. In any given situation, it may
or may not work properly, depending on exactly what the servers and
clients are doing.

Even if the code had been written, there will still be many issues
involved in actually implementing it, including (but not limited to) NAT
traversal, call limit handling, registration expiration and others. It
also mandates that there can be _no_ caching of peer/user information in
memory, which currently means there is no 'qualify' or MWI notification
possible."
 
Now, I can be a real jerk and say I told you so, or I could inquire as to
just how you got it working when it isn't supposed to? This limitation is
proving to be a real thorn in our side and I would just die to get it to
work.
 
Doug.

 
 

-Original Message- 
From: Kerry Garrison [mailto:[EMAIL PROTECTED] 
Sent: Sun 12/11/2005 1:41 PM 
To: 'Asterisk Users Mailing List - Non-Commercial Discussion' 
Cc: 
Subject: RE: [Asterisk-Users] SRV Lookups



Dammit, I better go pull my servers out of all of my client's locations
because their production servers have just been rendered unusable. Time to
take their old Toshiba system out of mothballs an.wait a sec, it didn't
do it either, what now? I guess IP Telephony has just died today. Sad, and
it had so much promise.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Aaron Daniel
Sent: Sunday, December 11, 2005 12:20 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] SRV Lookups

HUH?  I better turn my servers off, they've been doing this for months now
0.o


On Dec 11, 2005, at 1:50 PM, Douglas Garstang wrote:

> I guess we can put that up there with the inability to share a common
> Realtime database between Asterisk servers for SIP peers too...
> another serious limitation.
>
> -Original Message-
> From: Douglas Garstang
> Sent: Sunday, December 11, 2005 12:49 PM
> To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
> Subject: RE: [Asterisk-Users] SRV Lookups
>
>
> Sounds like your saying that a serious limitation that effectively
> makes Asterisk unusable in a production environment isn't a priority
> for the 'official' developers. Awesome...
>
> -Original Message-
> From: Leif Madsen [mailto:[EMAIL PROTECTED]
> Sent: Sunday, December 11, 2005 12:18 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] SRV Lookups
>
>
> On 12/11/05, Douglas Garstang <[EMAIL PROTECTED]> wrote:
>> Anyone know when Asterisk is going to properly support DNS SRV
>> Lookups?
>
> Well, luckily Asterisk is open source so you have the ability to code
> this yourself. If you can't program in C (like myself), then you have
> the option of either hiring someone directly. Another option is to
> create a bounty and see if anyone else also requires this
> functionality and is willing to contribute some money for development.
>
> Leif Madsen
> http://www.oreilly.com/catalog/asterisk
> http://www.leifmadsen.com
> ___
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
> ___
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users

___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


___
--Bandwidth and Colocation provided by Easynews.

RE: [Asterisk-Users] SRV Lookups

2005-12-11 Thread Douglas Garstang
Hi Kerry.
 
Did you see Kevin's subsequent post about using Realtime to share SIP registry 
info?
 
"Uhhh... you already quoted my previous message on that topic stating
that it was not supported at this time. In any given situation, it may
or may not work properly, depending on exactly what the servers and
clients are doing.

Even if the code had been written, there will still be many issues
involved in actually implementing it, including (but not limited to) NAT
traversal, call limit handling, registration expiration and others. It
also mandates that there can be _no_ caching of peer/user information in
memory, which currently means there is no 'qualify' or MWI notification
possible."
 
Now, I can be a real jerk and say I told you so, or I could inquire as to just 
how you got it working when it isn't supposed to? This limitation is proving to 
be a real thorn in our side and I would just die to get it to work.
 
Doug.

 
 

-Original Message- 
From: Kerry Garrison [mailto:[EMAIL PROTECTED] 
Sent: Sun 12/11/2005 1:41 PM 
To: 'Asterisk Users Mailing List - Non-Commercial Discussion' 
    Cc: 
    Subject: RE: [Asterisk-Users] SRV Lookups



Dammit, I better go pull my servers out of all of my client's locations
because their production servers have just been rendered unusable. Time 
to
take their old Toshiba system out of mothballs an.wait a sec, it 
didn't
do it either, what now? I guess IP Telephony has just died today. Sad, 
and
it had so much promise.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Aaron Daniel
Sent: Sunday, December 11, 2005 12:20 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] SRV Lookups

HUH?  I better turn my servers off, they've been doing this for months 
now
0.o


On Dec 11, 2005, at 1:50 PM, Douglas Garstang wrote:

> I guess we can put that up there with the inability to share a common
> Realtime database between Asterisk servers for SIP peers too...
> another serious limitation.
>
> -Original Message-
> From: Douglas Garstang
> Sent: Sunday, December 11, 2005 12:49 PM
> To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
> Subject: RE: [Asterisk-Users] SRV Lookups
>
>
> Sounds like your saying that a serious limitation that effectively
> makes Asterisk unusable in a production environment isn't a priority
> for the 'official' developers. Awesome...
>
> -Original Message-
> From: Leif Madsen [mailto:[EMAIL PROTECTED]
> Sent: Sunday, December 11, 2005 12:18 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] SRV Lookups
>
>
> On 12/11/05, Douglas Garstang <[EMAIL PROTECTED]> wrote:
>> Anyone know when Asterisk is going to properly support DNS SRV
>> Lookups?
>
> Well, luckily Asterisk is open source so you have the ability to code
> this yourself. If you can't program in C (like myself), then you have
> the option of either hiring someone directly. Another option is to
> create a bounty and see if anyone else also requires this
> functionality and is willing to contribute some money for development.
>
> Leif Madsen
> http://www.oreilly.com/catalog/asterisk
> http://www.leifmadsen.com
> ___
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
> ___
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users

___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


___
--Bandwidth and Colocation provided by Easynews.com --

Ast

RE: [Asterisk-Users] SRV Lookups *ARRGH!*

2005-12-11 Thread Philipp von Klitzing
Hey Douglas,

> The link to the Wiki is woefully indadequate. I have no problem adding
> to the documentation, as soon as I bloody understand it myself. 

Excellent, that's what I wanted to hear! :-)

>  http://bugs.digium.com/view.php?id=1805
>  http://bugs.digium.com/view.php?id=2081
>
> The two bug links you provided appear to be almost completely
> unrelated to what I asked about except they touch on the subject of
> SRV lookups.

Not really - if you read carefully enough you will find these two quotes 
in the two bug reports - but with almost all your energy spent with being 
upset you probably missed them... ;->

markster: "...Fortunately srv lookups are bypassed by peer 
declarations..."

markster: "If you have a sip friend/peer entry for budgetphone.nl it will 
not lookup the SRV record but will use the host you have specified. If 
you do not have "srvlookup=yes" in your sip.conf in the general section, 
SRV records will never be searched."

> Oh, and you know what, why is it assumed that to use open source
> software I have to be a seasoned C programmer who can contribute to
> the code? Where is that requirement stipulated? 

Nowhere - you just invented that. Why should you need to know C in order 
to put a bounty, or just formulate well documented bug report? Or where 
does the Wiki require C knowledge (talking about "contributing", not 
"using" - you don't need C skills to at all to "use" asterisk).

Asterisk is not perfect, there is a lot of "work in progress" (sometimes 
too much), but it is the only one of its kind, it works, and it gets 
better day-by-day. And if you find a way to help with that (and 
preferably a way that doesn't step on people's collective toes): great!

Cheers, Philipp


___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] SRV Lookups

2005-12-11 Thread Eric \"ManxPower\" Wieling

Douglas Garstang wrote:
What exactly do you mean by 'documented not to be implemented'? If you are referring to the fact it isn't implemented, yes I realise that. That's why I'm trying to get an idea for when these features will be. This isn't whining. 


If you are however, stating they are designed this way and there's no plan to 
implement them, I'm wondering why there's such resistance to putting redundant 
features into Asterisk?


There isn't.  However, so far nobody with the skills has cared enough to 
write that feature.

___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] SRV Lookups

2005-12-11 Thread Kevin P. Fleming

Douglas Garstang wrote:
What exactly do you mean by 'documented not to be implemented'? If you are referring to the fact it isn't implemented, yes I realise that. That's why I'm trying to get an idea for when these features will be. This isn't whining. 


You did not ask when they would be implemented, you said that it not 
being implemented was 'a major limitation'. That is not asking a 
question, nor is it in any way constructive.



If you are however, stating they are designed this way and there's no plan to 
implement them, I'm wondering why there's such resistance to putting redundant 
features into Asterisk?


You are very good at putting words into others' mouths, apparently... 
Since nobody has said anything of the kind, making a statement like this 
is purely inflammatory. Where is this resistance that you speak of? Do 
you have any evidence that someone provided a functional implementation 
of this feature and it was rejected? Do you have any evidence that 
someone provided even a functional design for others to implement and it 
was rejected? If not, saying there is 'resistance' is purely 
argumentative and only annoys everyone else.


Asterisk has the features it has because people with the skills to 
implement them did so; features that are not present are not that way 
because someone decided they would not ever be there (except in very 
rare circumstances), they are that way because nobody has provided an 
implementation that was merged into the source tree. Reading anything 
more into the lack of a feature is wasting our time and yours :-)

___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] SRV Lookups

2005-12-11 Thread Douglas Garstang
Yes, you better

http://lists.digium.com/pipermail/asterisk-users/2005-October/129384.html

Kevin P. Fleming kpfleming at digium.com 
Fri Oct 14 01:25:20 CDT 2005 

Marco Balmer wrote:

> Any ideas or hints?

Yes. Whatever documentation told you that you could share a Realtime SIP 
peer database between two Asterisk servers was in error (or at least 
very incomplete).

There are ways to do it right now, but it's not trivial and does not 
provide all the functionality that someone would want from such an 
arrangement.

There's no need to be nasty either.

-Original Message-
From: Kerry Garrison [mailto:[EMAIL PROTECTED]
Sent: Sunday, December 11, 2005 1:42 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: RE: [Asterisk-Users] SRV Lookups


Dammit, I better go pull my servers out of all of my client's locations
because their production servers have just been rendered unusable. Time to
take their old Toshiba system out of mothballs an.wait a sec, it didn't
do it either, what now? I guess IP Telephony has just died today. Sad, and
it had so much promise.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Aaron Daniel
Sent: Sunday, December 11, 2005 12:20 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] SRV Lookups

HUH?  I better turn my servers off, they've been doing this for months now
0.o


On Dec 11, 2005, at 1:50 PM, Douglas Garstang wrote:

> I guess we can put that up there with the inability to share a common 
> Realtime database between Asterisk servers for SIP peers too... 
> another serious limitation.
>
> -Original Message-
> From: Douglas Garstang
> Sent: Sunday, December 11, 2005 12:49 PM
> To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
> Subject: RE: [Asterisk-Users] SRV Lookups
>
>
> Sounds like your saying that a serious limitation that effectively 
> makes Asterisk unusable in a production environment isn't a priority 
> for the 'official' developers. Awesome...
>
> -Original Message-
> From: Leif Madsen [mailto:[EMAIL PROTECTED]
> Sent: Sunday, December 11, 2005 12:18 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] SRV Lookups
>
>
> On 12/11/05, Douglas Garstang <[EMAIL PROTECTED]> wrote:
>> Anyone know when Asterisk is going to properly support DNS SRV 
>> Lookups?
>
> Well, luckily Asterisk is open source so you have the ability to code 
> this yourself. If you can't program in C (like myself), then you have 
> the option of either hiring someone directly. Another option is to 
> create a bounty and see if anyone else also requires this 
> functionality and is willing to contribute some money for development.
>
> Leif Madsen
> http://www.oreilly.com/catalog/asterisk
> http://www.leifmadsen.com
> ___
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
> ___
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users

___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] SRV Lookups

2005-12-11 Thread Douglas Garstang
I can't find the post right now, but if I do I will email it.

I distinctly remember reading a thread in the archives of this list where 
someone stated that this was ability was not implented yet, and there where 
several challanges in doing so.

Good luck!

-Original Message-
From: Aaron Daniel [mailto:[EMAIL PROTECTED]
Sent: Sunday, December 11, 2005 1:20 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] SRV Lookups


HUH?  I better turn my servers off, they've been doing this for  
months now 0.o


On Dec 11, 2005, at 1:50 PM, Douglas Garstang wrote:

> I guess we can put that up there with the inability to share a  
> common Realtime database between Asterisk servers for SIP peers  
> too... another serious limitation.
>
> -Original Message-
> From: Douglas Garstang
> Sent: Sunday, December 11, 2005 12:49 PM
> To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
> Subject: RE: [Asterisk-Users] SRV Lookups
>
>
> Sounds like your saying that a serious limitation that effectively  
> makes Asterisk unusable in a production environment isn't a  
> priority for the 'official' developers. Awesome...
>
> -Original Message-
> From: Leif Madsen [mailto:[EMAIL PROTECTED]
> Sent: Sunday, December 11, 2005 12:18 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] SRV Lookups
>
>
> On 12/11/05, Douglas Garstang <[EMAIL PROTECTED]> wrote:
>> Anyone know when Asterisk is going to properly support DNS SRV  
>> Lookups?
>
> Well, luckily Asterisk is open source so you have the ability to code
> this yourself. If you can't program in C (like myself), then you have
> the option of either hiring someone directly. Another option is to
> create a bounty and see if anyone else also requires this
> functionality and is willing to contribute some money for development.
>
> Leif Madsen
> http://www.oreilly.com/catalog/asterisk
> http://www.leifmadsen.com
> ___
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
> ___
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users

___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] SRV Lookups

2005-12-11 Thread Kerry Garrison
Dammit, I better go pull my servers out of all of my client's locations
because their production servers have just been rendered unusable. Time to
take their old Toshiba system out of mothballs an.wait a sec, it didn't
do it either, what now? I guess IP Telephony has just died today. Sad, and
it had so much promise.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Aaron Daniel
Sent: Sunday, December 11, 2005 12:20 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] SRV Lookups

HUH?  I better turn my servers off, they've been doing this for months now
0.o


On Dec 11, 2005, at 1:50 PM, Douglas Garstang wrote:

> I guess we can put that up there with the inability to share a common 
> Realtime database between Asterisk servers for SIP peers too... 
> another serious limitation.
>
> -Original Message-
> From: Douglas Garstang
> Sent: Sunday, December 11, 2005 12:49 PM
> To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
> Subject: RE: [Asterisk-Users] SRV Lookups
>
>
> Sounds like your saying that a serious limitation that effectively 
> makes Asterisk unusable in a production environment isn't a priority 
> for the 'official' developers. Awesome...
>
> -Original Message-
> From: Leif Madsen [mailto:[EMAIL PROTECTED]
> Sent: Sunday, December 11, 2005 12:18 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] SRV Lookups
>
>
> On 12/11/05, Douglas Garstang <[EMAIL PROTECTED]> wrote:
>> Anyone know when Asterisk is going to properly support DNS SRV 
>> Lookups?
>
> Well, luckily Asterisk is open source so you have the ability to code 
> this yourself. If you can't program in C (like myself), then you have 
> the option of either hiring someone directly. Another option is to 
> create a bounty and see if anyone else also requires this 
> functionality and is willing to contribute some money for development.
>
> Leif Madsen
> http://www.oreilly.com/catalog/asterisk
> http://www.leifmadsen.com
> ___
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
> ___
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users

___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] SRV Lookups

2005-12-11 Thread Aaron Daniel
HUH?  I better turn my servers off, they've been doing this for  
months now 0.o



On Dec 11, 2005, at 1:50 PM, Douglas Garstang wrote:

I guess we can put that up there with the inability to share a  
common Realtime database between Asterisk servers for SIP peers  
too... another serious limitation.


-Original Message-
From: Douglas Garstang
Sent: Sunday, December 11, 2005 12:49 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: RE: [Asterisk-Users] SRV Lookups


Sounds like your saying that a serious limitation that effectively  
makes Asterisk unusable in a production environment isn't a  
priority for the 'official' developers. Awesome...


-Original Message-
From: Leif Madsen [mailto:[EMAIL PROTECTED]
Sent: Sunday, December 11, 2005 12:18 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] SRV Lookups


On 12/11/05, Douglas Garstang <[EMAIL PROTECTED]> wrote:
Anyone know when Asterisk is going to properly support DNS SRV  
Lookups?


Well, luckily Asterisk is open source so you have the ability to code
this yourself. If you can't program in C (like myself), then you have
the option of either hiring someone directly. Another option is to
create a bounty and see if anyone else also requires this
functionality and is willing to contribute some money for development.

Leif Madsen
http://www.oreilly.com/catalog/asterisk
http://www.leifmadsen.com
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] SRV Lookups

2005-12-11 Thread Douglas Garstang
What exactly do you mean by 'documented not to be implemented'? If you are 
referring to the fact it isn't implemented, yes I realise that. That's why I'm 
trying to get an idea for when these features will be. This isn't whining. 

If you are however, stating they are designed this way and there's no plan to 
implement them, I'm wondering why there's such resistance to putting redundant 
features into Asterisk?

-Original Message-
From: Kevin P. Fleming [mailto:[EMAIL PROTECTED]
Sent: Sunday, December 11, 2005 1:09 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] SRV Lookups


Douglas Garstang wrote:
> I guess we can put that up there with the inability to share a common 
> Realtime database between Asterisk servers for SIP peers too... another 
> serious limitation.

Would you like your money back? Please tell us where to send it and 
we'll get it right over to you.

Whining about stuff that is not implemented (when it's clearly 
documented to not be implemented) does not do anyone any good, and it 
makes the rest of the community tend to ignore the remainder of whatever 
you have to say.

This is a volunteer-driven open source project; people write and test 
what they feel like writing and testing. If you want something that is 
not implemented, you can 'influence' what someone feels like writing and 
testing in whatever way is suitable... but whining at them usually has 
the opposite effect.
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] SRV Lookups

2005-12-11 Thread Paul Tinsley
I fail to understand your combative attitude towards an open source 
project...


Did you pay to download it?
Are you having to pay to use it?

If you really want to talk about throwing money around to fix your 
problems the bounty idea has already been thrown at you, but also keep 
in mind that Digium has a custom development service that you could pay 
for... I'll even give you the link for free!

http://www.digium.com/index.php?menu=service_category&category=development

Douglas Garstang wrote:


I guess we can put that up there with the inability to share a common Realtime 
database between Asterisk servers for SIP peers too... another serious 
limitation.

-Original Message-
From: Douglas Garstang 
Sent: Sunday, December 11, 2005 12:49 PM

To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: RE: [Asterisk-Users] SRV Lookups


Sounds like your saying that a serious limitation that effectively makes 
Asterisk unusable in a production environment isn't a priority for the 
'official' developers. Awesome...

-Original Message-
From: Leif Madsen [mailto:[EMAIL PROTECTED]
Sent: Sunday, December 11, 2005 12:18 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] SRV Lookups


On 12/11/05, Douglas Garstang <[EMAIL PROTECTED]> wrote:
 


Anyone know when Asterisk is going to properly support DNS SRV Lookups?
   



Well, luckily Asterisk is open source so you have the ability to code
this yourself. If you can't program in C (like myself), then you have
the option of either hiring someone directly. Another option is to
create a bounty and see if anyone else also requires this
functionality and is willing to contribute some money for development.

Leif Madsen
http://www.oreilly.com/catalog/asterisk
http://www.leifmadsen.com
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
 



___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] SRV Lookups

2005-12-11 Thread Kevin P. Fleming

Douglas Garstang wrote:

I guess we can put that up there with the inability to share a common Realtime 
database between Asterisk servers for SIP peers too... another serious 
limitation.


Would you like your money back? Please tell us where to send it and 
we'll get it right over to you.


Whining about stuff that is not implemented (when it's clearly 
documented to not be implemented) does not do anyone any good, and it 
makes the rest of the community tend to ignore the remainder of whatever 
you have to say.


This is a volunteer-driven open source project; people write and test 
what they feel like writing and testing. If you want something that is 
not implemented, you can 'influence' what someone feels like writing and 
testing in whatever way is suitable... but whining at them usually has 
the opposite effect.

___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] SRV Lookups *ARRGH!*

2005-12-11 Thread Matt Riddell
Douglas Garstang wrote:

> At this point I'm almost ready to throw Asterisk out the window and suggest 
> we spend $300,000 on the Sylantro solution.

Um, if you have $300,000 to spend, you could instead put up a $10,000 bounty
on the feature you need and I can all but guarantee you will have lots of
developers knocking on your door...

-- 
Cheers,

Matt Riddell
___

http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://freevoip.gedameurope.com (Free Asterisk Voip Community)
http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)

___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] SRV Lookups

2005-12-11 Thread Douglas Garstang
I guess we can put that up there with the inability to share a common Realtime 
database between Asterisk servers for SIP peers too... another serious 
limitation.

-Original Message-
From: Douglas Garstang 
Sent: Sunday, December 11, 2005 12:49 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: RE: [Asterisk-Users] SRV Lookups


Sounds like your saying that a serious limitation that effectively makes 
Asterisk unusable in a production environment isn't a priority for the 
'official' developers. Awesome...

-Original Message-
From: Leif Madsen [mailto:[EMAIL PROTECTED]
Sent: Sunday, December 11, 2005 12:18 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] SRV Lookups


On 12/11/05, Douglas Garstang <[EMAIL PROTECTED]> wrote:
> Anyone know when Asterisk is going to properly support DNS SRV Lookups?

Well, luckily Asterisk is open source so you have the ability to code
this yourself. If you can't program in C (like myself), then you have
the option of either hiring someone directly. Another option is to
create a bounty and see if anyone else also requires this
functionality and is willing to contribute some money for development.

Leif Madsen
http://www.oreilly.com/catalog/asterisk
http://www.leifmadsen.com
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] SRV Lookups

2005-12-11 Thread Douglas Garstang
Sounds like your saying that a serious limitation that effectively makes 
Asterisk unusable in a production environment isn't a priority for the 
'official' developers. Awesome...

-Original Message-
From: Leif Madsen [mailto:[EMAIL PROTECTED]
Sent: Sunday, December 11, 2005 12:18 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] SRV Lookups


On 12/11/05, Douglas Garstang <[EMAIL PROTECTED]> wrote:
> Anyone know when Asterisk is going to properly support DNS SRV Lookups?

Well, luckily Asterisk is open source so you have the ability to code
this yourself. If you can't program in C (like myself), then you have
the option of either hiring someone directly. Another option is to
create a bounty and see if anyone else also requires this
functionality and is willing to contribute some money for development.

Leif Madsen
http://www.oreilly.com/catalog/asterisk
http://www.leifmadsen.com
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] SRV Lookups

2005-12-11 Thread Leif Madsen
On 12/11/05, Douglas Garstang <[EMAIL PROTECTED]> wrote:
> Anyone know when Asterisk is going to properly support DNS SRV Lookups?

Well, luckily Asterisk is open source so you have the ability to code
this yourself. If you can't program in C (like myself), then you have
the option of either hiring someone directly. Another option is to
create a bounty and see if anyone else also requires this
functionality and is willing to contribute some money for development.

Leif Madsen
http://www.oreilly.com/catalog/asterisk
http://www.leifmadsen.com
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] SRV Lookups

2005-12-11 Thread Douglas Garstang
Anyone know when Asterisk is going to properly support DNS SRV Lookups?

We have Asterisk, OpenSER and Polycom phones here. The Polycom phones seem to 
have about the best implementation. They at least try a second system 
(round-robin based on equal weights is flaky tho) if the first doesn't respond 
unlike Asterisk and OpenSER. 

It's kinda hard to build a REDUNDANT VOIP network when more than 2/3 of it 
doesn't support SRV lookups! This also means you have to use IP addresses and 
hostnames a lot of the time, which makes routing a mess. Yuck!

Doug.
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] SRV Lookups *ARRGH!*

2005-12-11 Thread Douglas Garstang
Phillip.

The link to the Wiki is woefully indadequate. I have no problem adding to the 
documentation, as soon as I bloody understand it myself. 

The two bug links you provided appear to be almost completely unrelated to what 
I asked about except they touch on the subject of SRV lookups. If you can't 
reference the proxy to dial in sip.conf, then you lose the ability to set a 
whole bunch of options (such as qualify which is required for detecting 
CONGESTION when the proxy is down etc).

If I stick with an IP/host and refer to what's in sip.conf, Asterisk ends URI's 
like sip:[EMAIL PROTECTED] which is but ugly and breaks SIP in general.

Oh, and you know what, why is it assumed that to use open source software I 
have to be a seasoned C programmer who can contribute to the code? Where is 
that requirement stipulated?

At this point I'm almost ready to throw Asterisk out the window and suggest we 
spend $300,000 on the Sylantro solution.

Doug.

-Original Message-
From: Philipp von Klitzing
[mailto:[EMAIL PROTECTED]
Sent: Sunday, December 11, 2005 10:13 AM
To: Douglas Garstang; Asterisk Users Mailing List - Non-Commercial
Discussion
Subject: Re: [Asterisk-Users] SRV Lookups *ARRGH!*


Dear Douglas!

> Asterisk is really pissing me off.
> Can someone tell me why this doesn't cause SRV lookups to be done on
> outbound calls: 

In general: If you are missing documentation then you are warmly invited 
to write and enhance the existing one (e.g. the Wiki) wherever you see 
fit. In particular you might want to edit this and add what you (and me) 
have learned:

   http://www.voip-info.org/wiki/view/Asterisk+SIP+srvlookup

> So... if I put the domain directly into the dial command an SRV lookup
> is done. If I reference it in sip.conf, an SRV lookup *IS NOT* done.
> WTF??? 

I did some work for you and searched bugs.digium.com for "srvlookup". And 
look at what I found:

  http://bugs.digium.com/view.php?id=1805
  http://bugs.digium.com/view.php?id=2081

Reading the bug notes you'll find that this is known - and probably even 
intended - behaviour. If you dislike it: File a bug report, write a 
patch, or find someone that's going to write it for you. Asterisk is an 
open source project, remember?

Cheers, Philipp


___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] SRV Lookups *ARRGH!*

2005-12-11 Thread Philipp von Klitzing
Dear Douglas!

> Asterisk is really pissing me off.
> Can someone tell me why this doesn't cause SRV lookups to be done on
> outbound calls: 

In general: If you are missing documentation then you are warmly invited 
to write and enhance the existing one (e.g. the Wiki) wherever you see 
fit. In particular you might want to edit this and add what you (and me) 
have learned:

   http://www.voip-info.org/wiki/view/Asterisk+SIP+srvlookup

> So... if I put the domain directly into the dial command an SRV lookup
> is done. If I reference it in sip.conf, an SRV lookup *IS NOT* done.
> WTF??? 

I did some work for you and searched bugs.digium.com for "srvlookup". And 
look at what I found:

  http://bugs.digium.com/view.php?id=1805
  http://bugs.digium.com/view.php?id=2081

Reading the bug notes you'll find that this is known - and probably even 
intended - behaviour. If you dislike it: File a bug report, write a 
patch, or find someone that's going to write it for you. Asterisk is an 
open source project, remember?

Cheers, Philipp


___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] SRV Lookups *ARRGH!*

2005-12-11 Thread Douglas Garstang
Asterisk is really pissing me off.
Can someone tell me why this doesn't cause SRV lookups to be done on outbound 
calls:

[general]
srvlookup=yes
...

[proxy]
type=peer
host=pstn.voip.com
insecure=very
context=test
qualify=yes

exten => s,2,Dial(SIP/[EMAIL PROTECTED],20,rt)

NO SRV LOOKUP!

While the following DOES cause an SRV lookup to be done...

exten => s,2,Dial(SIP/[EMAIL PROTECTED],20,rt)

So... if I put the domain directly into the dial command an SRV lookup is done. 
If I reference it in sip.conf, an SRV lookup *IS NOT* done. WTF???
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] SRV lookups

2005-12-08 Thread Eric \"ManxPower\" Wieling

Douglas Garstang wrote:

Can someone tell me when SRV lookups are going to be fully supported in 
Asterisk? I see we just had a new release, 1.2.1. Considering this lack of 
functionality is a huge gaping hole for reliability, I would have thought 1.2.1 
would have been a good time to implement this. It's way overdue.


That would be a new feature and so will not be added to the 1.2 or 1.0 
versions.  New features are not added once a release happens.



I'd also like to know why when asterisk tries to dial a proxy server, and that 
proxy server is down, ie not responding to SIP packets, Asterisk still sends 
RINGING back to the UA. Huh?


It would do that if you did something silly like add the "r" option to 
Dial without understanding what it does.

___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] SRV lookups

2005-12-08 Thread Douglas Garstang
Can someone tell me when SRV lookups are going to be fully supported in 
Asterisk? I see we just had a new release, 1.2.1. Considering this lack of 
functionality is a huge gaping hole for reliability, I would have thought 1.2.1 
would have been a good time to implement this. It's way overdue.

I'd also like to know why when asterisk tries to dial a proxy server, and that 
proxy server is down, ie not responding to SIP packets, Asterisk still sends 
RINGING back to the UA. Huh?

Doug
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] SRV lookups

2005-03-04 Thread Matt Schulte
Anyone have comments on this? ty..

-Original Message-
From: Matt Schulte 

Found this on the wiki, is this still true? If so then what's the
alternative?


Default
 srvlookup=yes

If srvlookup is turned on, Asterisk supports DNS SRV lookups partially.
Currently, Asterisk only reads the first SRV entry without bothering
with priorities and weights. This option is turned on by default. 
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] SRV lookups

2005-03-03 Thread Matt Schulte
Found this on the wiki, is this still true? If so then what's the
alternative?


Default
 srvlookup=yes

If srvlookup is turned on, Asterisk supports DNS SRV lookups partially.
Currently, Asterisk only reads the first SRV entry without bothering
with priorities and weights. This option is turned on by default. 
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] SRV lookups

2005-02-08 Thread Olle E. Johansson
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
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] SRV lookups

2005-02-08 Thread Robert Spielmann
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?

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?

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.

Hope the question is clear enough ;)

TIA,
Robert
-- 
Mit freundlichen Grüßen
Robert Spielmann
-
TAL.DE  Klaus Internet Service GmbH [EMAIL PROTECTED]
Robertstr. 6        *      D-42107 Wuppertal, Germany
Tel +49 (0) 202 495-364  *  Fax +49 (0) 202 / 495-399

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users