Problem solved and posted below.
I may have found out at lease two things that may help others.
Especial thanks to Eric ManPower, Benny Amorsen, Luan LIU, Paul Hales,
Pavel Jezek and a _lot_ of research on the web.
The problem was separating the contexts for incoming VOIP calls
from the
Benny Amorsen wrote:
LA == Larry Alkoff [EMAIL PROTECTED] writes:
LA If it's not a security issue I might as well have all phones with
LA context=default in sip.conf even though voip-info specifically
LA warns against that. Wonder why?
Random SIP calls from the internet could end up in
context 'default' has not any special, it's context, that will be used
if your peers/users definition doesn't contain any specific context
if you have permited 'anonymous' calls to your asterisk, i.e
allowguest=yes, unautenticated calls (calls, that will not match any
specific user in sip.conf)
LA == Larry Alkoff [EMAIL PROTECTED] writes:
LA I have a sip.conf with stanzas for sip phones that have
LA 'context=sip-incoming for some Grandstream phones and another
LA stanza for a Sipura SPA3000 with context=pstn-incoming.
LA Reviewing the code today, I was dismayed to see that all my
LA
Benny Amorsen wrote:
LA == Larry Alkoff [EMAIL PROTECTED] writes:
LA I have a sip.conf with stanzas for sip phones that have
LA 'context=sip-incoming for some Grandstream phones and another
LA stanza for a Sipura SPA3000 with context=pstn-incoming.
LA Reviewing the code today, I was dismayed
Actually, 'context=' in sip.conf is the first place Asterisk looks for
when a number is dialled from the phone. It then uses 'includes' to
check for other options.
Usually, people use 'incoming' for their external lines, and something
else for the sip phones. I have used 'sip_phones' before.
Put your phones in the context=toll-access in sip.conf or zapata.conf
Put the phone lines in context=incoming in sip.conf or zapata.conf
extensions.conf:
[extensions]
exten = 667,1,Dial(SIP/whatever)
...
more exten lines to dial your phones here
[incoming] ; this is where calls from untrusted
Hello Eric.
I don't fully understand your example.
I _think_ you have in extensions.conf:
[incoming]
include = extensions
[extensions]
exten = 667
more exten here
[toll-trunks]
exten = 91NXXNXX
more exten here
[toll-access]
include = extensions
include = toll-trunks
My understanding of
Larry Alkoff wrote:
Hello Eric.
I don't fully understand your example.
I _think_ you have in extensions.conf:
[incoming]
include = extensions
[extensions]
exten = 667
more exten here
[toll-trunks]
exten = 91NXXNXX
more exten here
[toll-access]
include = extensions
include = toll-trunks
Eric ManxPower Wieling wrote:
Larry Alkoff wrote:
Hello Eric.
I don't fully understand your example.
I _think_ you have in extensions.conf:
[incoming]
include = extensions
[extensions]
exten = 667
more exten here
[toll-trunks]
exten = 91NXXNXX
more exten here
[toll-access]
include =
Larry Alkoff wrote:
Eric ManxPower Wieling wrote:
Larry Alkoff wrote:
Hello Eric.
I don't fully understand your example.
I _think_ you have in extensions.conf:
[incoming]
include = extensions
[extensions]
exten = 667
more exten here
[toll-trunks]
exten = 91NXXNXX
more exten here
Eric ManxPower Wieling wrote:
Larry Alkoff wrote:
Eric ManxPower Wieling wrote:
Larry Alkoff wrote:
Hello Eric.
I don't fully understand your example.
I _think_ you have in extensions.conf:
[incoming]
include = extensions
[extensions]
exten = 667
more exten here
[toll-trunks]
exten =
Larry Alkoff wrote:
Eric ManxPower Wieling wrote:
Larry Alkoff wrote:
Eric ManxPower Wieling wrote:
Larry Alkoff wrote:
Hello Eric.
I don't fully understand your example.
I _think_ you have in extensions.conf:
[incoming]
include = extensions
[extensions]
exten = 667
more exten here
Eric ManxPower Wieling wrote:
Larry Alkoff wrote:
Eric ManxPower Wieling wrote:
Larry Alkoff wrote:
Eric ManxPower Wieling wrote:
Larry Alkoff wrote:
Hello Eric.
I don't fully understand your example.
I _think_ you have in extensions.conf:
[incoming]
include = extensions
[extensions]
LA == Larry Alkoff [EMAIL PROTECTED] writes:
LA If it's not a security issue I might as well have all phones with
LA context=default in sip.conf even though voip-info specifically
LA warns against that. Wonder why?
Random SIP calls from the internet could end up in context default, if
that is
15 matches
Mail list logo