[asterisk-users] Extension registration
John covici
covici at ccs.covici.com
Tue Sep 23 08:04:39 CDT 2008
The user won't need to register at all, registration is only good if
the ip address changes. Much simpler that way. Just put host=<the ip
address you want>
on Tuesday 09/23/2008 michel freiha(michofr at gmail.com) wrote
> If I make host=dynamic, then the customer will be able to register on my
> asterisk server from any IP address...What I need is to force the User to
> register on asterisk from a specific IP address like 192.168.0.164...How
> this could be done?
>
> Regards
>
> On Tue, Sep 23, 2008 at 3:52 PM, Fred Posner <fred at teamforrest.com> wrote:
>
> >
> > On Sep 23, 2008, at 8:40 AM, Vinícius Fontes wrote:
> >
> > Make host=dynamic.
> >
> >
> >
> > Also, set nat=yes
> >
> > Hi all,
> >
> >
> >
> > I have the below extension defined under sip.conf:
> >
> >
> >
> > [2203]
> >
> > type=friend
> >
> > username=2203
> >
> > secret=123456
> >
> > host= 192.168.0.164
> >
> > mailbox=2203
> >
> > context=intern
> >
> > canreinvite=yes
> >
> > dtmfmode=rfc2833
> >
> >
> >
> >
> >
> >
> > Fred Posner
> > *fred at teamforrest.com*
> >
> > Using VoIP?
> > SIP: fred at sip.teamforrest.com
> >
> > _______________________________________________
> > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> >
> > AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> > Register Now: http://www.astricon.net
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> <div dir="ltr"><div>If I make host=dynamic, then the customer will be able to register on my asterisk server from any IP address...What I need is to force the User to register on asterisk from a specific IP address like 192.168.0.164...How this could be done?</div>
>
> <div> </div>
> <div>Regards<br><br></div>
> <div class="gmail_quote">On Tue, Sep 23, 2008 at 3:52 PM, Fred Posner <span dir="ltr"><<a href="mailto:fred at teamforrest.com">fred at teamforrest.com</a>></span> wrote:<br>
> <blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
> <div style="WORD-WRAP: break-word">
> <div><span style="FONT-WEIGHT: normal; FONT-SIZE: 12px; WORD-SPACING: 0px; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; LINE-HEIGHT: normal; FONT-STYLE: normal; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; FONT-VARIANT: normal">
> <div style="WORD-WRAP: break-word"><span style="FONT-WEIGHT: normal; FONT-SIZE: 12px; WORD-SPACING: 0px; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; LINE-HEIGHT: normal; FONT-STYLE: normal; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; FONT-VARIANT: normal">
> <div style="WORD-WRAP: break-word"><span style="FONT-WEIGHT: normal; FONT-SIZE: 12px; WORD-SPACING: 0px; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; LINE-HEIGHT: normal; FONT-STYLE: normal; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; FONT-VARIANT: normal">
> <div style="WORD-WRAP: break-word"><span style="FONT-WEIGHT: normal; FONT-SIZE: 12px; WORD-SPACING: 0px; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; LINE-HEIGHT: normal; FONT-STYLE: normal; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; FONT-VARIANT: normal">
> <div style="WORD-WRAP: break-word"><span style="FONT-WEIGHT: normal; FONT-SIZE: 12px; WORD-SPACING: 0px; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; LINE-HEIGHT: normal; FONT-STYLE: normal; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; FONT-VARIANT: normal">
> <div style="WORD-WRAP: break-word"><span style="FONT-WEIGHT: normal; FONT-SIZE: 12px; WORD-SPACING: 0px; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; LINE-HEIGHT: normal; FONT-STYLE: normal; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; FONT-VARIANT: normal"><span style="FONT-WEIGHT: normal; FONT-SIZE: 12px; WORD-SPACING: 0px; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; LINE-HEIGHT: normal; FONT-STYLE: normal; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; FONT-VARIANT: normal">
> <div style="WORD-WRAP: break-word">
> <div><br></div></div></span></span></div></span></div></span></div></span></div></span></div></span></div>
> <div>
> <div>On Sep 23, 2008, at 8:40 AM, Vinícius Fontes wrote:</div><br>
> <blockquote type="cite">
> <div>Make host=dynamic.<br><br><br></div></blockquote>
> <div><br></div>
> <div>Also, set nat=yes</div>
> <div class="Ih2E3d"><br>
> <blockquote type="cite">
> <div>
> <blockquote type="cite">Hi all,<br></blockquote>
> <blockquote type="cite"> <br></blockquote>
> <blockquote type="cite">I have the below extension defined under sip.conf:<br></blockquote>
> <blockquote type="cite"> <br></blockquote>
> <blockquote type="cite">[2203]<br></blockquote>
> <blockquote type="cite">type=friend<br></blockquote>
> <blockquote type="cite">username=2203<br></blockquote>
> <blockquote type="cite">secret=123456<br></blockquote>
> <blockquote type="cite">host= <a href="http://192.168.0.164/" target="_blank">192.168.0.164</a><br></blockquote>
> <blockquote type="cite">mailbox=2203<br></blockquote>
> <blockquote type="cite">context=intern<br></blockquote>
> <blockquote type="cite">canreinvite=yes<br></blockquote>
> <blockquote type="cite">dtmfmode=rfc2833<br></blockquote>
> <blockquote type="cite"> <br></blockquote>
> <blockquote type="cite"><br></blockquote></div></blockquote><br></div></div>
> <div><br></div>
> <div>
> <div>Fred Posner</div>
> <div><b><a href="mailto:fred at teamforrest.com" target="_blank">fred at teamforrest.com</a></b></div>
> <div>
> <div><br></div>
> <div>Using VoIP? </div>
> <div style="WORD-WRAP: break-word">SIP:<span style="WHITE-SPACE: pre"> </span><a href="mailto:fred at sip.teamforrest.com" target="_blank">fred at sip.teamforrest.com</a></div></div></div></div><br>_______________________________________________<br>
> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/" target="_blank">http://www.api-digital.com</a> --<br><br>AstriCon 2008 - September 22 - 25 Phoenix, Arizona<br>Register Now: <a href="http://www.astricon.net/" target="_blank">http://www.astricon.net</a><br>
> <br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
> </blockquote></div><br></div>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici
covici at ccs.covici.com
More information about the asterisk-users
mailing list