[ previous ] [ next ] [ threads ]
 To :  <yate@v...>
 From :  Santiago Gimenez Ocano <sxntixgo@h...>
 Subject :  Radius issue
 Date :  Fri, 28 Dec 2007 11:35:30 -0500
Hello All,
 
I have been working with Yate's Yradius in order to do Authentication but I can't make it work.
 
I have tried it with both, regexroute.conf and register.conf but the call is routed even if I get a Reject from the Radius server.
 
Here is the log ussing register.conf:
 
------ YateSIPConnection::YateSIPConnection(0x69b890,0x6a4590) [0x69af20] Using sections [nas auth] and [radius common2] for authentication Authenticator matched for response Server returned 3, assuming Access-Reject Performing query "UPDATE lines SET inuse=inuse+1 WHERE line='108'" for 'yateadmin' Could not classify call from '108', wasted 12 usec Query for 'yateadmin' returned 0 rows, 0 affected Performing query "SELECT * from getroute('104') as t(location text, called text, error text, line text)" for 'yateadmin' Query for 'yateadmin' returned 1 rows, 0 affected YateSIPConnection::YateSIPConnection(0x69d450,'sip:104@1...') [0x69e880] RTP message received Guessed local IP '192.168.1.253' for remote '192.168.1.252' YRTPWrapper::YRTPWrapper('192.168.1.253',0x69e880,'audio',bidir,true) [0x2aaab40009c0] YRTPWrapper::setupRTP("192.168.1.253") [0x2aaab40009c0] Session 0x2aaab4000ad0 bound to 192.168.1.253:24366 [0x2aaab40009c0] YRTPSource::YRTPSource(0x2aaab40009c0) [0x2aaab4000ce0] YRTPConsumer::YRTPConsumer(0x2aaab40009c0) [0x2aaab4000e50] Sending 'INVITE sip:104@1...' 0x69b8b0 to 192.168.1.252:5060------
 
Do I have missed something?
Can anyone help me please?
 
 
Thanks,
Santiago
 
 
 
 
 
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


Hello All,
 
I have been working with Yate's Yradius in order to do Authentication but I can't make it work.
 
I have tried it with both, regexroute.conf and register.conf but the call is routed even if I get a Reject from the Radius server.
 
Here is the log ussing register.conf:
 
------
<sip/1:ALL> YateSIPConnection::YateSIPConnection(0x69b890,0x6a4590) [0x69af20]
<yradius:NOTE> Using sections [nas auth] and [radius common2] for authentication
<yradius:ALL> Authenticator matched for response
<yradius:MILD> Server returned 3, assuming Access-Reject
<pgsqldb:ALL> Performing query "UPDATE lines SET inuse=inuse+1 WHERE line='108'" for 'yateadmin'
<INFO> Could not classify call from '108', wasted 12 usec
<pgsqldb:ALL> Query for 'yateadmin' returned 0 rows, 0 affected
<pgsqldb:ALL> Performing query "SELECT * from getroute('104') as t(location text, called text, error text, line text)" for 'yateadmin'
<pgsqldb:ALL> Query for 'yateadmin' returned 1 rows, 0 affected
<sip/2:ALL> YateSIPConnection::YateSIPConnection(0x69d450,'sip:104@1...') [0x69e880]
<yrtp:ALL> RTP message received
<yrtp:INFO> Guessed local IP '192.168.1.253' for remote '192.168.1.252'
<yrtp:ALL> YRTPWrapper::YRTPWrapper('192.168.1.253',0x69e880,'audio',bidir,true) [0x2aaab40009c0]
<yrtp:ALL> YRTPWrapper::setupRTP("192.168.1.253") [0x2aaab40009c0]
<yrtp:ALL> Session 0x2aaab4000ad0 bound to 192.168.1.253:24366 [0x2aaab40009c0]
<yrtp:ALL> YRTPSource::YRTPSource(0x2aaab40009c0) [0x2aaab4000ce0]
<yrtp:ALL> YRTPConsumer::YRTPConsumer(0x2aaab40009c0) [0x2aaab4000e50]
<sip:INFO> Sending 'INVITE sip:104@1...' 0x69b8b0 to 192.168.1.252:5060
------
 
Do I have missed something?
Can anyone help me please?
 
 
Thanks,
Santiago
 
 
 
 
 


Express yourself instantly with MSN Messenger! MSN Messenger