[asterisk-dev] [Code Review] Explicit context set in SIP peeroverridden by default domain context
Nick Lewis
Nick.Lewis at atltelecom.com
Thu Apr 22 07:16:38 CDT 2010
>We need to get domains into caller ID structure
>and into the extension somehow...
I agree but this could be a bit tricky as sip domains contain dots which
are already wildcards in the dialplan. Also domains in other
technologies may take a different form.
Is the @ character still available to be hyjacked for use as syntax in
the dialplan? If so, extension/callerid matching could look something
like:
exten =>
_sales-!@secondtenant[.]com/_c[etf]o at topcustomer[.]com,1,noop(any sales
team take this call now)
>On the topic of domain contexts I have at some
>point started working on collecting settings on
>a domain level so that we will have inheritance
>from [generic] defaults to [domain] defaults to
>peers in that domain. Trunk has a lot of global
>settings in a structure instead of separate
>variables because of this.
Ok so this is a work in progress. I can see how this would help. A
"phone" peer could be in a specific [domain] but a "service" peer could
be in [general] and serve many tenants.
>The idea I had with the current domain context
>was just a replacement of the context in
>general, without any inheritance to the peer. I
>don't know if this has been changed. Peers has
>no relationship to domains currently, which is
>where I was heading at some point.
My understanding is that Philip has found that there is inheritance to
the peer context from the general domain-context in the current
implementation and that is what he is trying to sort out. I do not know
how long this functionality has been in place and how many people will
scream if it is removed now
-- N_L
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Control Centre.
_____________________________________________________________________
Disclaimer of Liability
ATL Telecom Ltd shall not be held liable for any improper or incorrect use of the information described and/or contained herein and assumes no responsibility for anyones use of the information. In no event shall ATL Telecom Ltd be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement or substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this system, even if advised of the possibility of such damage.
Registered Office: ATL Telecom Ltd, Fountain Lane, St. Mellons Cardiff, CF3 0FB
Registered in Wales Number 4335781
All goods and services supplied by ATL Telecom Ltd are supplied subject to ATL Telecom Ltd standard terms and conditions, available upon request.
More information about the asterisk-dev
mailing list