[Serusers] authentication problem
Jan Janak
jan at iptel.org
Tue Nov 9 15:31:39 CET 2004
On 09-11 16:17, Martin Bangiev wrote:
> Hi all,
> I have ttrouble making IP phone (BudgeTone-100) + Ser + Asterisk work
> together with authentication
> I installed and setup the ser according to the instructions in the
> howto-s with enabled mysql authentication.
> The ser and the asterisk are working together on a single maschine
> (10.3.3.7). Ser is listening on port 5060 and asterisk is on port 5061.
> What I want is when the IP phone (10.10.0.13) get authenticated to be
> forwarded from ser to asterisk.
> Here is my route script (it's quite simple i think):
> route{
> if (!proxy_authorize("asterisk", "subscriber")) {
> proxy_challenge("asterisk", "0");
> break;
> };
> forward(10.3.3.7, 5061);
> }
>
> here is a piece of the ser's output:
> 0(16841) check_nonce(): comparing
> [4190d1a0be145d87dc84c516175f8b46bc4923d6] and
> [4190d1a0be145d87dc84c516175f8b46bc4923d6]
> 0(16841) query="select password from subscriber where
> username='bangieff' AND domain='asterisk'"
> 0(16841) HA1 string calculated: fe6a6d50bebb95056a4a4cd70c12bf8d
> 0(16841) check_response(): Our result = '6362285d3385465321ce523620522056'
> 0(16841) check_response(): Authorization is OK
> 0(16841) save_rpid(): rpid value is ''
> 0(16841) check_via_address(10.10.0.13, 10.10.0.13, 0)
> 0(16841) Sending:
>
It says it was sucessful. What was in the log after the last message
(Sending:)
Jan.
More information about the sr-users
mailing list