Dear ALL
    i find the cause of my problem,
    when UA1 registers in the SER , the radius shows the log  (this time my account is "ua1" and password is "test"  )
    Login OK: [ua1@ser.testorg/<no User-Password attribute>] (from client ser port 5060)
 
   when UA1 calls UA2, the radius shows the log
   Login incorrect: [ua1/.] (from client b2bua port 1000 cli ua1)
   then i can't call anyone
 
   if i change the password from 'test' to '.' , i can call anywhere , but UA1 must change  its password when regsiter.
  
   i don't know why the password be changed to '.' when b2bua transfer the packet to radius
   does anyone help me ?
 
  Best Regards
ar.

----- Original Message -----
From: arr
To: serusers@lists.iptel.org
Sent: Monday, April 03, 2006 8:27 PM
Subject: Re: [Serusers] about the accounting and prepaid problem

Dear ALL:
I still have this problem !!
SIP UA can register in the SER after freeradius checking,
but when call forwarded to the b2bua ( b2bua then auth by radius) , follow is the radius log
 
 modcall[authorize]: module "sql" returns notfound for request 4  <====but i use the same account and password to register to the SER
modcall: leaving group authorize (returns ok) for request 4
auth: No authenticate method (Auth-Type) configuration found for the request: Rejecting the user
auth: Failed to validate the user.
 
Please help me
 
follow is in my ser.cfg
  if (method=="INVITE") {
           record_route();
           forward(b2bua.server,5065);
           sl_send_reply("181","Forwarding the call to B2BUA");
          
        }

 
ar.
----- Original Message -----
From: Chia-Hung Hsu
To: serusers@lists.iptel.org
Sent: Sunday, March 26, 2006 12:30 AM
Subject: Fw: [Serusers] about the accounting and prepaid problem


Dear All,
      I am new in SER and B2BUA, and I have a problem now
   
UA1----SER----B2BUA----Freeradius
                |
                |
             UA2
 
if i use the configure in b2bua-cfg.xml
<Billing_Server>
       <Address>radius.xxx.com</Address>
       <Authentication_Port>1813</Authentication_Port>
       <Accounting_Port>1813</Accounting_Port>
       <Password>password</Password>
</Billing_Server>
 
it will show the log in the radius server, when UA1 called to UA2
rad_recv: Access-Request packet from host 140.110.20.55:1024, id=0, length=68
Authentication-Request sent to a non-authentication port from client b2bua:1024 - ID 0 : IGNORED
 
so , i change the configure in b2bua-cfg.xml
<Billing_Server>
       <Address>radius.xxx.com</Address>
       <Authentication_Port>1812</Authentication_Port>
       <Accounting_Port>1813</Accounting_Port>
       <Password>password</Password>
</Billing_Server>
 
when UA1 called to UA2 , caller show the log "Number does not exist Call rejected : 404 not found"
Can anyone help me?
 
John Hsu


_______________________________________________
Serusers mailing list
serusers@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers