[Asterisk-Users] Newbie's doubt on sip.conf

kaiduan xie kaiduanx at yahoo.ca
Wed Jul 7 09:10:35 MST 2004


Andrew,

Thanks for help. But you still doesnot answer my
questions. Please see the inline comments.

BTW, I use "Getting Started with Asterisk" as
reference
(http://www.automated.it/guidetoasterisk.htm#_Toc49248767).

Thanks,

kaiduan
--- Andrew Thompson <asteriskuser at aktzero.com> wrote:
> kaiduan xie wrote:
> > 1) Can I have two or more SIP phones acting as
> > extensions in one Asterisk box, and at the same
> time, registered to a
> > SIP proxy, say Free World Dialup? If yes, how? 
> 
> Your phone would have to support registering with
> more than one sip server.
> It may seem like what you want, but I doubt it is
> necessary.

In my case, each SIP phones register with FWD, and was
assigned a extension. I can put more register for each
phone in sip.conf. For example,

register => 21103:mypassword at fwd.pulver.com/1000
register => 21104:mypassword at fwd.pulver.com/2000

My concern is how to setup the [fwd.pulver.com]

[fwd.pulver.com]
type=friend
secret=mypassword
username=my fwd number
host=fwd.pulver.com

since there are two FWD numbers, should I set secret
and username for each SIP Phones?

Also, you still doesnot answer my question, what is
the use of section [fwd.pulver.com]? Why we need
secret and username in [fwd.pulver.com] since we
already provide it in "register =>
21104:mypassword at fwd.pulver.com/2000"?

> > 2) Why we need a section in the sip.conf for the
> > proxy, say, Free World Dialup's fwd.pulver.com? In
> the
> > case of 1), how to assign the value to section
> [fwd.pulver.com],
> > since there are more than one sip phone, each with
> different FWD
> > number?  
> 
> You should be able to register and listen for calls
> from multiple fwd
> numbers and direct them to different extensions.
> 
> > 3) Can anyone explain the meaning of "peer",
> "friend",
> > "user" in more details? For each case, what is the
> > role of Asterisk in SIP world, a UA, a proxy, or
> > others?
> 
> Peer: A connection that sends calls to asterisk.
> User: A connection that asterisk sends calls out to.
> Friend: an attempt at a combination of both, to
> simplify set up of phones
> that send and receive calls. (There are several
> people here who will tell
> you friend is evil.)

Just to complain that the definition of "peer",
"user", and "Friend" is not self-explained, :) 

> > 4) If we only use SIP phone as extensions in
> Asterisk,
> > the SIP phone doesnot associate with outside
> proxy,
> > does Asterisk act as a proxy for inter-extension
> call
> > between the SIP phones? In this case, for the
> outgoing
> >  call originating from SIP phone to other network,
> > say, PSTN, does Asterisk act as a gateway? (PSTN
> > connection with Asterisk is assumed.)
> 
> Hmm, let me give brief examples of things you can
> do(* = asterisk): 
> sip phone -> * -> sip phone
> sip phone -> * -> hardline adapter -> PSTN or
> T1/E1/BRI/etc.
> sip phone -> * -> other voip service(fwd, iaxtel,
> etc)
> sip phone -> * -> other voip service(voicepulse,
> nufone, iconnecthere) ->
> PSTN


> Most(if not all) of these can be turned around so
> that they are still valid
> reading right to left.
> 
> -----
> Andrew Thompson
> http://aktzero.com/
> http://www.retirequickly.com/43653
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at 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
>  

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca



More information about the asterisk-users mailing list