VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
boykinjim at gmail.com Guest
|
Posted: Tue Mar 11, 2014 6:40 am Post subject: [asterisk-users] Asterisk Authentication |
|
|
Hi,
I am trying to setup asterisk so that anyone from any IP can call using any callerid as long they have an account - also no registration is required.
However, it seems like asterisk tries to find peer based on either the IP address or from header. What I really want is asterisk to find account/peer based on username passed as part of the authentication and NOT from the IP address or the from header.
Any idea how to achieve this.
Thanks |
|
Back to top |
|
|
ish at pack-net.co.uk Guest
|
Posted: Tue Mar 11, 2014 6:53 am Post subject: [asterisk-users] Asterisk Authentication |
|
|
On 11 March 2014 11:39, Jim Boykin <boykinjim@gmail.com (boykinjim@gmail.com)> wrote:
Quote: | Hi,
I am trying to setup asterisk so that anyone from any IP can call using any callerid as long they have an account - also no registration is required.
However, it seems like asterisk tries to find peer based on either the IP address or from header. What I really want is asterisk to find account/peer based on username passed as part of the authentication and NOT from the IP address or the from header.
Any idea how to achieve this.
Thanks
|
It has to be either fixed IP address or username and password with a dynamic host. This is no in between to the best of my knowledge.
Regards
Ish
--
Quote: | Ishfaq Malik
Department: VOIP Support
Company: Packnet Limited
t: +44 (0)845 004 4994
f: +44 (0)161 660 9825
e: ish@pack-net.co.uk (ish@pack-net.co.uk)
w: http://www.pack-net.co.uk
Registered Address: PACKNET LIMITED, Duplex 2, Ducie House
37 Ducie Street
Manchester, M1 2JW
COMPANY REG NO. 04920552
|
|
|
Back to top |
|
|
boykinjim at gmail.com Guest
|
Posted: Tue Mar 11, 2014 9:34 am Post subject: [asterisk-users] Asterisk Authentication |
|
|
I am not sure if you understood the problem. Asterisk introduced "match_auth_username" option for what I exactly want but it doesn't seem to be work.
On Tue, Mar 11, 2014 at 5:23 PM, Ishfaq Malik <ish@pack-net.co.uk (ish@pack-net.co.uk)> wrote:
Quote: |
On 11 March 2014 11:39, Jim Boykin <boykinjim@gmail.com (boykinjim@gmail.com)> wrote:
Quote: | Hi,
I am trying to setup asterisk so that anyone from any IP can call using any callerid as long they have an account - also no registration is required.
However, it seems like asterisk tries to find peer based on either the IP address or from header. What I really want is asterisk to find account/peer based on username passed as part of the authentication and NOT from the IP address or the from header.
Any idea how to achieve this.
Thanks
|
It has to be either fixed IP address or username and password with a dynamic host. This is no in between to the best of my knowledge.
Regards
Ish
--
Quote: | Ishfaq Malik
Department: VOIP Support
Company: Packnet Limited
t: +44 (0)845 004 4994
f: +44 (0)161 660 9825
e: ish@pack-net.co.uk (ish@pack-net.co.uk)
w: http://www.pack-net.co.uk
Registered Address: PACKNET LIMITED, Duplex 2, Ducie House
37 Ducie Street
Manchester, M1 2JW
COMPANY REG NO. 04920552
|
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
|
|
Back to top |
|
|
EWieling at nyigc.com Guest
|
Posted: Tue Mar 11, 2014 9:48 am Post subject: [asterisk-users] Asterisk Authentication |
|
|
Try setting the sip.conf entry to friend, not peer and not user.
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Jim Boykin
Sent: Tuesday, March 11, 2014 10:34 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Asterisk Authentication
I am not sure if you understood the problem. Asterisk introduced "match_auth_username" option for what I exactly want but it doesn't seem to be work.
On Tue, Mar 11, 2014 at 5:23 PM, Ishfaq Malik <ish@pack-net.co.uk> wrote:
On 11 March 2014 11:39, Jim Boykin <boykinjim@gmail.com> wrote:
Hi,
I am trying to setup asterisk so that anyone from any IP can call using any callerid as long they have an account - also no registration is required.
However, it seems like asterisk tries to find peer based on either the IP address or from header. What I really want is asterisk to find account/peer based on username passed as part of the authentication and NOT from the IP address or the from header.
Any idea how to achieve this.
Thanks
It has to be either fixed IP address or username and password with a dynamic host. This is no in between to the best of my knowledge.
Regards
Ish
--
Ishfaq Malik
Department: VOIP Support
Company: Packnet Limited
t: +44 (0)845 004 4994
f: +44 (0)161 660 9825
e: ish@pack-net.co.uk
w: http://www.pack-net.co.uk
Registered Address: PACKNET LIMITED, Duplex 2, Ducie House
37 Ducie Street
Manchester, M1 2JW
COMPANY REG NO. 04920552
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
boykinjim at gmail.com Guest
|
Posted: Tue Mar 11, 2014 11:07 am Post subject: [asterisk-users] Asterisk Authentication |
|
|
actually alwaysauthreject was the problem, making it yes was a solution.
thanks everyone
On Tue, Mar 11, 2014 at 8:17 PM, Eric Wieling <EWieling@nyigc.com (EWieling@nyigc.com)> wrote:
Quote: | Try setting the sip.conf entry to friend, not peer and not user.
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com) [mailto:asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com)] On Behalf Of Jim Boykin
Sent: Tuesday, March 11, 2014 10:34 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Asterisk Authentication
I am not sure if you understood the problem. Asterisk introduced "match_auth_username" option for what I exactly want but it doesn't seem to be work.
On Tue, Mar 11, 2014 at 5:23 PM, Ishfaq Malik <ish@pack-net.co.uk (ish@pack-net.co.uk)> wrote:
On 11 March 2014 11:39, Jim Boykin <boykinjim@gmail.com (boykinjim@gmail.com)> wrote:
Hi,
I am trying to setup asterisk so that anyone from any IP can call using any callerid as long they have an account - also no registration is required.
However, it seems like asterisk tries to find peer based on either the IP address or from header. What I really want is asterisk to find account/peer based on username passed as part of the authentication and NOT from the IP address or the from header.
Any idea how to achieve this.
Thanks
It has to be either fixed IP address or username and password with a dynamic host. This is no in between to the best of my knowledge.
Regards
Ish
--
Ishfaq Malik
Department: VOIP Support
Company: Packnet Limited
t: +44 (0)845 004 4994
f: +44 (0)161 660 9825
e: ish@pack-net.co.uk (ish@pack-net.co.uk)
w: http://www.pack-net.co.uk
Registered Address: PACKNET LIMITED, Duplex 2, Ducie House
37 Ducie Street
Manchester, M1 2JW
COMPANY REG NO. 04920552
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|