[Asterisk-Users] IP Authorization
Alexander Lopez
alex.lopez at opsys.com
Fri Feb 10 07:11:10 MST 2006
Exten => 123,1,NoOp(${SIPCHANINFO(recvip)})
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Sam Tam
> Sent: Friday, February 10, 2006 3:38 AM
> To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
> Subject: RE: [Asterisk-Users] IP Authorization
>
> Ah that is from the CLI but still unclear about how to setup
> the extension.conf or etc..
>
> Sam
>
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of
> Alexander Lopez
> Sent: Friday, February 10, 2006 1:56 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: RE: [Asterisk-Users] IP Authorization
>
> You can use the following:
>
> switch3*CLI> show function SIPCHANINFO
> switch3*CLI>
> -= Info about function 'SIPCHANINFO' =-
>
> [Syntax]
> SIPCHANINFO(item)
>
> [Synopsis]
> Gets the specified SIP parameter from the current channel
>
> [Description]
> Valid items are:
> - peerip The IP address of the peer.
> - recvip The source IP address of the peer.
> - from The URI from the From: header.
> - uri The URI from the Contact: header.
> - useragent The useragent.
> - peername The name of the peer.
>
> All the info you need is there.....
>
>
>
> > -----Original Message-----
> > From: asterisk-users-bounces at lists.digium.com
> > [mailto:asterisk-users-bounces at lists.digium.com] On Behalf
> Of Sam Tam
> > Sent: Thursday, February 09, 2006 9:16 PM
> > To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
> > Subject: RE: [Asterisk-Users] IP Authorization
> >
> > Can you be more detail about the setup?
> >
> > Sam
> >
> > -----Original Message-----
> > From: asterisk-users-bounces at lists.digium.com
> > [mailto:asterisk-users-bounces at lists.digium.com] On Behalf
> Of Olle E
> > Johansson
> > Sent: Friday, February 10, 2006 4:26 AM
> > To: Asterisk Users Mailing List - Non-Commercial Discussion
> > Subject: Re: [Asterisk-Users] IP Authorization
> >
> > Sam Tam wrote:
> > > I think this is a question that has been discussed before.
> > > But you see nowadays most carriers will provide thing like
> > SIP using
> > > IP authorization rather than username and password and I am now
> > > wondering whether Asterisk can do something like that or not?
> > >
> > In the voip channels as well as in manager you can set ACLs for the
> > connections you define.
> >
> > /O
> > _______________________________________________
> > --Bandwidth and Colocation provided by Easynews.com --
> >
> > Asterisk-Users mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> >
> >
> >
> > _______________________________________________
> > --Bandwidth and Colocation provided by Easynews.com --
> >
> > Asterisk-Users mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list