Re: [OpenSIPS-Users] Getting Error When Configuring OpenSIPS + FreeRadius
Hi, Thanks for your reply Norman, I figure it out the problem. The problem is that many of the attributes weren't defined in dictionary.opensips, after adding the attributes, accounting with radius is working now. Here is the list of dictionary.opensips attributes I want to share; ### Lines Added ATTRIBUTE Sip-Method101 integer ATTRIBUTE Sip-Response-Code 102 integer# Schulzrinne, acc ATTRIBUTE Sip-To-Tag104 string # Schulzrinne, acc ATTRIBUTE Sip-From-Tag 105 string # Schulzrinne, acc ATTRIBUTE Sip-Translated-Request-URI107 string # Proprietary, acc ATTRIBUTE Source-IP 214 string ATTRIBUTE Source-Port 215 string ATTRIBUTE Sip-Src-IP108 string # Proprietary, acc ATTRIBUTE Sip-Src-Port 109 string # Proprietary, acc ATTRIBUTE Digest-Response 206 string # Sterman, auth_radius ATTRIBUTE Sip-Uri-User 208 string # Proprietary, auth_radius ATTRIBUTE Sip-Group 211 string # Proprietary, group_radius ATTRIBUTE Sip-Rpid 213 string # Proprietary, auth_radius ATTRIBUTE SIP-AVP 225 string # Proprietary, avp_radius ATTRIBUTE Digest-Realm 1063 string# Sterman, auth_radius ATTRIBUTE Digest-Nonce 1064 string# Sterman, auth_radius ATTRIBUTE Digest-Method 1065 string# Sterman, auth_radius ATTRIBUTE Digest-URI1066 string# Sterman, auth_radius ATTRIBUTE Digest-QOP1067 string# Sterman, auth_radius ATTRIBUTE Digest-Algorithm 1068 string# Sterman, auth_radius ATTRIBUTE Digest-Body-Digest1069 string# Sterman, auth_radius ATTRIBUTE Digest-CNonce 1070 string# Sterman, auth_radius ATTRIBUTE Digest-Nonce-Count1071 string# Sterman, auth_radius ATTRIBUTE Digest-User-Name 1072 string# Sterman, auth_radius ATTRIBUTE Contact 1073 integer ### Well I say it again thanks for helping me out. - Hide quoted text - Date: Fri, 05 Mar 2010 11:11:16 -0500 > From: Norman Brandinger > Subject: Re: [OpenSIPS-Users] Getting Error When Configuring OpenSIPS > + FreeRadius > To: OpenSIPS users mailling list > Message-ID: <4b912d24.40...@goes.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Please post the current error that you're receiving so that someone on > the list might be able to point you in the correct direction. > > Regards, > Norm > > Ahmed Munir wrote: > > Hi, > > > > Thanks for replying, Norman I've added the line in dictionary.opensips > > i.e. ATTRIBUTE Source-IP 214 string, and start > > freeradius service and make a call and still getting same error as I > > mentioned on my previous mail. > > > > Kindly assist me to resolve this problem because its quite too long > > that I'm this problem. > > > > > > Date: Thu, 04 Mar 2010 12:52:49 -0500 > > From: Norman Brandinger mailto:n...@goes.com>> > > Subject: Re: [OpenSIPS-Users] Getting Error When Configuring > > OpenSIPS > >+ FreeRadius > > To: OpenSIPS users mailling list > <mailto:users@lists.opensips.org>> > > Message-ID: <4b8ff371.6000...@goes.com > > <mailto:4b8ff371.6000...@goes.com>> > > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > > > I've got the following (among other attributes) defined in a > > local.dictionary file: > > > > ATTRIBUTE Source-IP 214 string > > > > > > If it's added to opensips.dictionary, then it no longer needs to be > in > > my local.dictionary. > > > > Regards, > > Norm > > > > Bogdan-Andrei Iancu wrote: > > > Hi Ahmed, > > > > > > Do you see in any RADIUS dictionary the Source-IP AVP ? if yes, > > please > > > post here its definition. > > > > > > Regards, > > > Bogdan > > > > > > Ahmed Munir wrote: > > > > > >> Hi, > > >> > > >> Thanks for your reply, I've copied dictionary.opensips to > > >> /etc/freeradius directory and added few lines in it after that > > when I > > >> make the call I'm getting this same error as mentioned in my > > previous > > >> mail
Re: [OpenSIPS-Users] Getting Error When Configuring OpenSIPS + FreeRadius
Please post the current error that you're receiving so that someone on the list might be able to point you in the correct direction. Regards, Norm Ahmed Munir wrote: > Hi, > > Thanks for replying, Norman I've added the line in dictionary.opensips > i.e. ATTRIBUTE Source-IP 214 string, and start > freeradius service and make a call and still getting same error as I > mentioned on my previous mail. > > Kindly assist me to resolve this problem because its quite too long > that I'm this problem. > > > Date: Thu, 04 Mar 2010 12:52:49 -0500 > From: Norman Brandinger mailto:n...@goes.com>> > Subject: Re: [OpenSIPS-Users] Getting Error When Configuring > OpenSIPS >+ FreeRadius > To: OpenSIPS users mailling list <mailto:users@lists.opensips.org>> > Message-ID: <4b8ff371.6000...@goes.com > <mailto:4b8ff371.6000...@goes.com>> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > I've got the following (among other attributes) defined in a > local.dictionary file: > > ATTRIBUTE Source-IP 214 string > > > If it's added to opensips.dictionary, then it no longer needs to be in > my local.dictionary. > > Regards, > Norm > > Bogdan-Andrei Iancu wrote: > > Hi Ahmed, > > > > Do you see in any RADIUS dictionary the Source-IP AVP ? if yes, > please > > post here its definition. > > > > Regards, > > Bogdan > > > > Ahmed Munir wrote: > > > >> Hi, > >> > >> Thanks for your reply, I've copied dictionary.opensips to > >> /etc/freeradius directory and added few lines in it after that > when I > >> make the call I'm getting this same error as mentioned in my > previous > >> mail earlier, I even copied the dictionary.freeradius to > >> /etc/clientradius_ng directory as well. > >> > >> Lines for dictionary.opensips are listed below; > >> > >> Attributes ### > >> > >> ATTRIBUTE Sip-Uri-User 208 string # Proprietary, > auth_radius > >> ATTRIBUTE Sip-Group211 string # Proprietary, > group_radius > >> ATTRIBUTE Sip-Rpid 213 string # Proprietary, > auth_radius > >> ATTRIBUTE SIP-AVP 225 string # Proprietary, > avp_radius > >> ATTRIBUTE Sip-Method 101 integer > >> > >> ### Service-Type Values ### > >> VALUE Service-Type Group-Check 12 # Proprietary, > group_radius > >> VALUE Service-Type Sip-Session 15 > >> VALUE Service-Type SIP-Caller-AVPs 30 # Proprietary, > avp_radius > >> VALUE Service-Type SIP-Callee-AVPs 31 # Proprietary, > avp_radius > >> > >> ### Sip-Method Values ### > >> VALUE Sip-Method Undefined 0 > >> VALUE Sip-Method Invite 1 > >> VALUE Sip-Method Cancel 2 > >> VALUE Sip-Method Ack4 > >> VALUE Sip-Method Bye8 > >> VALUE Sip-Method Info 16 > >> VALUE Sip-Method Options32 > >> VALUE Sip-Method Update 64 > >> VALUE Sip-Method Register 128 > >> VALUE Sip-Method Message256 > >> VALUE Sip-Method Subscribe 512 > >> VALUE Sip-Method Notify 1024 > >> VALUE Sip-Method Prack 2048 > >> VALUE Sip-Method Refer 4096 > >> VALUE Sip-Method Other 8192 > >> > >> > >> And my dictionary settings are listed below; > >> > >> dictionary(freeradius) > >> > >> $INCLUDE /opt/freeradius/share/freeradius/dictionary > >> $INCLUDE/opt/freeradius/etc/raddb/dictionary.opensips > >> > >> dictionary(radiusclient) > >> > >> ##At the end of the line > >> $INCLUDE /opt/freeradius/etc/raddb/dictionary.opensips > >> > >> > >> Kindly tell me from which section I'm facing this problem. > Waiting for > >> your reply. > >> > >> Date: Fri, 26 Feb 2
Re: [OpenSIPS-Users] Getting Error When Configuring OpenSIPS + FreeRadius
Hi, Thanks for replying, Norman I've added the line in dictionary.opensips i.e. ATTRIBUTE Source-IP 214 string, and start freeradius service and make a call and still getting same error as I mentioned on my previous mail. Kindly assist me to resolve this problem because its quite too long that I'm this problem. Date: Thu, 04 Mar 2010 12:52:49 -0500 > From: Norman Brandinger > Subject: Re: [OpenSIPS-Users] Getting Error When ConfiguringOpenSIPS > + FreeRadius > To: OpenSIPS users mailling list > Message-ID: <4b8ff371.6000...@goes.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > I've got the following (among other attributes) defined in a > local.dictionary file: > > ATTRIBUTE Source-IP 214 string > > > If it's added to opensips.dictionary, then it no longer needs to be in > my local.dictionary. > > Regards, > Norm > > Bogdan-Andrei Iancu wrote: > > Hi Ahmed, > > > > Do you see in any RADIUS dictionary the Source-IP AVP ? if yes, please > > post here its definition. > > > > Regards, > > Bogdan > > > > Ahmed Munir wrote: > > > >> Hi, > >> > >> Thanks for your reply, I've copied dictionary.opensips to > >> /etc/freeradius directory and added few lines in it after that when I > >> make the call I'm getting this same error as mentioned in my previous > >> mail earlier, I even copied the dictionary.freeradius to > >> /etc/clientradius_ng directory as well. > >> > >> Lines for dictionary.opensips are listed below; > >> > >> Attributes ### > >> > >> ATTRIBUTE Sip-Uri-User 208 string # Proprietary, > auth_radius > >> ATTRIBUTE Sip-Group211 string # Proprietary, > group_radius > >> ATTRIBUTE Sip-Rpid 213 string # Proprietary, > auth_radius > >> ATTRIBUTE SIP-AVP 225 string # Proprietary, avp_radius > >> ATTRIBUTE Sip-Method 101 integer > >> > >> ### Service-Type Values ### > >> VALUE Service-Type Group-Check 12 # Proprietary, > group_radius > >> VALUE Service-Type Sip-Session 15 > >> VALUE Service-Type SIP-Caller-AVPs 30 # Proprietary, avp_radius > >> VALUE Service-Type SIP-Callee-AVPs 31 # Proprietary, avp_radius > >> > >> ### Sip-Method Values ### > >> VALUE Sip-Method Undefined 0 > >> VALUE Sip-Method Invite 1 > >> VALUE Sip-Method Cancel 2 > >> VALUE Sip-Method Ack4 > >> VALUE Sip-Method Bye8 > >> VALUE Sip-Method Info 16 > >> VALUE Sip-Method Options32 > >> VALUE Sip-Method Update 64 > >> VALUE Sip-Method Register 128 > >> VALUE Sip-Method Message256 > >> VALUE Sip-Method Subscribe 512 > >> VALUE Sip-Method Notify 1024 > >> VALUE Sip-Method Prack 2048 > >> VALUE Sip-Method Refer 4096 > >> VALUE Sip-Method Other 8192 > >> > >> > >> And my dictionary settings are listed below; > >> > >> dictionary(freeradius) > >> > >> $INCLUDE/opt/freeradius/share/freeradius/dictionary > >> $INCLUDE/opt/freeradius/etc/raddb/dictionary.opensips > >> > >> dictionary(radiusclient) > >> > >> ##At the end of the line > >> $INCLUDE /opt/freeradius/etc/raddb/dictionary.opensips > >> > >> > >> Kindly tell me from which section I'm facing this problem. Waiting for > >> your reply. > >> > >> Date: Fri, 26 Feb 2010 15:21:03 +0200 > >> From: Andrew Pogrebennyk >> <mailto:andrew.pogreben...@portaone.com>> > >> Subject: Re: [OpenSIPS-Users] Getting Error When Configuring OpenSIPS > >>+ FreeRadius` > >> To: OpenSIPS users mailling list >> <mailto:users@lists.opensips.org>> > >> Message-ID: <4b87cabf.9000...@portaone.com > >> <mailto:4b87cabf.9000...@portaone.com>> > >> Content-Type: text/plain; charset=ISO-8859-1; format=flowed > >> > >> On 26.02.2010 14:33, Ahmed Munir wrote: > >> > >>> Feb 26 14:47:47 rose /usr/local/sbin/opensips[25988]: > >>> ERROR:aaa_radius:rad_avp_add: failure > >>> Feb 26 14:4
Re: [OpenSIPS-Users] Getting Error When Configuring OpenSIPS + FreeRadius
I've got the following (among other attributes) defined in a local.dictionary file: ATTRIBUTE Source-IP 214 string If it's added to opensips.dictionary, then it no longer needs to be in my local.dictionary. Regards, Norm Bogdan-Andrei Iancu wrote: > Hi Ahmed, > > Do you see in any RADIUS dictionary the Source-IP AVP ? if yes, please > post here its definition. > > Regards, > Bogdan > > Ahmed Munir wrote: > >> Hi, >> >> Thanks for your reply, I've copied dictionary.opensips to >> /etc/freeradius directory and added few lines in it after that when I >> make the call I'm getting this same error as mentioned in my previous >> mail earlier, I even copied the dictionary.freeradius to >> /etc/clientradius_ng directory as well. >> >> Lines for dictionary.opensips are listed below; >> >> Attributes ### >> >> ATTRIBUTE Sip-Uri-User 208 string # Proprietary, auth_radius >> ATTRIBUTE Sip-Group211 string # Proprietary, group_radius >> ATTRIBUTE Sip-Rpid 213 string # Proprietary, auth_radius >> ATTRIBUTE SIP-AVP 225 string # Proprietary, avp_radius >> ATTRIBUTE Sip-Method 101 integer >> >> ### Service-Type Values ### >> VALUE Service-Type Group-Check 12 # Proprietary, group_radius >> VALUE Service-Type Sip-Session 15 >> VALUE Service-Type SIP-Caller-AVPs 30 # Proprietary, avp_radius >> VALUE Service-Type SIP-Callee-AVPs 31 # Proprietary, avp_radius >> >> ### Sip-Method Values ### >> VALUE Sip-Method Undefined 0 >> VALUE Sip-Method Invite 1 >> VALUE Sip-Method Cancel 2 >> VALUE Sip-Method Ack4 >> VALUE Sip-Method Bye8 >> VALUE Sip-Method Info 16 >> VALUE Sip-Method Options32 >> VALUE Sip-Method Update 64 >> VALUE Sip-Method Register 128 >> VALUE Sip-Method Message256 >> VALUE Sip-Method Subscribe 512 >> VALUE Sip-Method Notify 1024 >> VALUE Sip-Method Prack 2048 >> VALUE Sip-Method Refer 4096 >> VALUE Sip-Method Other 8192 >> >> >> And my dictionary settings are listed below; >> >> dictionary(freeradius) >> >> $INCLUDE/opt/freeradius/share/freeradius/dictionary >> $INCLUDE/opt/freeradius/etc/raddb/dictionary.opensips >> >> dictionary(radiusclient) >> >> ##At the end of the line >> $INCLUDE /opt/freeradius/etc/raddb/dictionary.opensips >> >> >> Kindly tell me from which section I'm facing this problem. Waiting for >> your reply. >> >> Date: Fri, 26 Feb 2010 15:21:03 +0200 >> From: Andrew Pogrebennyk > <mailto:andrew.pogreben...@portaone.com>> >> Subject: Re: [OpenSIPS-Users] Getting Error When Configuring OpenSIPS >>+ FreeRadius` >> To: OpenSIPS users mailling list > <mailto:users@lists.opensips.org>> >> Message-ID: <4b87cabf.9000...@portaone.com >> <mailto:4b87cabf.9000...@portaone.com>> >> Content-Type: text/plain; charset=ISO-8859-1; format=flowed >> >> On 26.02.2010 14:33, Ahmed Munir wrote: >> >>> Feb 26 14:47:47 rose /usr/local/sbin/opensips[25988]: >>> ERROR:aaa_radius:rad_avp_add: failure >>> Feb 26 14:47:47 rose /usr/local/sbin/opensips[25988]: >>> ERROR:acc:acc_aaa_request: failed to add Source-IP, 13 >>> >>> >>> And I also check table radacct in mysql database, no records are >>> >> inserted >> >>> into it. >>> >> I think this means an incorrect RADIUS dictionary. You should verify >> that the extra attributes you have defined are present there. >> >> -- >> Sincerely, >> Andrew Pogrebennyk >> >> >> -- >> Regards, >> >> Ahmed Munir >> >> >> >> >> >> >> >> >> ___ >> Users mailing list >> Users@lists.opensips.org >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >> > > > ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Getting Error When Configuring OpenSIPS + FreeRadius
Hi Ahmed, Do you see in any RADIUS dictionary the Source-IP AVP ? if yes, please post here its definition. Regards, Bogdan Ahmed Munir wrote: > > > Hi, > > Thanks for your reply, I've copied dictionary.opensips to > /etc/freeradius directory and added few lines in it after that when I > make the call I'm getting this same error as mentioned in my previous > mail earlier, I even copied the dictionary.freeradius to > /etc/clientradius_ng directory as well. > > Lines for dictionary.opensips are listed below; > > Attributes ### > > ATTRIBUTE Sip-Uri-User 208 string # Proprietary, auth_radius > ATTRIBUTE Sip-Group211 string # Proprietary, group_radius > ATTRIBUTE Sip-Rpid 213 string # Proprietary, auth_radius > ATTRIBUTE SIP-AVP 225 string # Proprietary, avp_radius > ATTRIBUTE Sip-Method 101 integer > > ### Service-Type Values ### > VALUE Service-Type Group-Check 12 # Proprietary, group_radius > VALUE Service-Type Sip-Session 15 > VALUE Service-Type SIP-Caller-AVPs 30 # Proprietary, avp_radius > VALUE Service-Type SIP-Callee-AVPs 31 # Proprietary, avp_radius > > ### Sip-Method Values ### > VALUE Sip-Method Undefined 0 > VALUE Sip-Method Invite 1 > VALUE Sip-Method Cancel 2 > VALUE Sip-Method Ack4 > VALUE Sip-Method Bye8 > VALUE Sip-Method Info 16 > VALUE Sip-Method Options32 > VALUE Sip-Method Update 64 > VALUE Sip-Method Register 128 > VALUE Sip-Method Message256 > VALUE Sip-Method Subscribe 512 > VALUE Sip-Method Notify 1024 > VALUE Sip-Method Prack 2048 > VALUE Sip-Method Refer 4096 > VALUE Sip-Method Other 8192 > > > And my dictionary settings are listed below; > > dictionary(freeradius) > > $INCLUDE/opt/freeradius/share/freeradius/dictionary > $INCLUDE/opt/freeradius/etc/raddb/dictionary.opensips > > dictionary(radiusclient) > > ##At the end of the line > $INCLUDE /opt/freeradius/etc/raddb/dictionary.opensips > > > Kindly tell me from which section I'm facing this problem. Waiting for > your reply. > > Date: Fri, 26 Feb 2010 15:21:03 +0200 > From: Andrew Pogrebennyk <mailto:andrew.pogreben...@portaone.com>> > Subject: Re: [OpenSIPS-Users] Getting Error When Configuring OpenSIPS >+ FreeRadius` > To: OpenSIPS users mailling list <mailto:users@lists.opensips.org>> > Message-ID: <4b87cabf.9000...@portaone.com > <mailto:4b87cabf.9000...@portaone.com>> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > On 26.02.2010 14:33, Ahmed Munir wrote: > > Feb 26 14:47:47 rose /usr/local/sbin/opensips[25988]: > > ERROR:aaa_radius:rad_avp_add: failure > > Feb 26 14:47:47 rose /usr/local/sbin/opensips[25988]: > > ERROR:acc:acc_aaa_request: failed to add Source-IP, 13 > > > > > > And I also check table radacct in mysql database, no records are > inserted > > into it. > > I think this means an incorrect RADIUS dictionary. You should verify > that the extra attributes you have defined are present there. > > -- > Sincerely, > Andrew Pogrebennyk > > > -- > Regards, > > Ahmed Munir > > > > > > > > > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > -- Bogdan-Andrei Iancu www.voice-system.ro ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Getting Error When Configuring OpenSIPS + FreeRadius
Hi, Thanks for your reply, I've copied dictionary.opensips to /etc/freeradius directory and added few lines in it after that when I make the call I'm getting this same error as mentioned in my previous mail earlier, I even copied the dictionary.freeradius to /etc/clientradius_ng directory as well. Lines for dictionary.opensips are listed below; Attributes ### ATTRIBUTE Sip-Uri-User 208 string # Proprietary, auth_radius ATTRIBUTE Sip-Group211 string # Proprietary, group_radius ATTRIBUTE Sip-Rpid 213 string # Proprietary, auth_radius ATTRIBUTE SIP-AVP 225 string # Proprietary, avp_radius ATTRIBUTE Sip-Method 101 integer ### Service-Type Values ### VALUE Service-Type Group-Check 12 # Proprietary, group_radius VALUE Service-Type Sip-Session 15 VALUE Service-Type SIP-Caller-AVPs 30 # Proprietary, avp_radius VALUE Service-Type SIP-Callee-AVPs 31 # Proprietary, avp_radius ### Sip-Method Values ### VALUE Sip-Method Undefined 0 VALUE Sip-Method Invite 1 VALUE Sip-Method Cancel 2 VALUE Sip-Method Ack4 VALUE Sip-Method Bye8 VALUE Sip-Method Info 16 VALUE Sip-Method Options32 VALUE Sip-Method Update 64 VALUE Sip-Method Register 128 VALUE Sip-Method Message256 VALUE Sip-Method Subscribe 512 VALUE Sip-Method Notify 1024 VALUE Sip-Method Prack 2048 VALUE Sip-Method Refer 4096 VALUE Sip-Method Other 8192 And my dictionary settings are listed below; dictionary(freeradius) $INCLUDE/opt/freeradius/share/freeradius/dictionary $INCLUDE/opt/freeradius/etc/raddb/dictionary.opensips dictionary(radiusclient) ##At the end of the line $INCLUDE /opt/freeradius/etc/raddb/dictionary.opensips Kindly tell me from which section I'm facing this problem. Waiting for your reply. Date: Fri, 26 Feb 2010 15:21:03 +0200 From: Andrew Pogrebennyk Subject: Re: [OpenSIPS-Users] Getting Error When Configuring OpenSIPS + FreeRadius` To: OpenSIPS users mailling list Message-ID: <4b87cabf.9000...@portaone.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed On 26.02.2010 14:33, Ahmed Munir wrote: > Feb 26 14:47:47 rose /usr/local/sbin/opensips[25988]: > ERROR:aaa_radius:rad_avp_add: failure > Feb 26 14:47:47 rose /usr/local/sbin/opensips[25988]: > ERROR:acc:acc_aaa_request: failed to add Source-IP, 13 > > > And I also check table radacct in mysql database, no records are inserted > into it. I think this means an incorrect RADIUS dictionary. You should verify that the extra attributes you have defined are present there. -- Sincerely, Andrew Pogrebennyk -- Regards, Ahmed Munir ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Getting Error When Configuring OpenSIPS + FreeRadius`
On 26.02.2010 14:33, Ahmed Munir wrote: > Feb 26 14:47:47 rose /usr/local/sbin/opensips[25988]: > ERROR:aaa_radius:rad_avp_add: failure > Feb 26 14:47:47 rose /usr/local/sbin/opensips[25988]: > ERROR:acc:acc_aaa_request: failed to add Source-IP, 13 > > > And I also check table radacct in mysql database, no records are inserted > into it. I think this means an incorrect RADIUS dictionary. You should verify that the extra attributes you have defined are present there. -- Sincerely, Andrew Pogrebennyk ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] Getting Error When Configuring OpenSIPS + FreeRadius`
Hi, I've configured the OpenSIPS version 1.6 (svn version) with FreeRadius (latest now a days.) and clientradius_ng (latest now a days). The connectivity with radius server and mysql was successful, as I follow the steps as mentioned in this link; http://voiprookie.blogspot.com/2009/04/freeradius-and-mysql.html and book 'building telephony system with openser', (with minor changes like modules naming convention in opensips v 1.6), Opensips services starts and stops successfully. A partial opensips.cfg is listed below; loadmodule "acc.so" loadmodule "aaa_radius.so" #Settings For Radius- #modparam("auth_diameter", "diameter_client_host", "localhost") modparam("aaa_radius", "radius_config","/usr/etc/radiusclient-ng/radiusclient.conf") modparam("acc", "aaa_url", "radius:/usr/etc/radiusclient-ng/radiusclient.conf") modparam("acc", "aaa_flag", 2) modparam("acc", "aaa_missed_flag", 3) modparam("acc", "aaa_extra","User-Name=$Au; \ Calling-Station-Id=$from; \ Called-Station-Id=$to; \ Sip-Translated-Request-URI=$ruri; \ Sip-RPid=$avp(s:rpid); \ Source-IP=$si; \ Source-Port=$sp; \ Canonical-URI=$avp(s:can_uri); \ Billing-Party=$avp(s:billing_party); \ Divert-Reason=$avp(s:divert_reason); \ X-RTP-Stat=$hdr(X-RTP-Stat); \ Contact=$hdr(contact); \ Event=$hdr(event); \ SIP-Proxy-IP=$avp(s:sip_proxy_ip); \ ENUM-TLD=$avp(s:enum_tld)") The problem I'm facing is when I register my phones (which they registered successfully) and make a successful call between them, but when I check log messages I'm getting only these errors as listed below; Feb 26 14:47:47 rose /usr/local/sbin/opensips[25988]: ERROR:aaa_radius:rad_avp_add: failure Feb 26 14:47:47 rose /usr/local/sbin/opensips[25988]: ERROR:acc:acc_aaa_request: failed to add Source-IP, 13 And I also check table radacct in mysql database, no records are inserted into it. Kindly advise this issue. -- Regards, Ahmed Munir ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users