You have to decide between:
1. ser handles the location database
2. asterisk handle the location database
for case 1, asterisk must be configured to trust all requests from the
SIP proxy as you can not authenticate the user twice.
klaus
Douglas Garstang wrote:
I don't think this will work.
That means not only would the Asterisk box need to let REGISTER requests
through without authentication, it would also need to let every other type of
request through (INVITES come from OpenSER as well). You can't drill down to
that level of detail in Asterisk and tell it to not authenticate for REGISTERs
from OpenSER, but to authenticate for INVITE requests.
Doug
-----Original Message-----
From: Klaus Darilion [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 30, 2005 2:54 PM
To: Douglas Garstang
Cc: [email protected]
Subject: Re: [Users] Sending Authorisation Credentials
configure asterisk to accept REGISTER without authentication, if it is
received from your proxy (IP address)
klaus
Douglas Garstang wrote:
I have user agents registering with OpenSER. I wanted to 'copy' the
registration to an Asterisk server, so I modified a standard openser.cfg as
such:
if (method=="REGISTER") {
# Uncomment this if you want to use digest authentication
if (!www_authorize("voip.com", "subscriber")) {
www_challenge("voip.com", "0");
exit;
};
save("location");
t_replicate("192.168.10.7","5060"); # Added this line...
exit;
};
I just stuck the t_replicate() call in there. OpenSER sends the REGISTER packet
to the Asterisk box who requests credentials. How can I get OpenSER to send
credentials (ie act as a UAC) for a given user, to a UAS?
Thanks,
Doug
_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users