[Asterisk-Users] IP Authorization

Alexander Lopez alex.lopez at opsys.com
Thu Feb 9 22:56:00 MST 2006


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
> 



More information about the asterisk-users mailing list