Re: [Asterisk-Users] IP Authorization
Sorry to dredge up an old topic, but could someone help me with this? I need to accept and forward a call from a range of ip addresses without any other authentication. (from-internal) Does anyone have a small snipped of extensions.conf and sip.conf that I can use to implement this? Thanks in Advance Aaron Alexander Lopez wrote: Exten = 123,1,NoOp(${SIPCHANINFO(recvip)}) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 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: - peeripThe IP address of the peer. - recvipThe 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 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 ___ --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
Re: [Asterisk-Users] IP Authorization
It's part of ASTPP. It is in astpp -head ready for testing. Darren Wiebe [EMAIL PROTECTED] Sam Tam wrote: When will it be ready ? Sam -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Darren Wiebe Sent: Saturday, February 11, 2006 9:38 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] IP Authorization I'm doing it similar to what the posted showed today. Then I'm calling an agi script (Maybe not the nicest way) that checks to see if the IP is allowed and sets the accountcode for the call. Darren Sam Tam wrote: Can you be more detail about the setup? Sam -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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 -- Darren Wiebe [EMAIL PROTECTED] Aleph Communications ASTPP - Open Source Voip Billing Calling Cards www.aleph-com.net/astpp ___ --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
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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: - peeripThe IP address of the peer. - recvipThe 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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
RE: [Asterisk-Users] IP Authorization
Exten = 123,1,NoOp(${SIPCHANINFO(recvip)}) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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: - peeripThe IP address of the peer. - recvipThe 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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 ___ --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
Re: [Asterisk-Users] IP Authorization
I'm doing it similar to what the posted showed today. Then I'm calling an agi script (Maybe not the nicest way) that checks to see if the IP is allowed and sets the accountcode for the call. Darren Sam Tam wrote: Can you be more detail about the setup? Sam -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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 -- Darren Wiebe [EMAIL PROTECTED] Aleph Communications ASTPP - Open Source Voip Billing Calling Cards www.aleph-com.net/astpp ___ --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
RE: [Asterisk-Users] IP Authorization
When will it be ready ? Sam -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Darren Wiebe Sent: Saturday, February 11, 2006 9:38 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] IP Authorization I'm doing it similar to what the posted showed today. Then I'm calling an agi script (Maybe not the nicest way) that checks to see if the IP is allowed and sets the accountcode for the call. Darren Sam Tam wrote: Can you be more detail about the setup? Sam -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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 -- Darren Wiebe [EMAIL PROTECTED] Aleph Communications ASTPP - Open Source Voip Billing Calling Cards www.aleph-com.net/astpp ___ --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
[Asterisk-Users] IP Authorization
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? Sam ___ --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
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
Re: [Asterisk-Users] IP Authorization
This is hopefully on topic. I'd like thoughts on this. I'm looking at doing some dialplan work which would grab the sip devices IP number. If that ip number is in an allowed list, the call would be allowed to go through otherwise congestion would be passed. Any thoughts? Darren Wiebe [EMAIL PROTECTED] Olle E Johansson wrote: 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 -- Darren Wiebe [EMAIL PROTECTED] Aleph Communications ASTPP - Open Source Voip Billing Calling Cards www.aleph-com.net/astpp ___ --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
RE: [Asterisk-Users] IP Authorization
Yeah something like that sound to be right. Sam -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Darren Wiebe Sent: Friday, February 10, 2006 8:44 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] IP Authorization This is hopefully on topic. I'd like thoughts on this. I'm looking at doing some dialplan work which would grab the sip devices IP number. If that ip number is in an allowed list, the call would be allowed to go through otherwise congestion would be passed. Any thoughts? Darren Wiebe [EMAIL PROTECTED] Olle E Johansson wrote: 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 -- Darren Wiebe [EMAIL PROTECTED] Aleph Communications ASTPP - Open Source Voip Billing Calling Cards www.aleph-com.net/astpp ___ --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
RE: [Asterisk-Users] IP Authorization
Can you be more detail about the setup? Sam -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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
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: - peeripThe IP address of the peer. - recvipThe 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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