[Asterisk-Users] beginner's question!
Martin Pycko
martinp at digium.com
Tue May 13 11:21:17 MST 2003
the keyword context=<context_name> in any of these configuration files:
sip.conf, iax.conf, zapata.conf, mgcp.conf refers to a extension's context
in the file extensions.conf. It serves the purpose of separating the
extensions / creating a separate dial plan so that for example when you're
using a local SIP phone so you could dial out and when someone accesses
your pbx from the outside so that this person could only dial to demo
extensions / leave a voicemail.
Martin
On Tue, 13 May 2003 firedude at shorelinuxsolutions.com wrote:
> Another beginner here if I may jump in on this as well with a question.
> My question is very simular to the original poster in that I downloaded
> asterisk on my RH9 box. It installed correctly and started correctly
> however even after having read the handbook, I'm still a bit confused
> about a few things.
>
> My current setup is the asterisk server, then I have another box on my LAN
> that GnoPhone is running on. I successfully registered with IAXtel and
> received a phone number from them. I also made a few test calls out with
> GnoPhone through IAXtel. Those calls went fine. Then I went back to try
> to configure my config files on the asterisk server. As I understand it,
> since I'm using no hardware currently the only 2 files I need to edit are
> iax.conf and extensions.conf?? Now what I'm trying to do here is simply
> use GnoPhone to make calls out to the PSTN. I would also like to receive
> calls on the GnoPhone from my iaxtel number as well as a PSTN number
> assigned by iconnecthere (the outgoing PSTN numbers would also go through
> iconnecthere).
>
> Here's where I'm a little confused. In the iax.conf file I'm not sure I
> understand what a context is. I think I understand the rest of the things
> there besides the context. In the extensions.conf file, how do I set this
> up for iax. All the examples in the handbook seem to be for Zap and I'm
> not really understanding what each arguement after exten => are? Can I
> just arbitrarily assign extensions? If so what tells asterisk that the
> extension goes to the GnoPhone? I eventually would like to add some
> hardware to the eqyation but I think I'm baffled enough for right now.
> Thanks for any suggestions.
> AJ
>
>
> On Tue, 13 May 2003, Tilghman Lesher wrote:
>
> > On Tuesday 13 May 2003 09:14 am, Dave Alan Caruana wrote:
> > > What exactly is a SIP provider? is this essential? Leaving the line
> > > as it was in the sample config file, asterisk crashes the machine
> > > after trying to read the SIP.conf (Crashes to the extent that the
> > > machine freezes .. )
> >
> > If you have a dynamic IP, then registering is necessary in order for
> > inbound calls to find you (at whatever IP you are today). If you have
> > a static IP (and you use that IP in your SIP address), then you should
> > not need to register with a SIP registrar.
> >
> > -Tilghman
> >
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> >
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list