[OpenSIPS-Users] Service-Type -> Call-Check does not have Digest AVPs

Hamid Hashmi hamid2kviii at hotmail.com
Wed Aug 26 17:06:57 CEST 2015


I am unable to use  '$RAD_REQUEST{'Digest-URI'}, $RAD_REQUEST{'Digest-Realm'} etc, in my perl script in case of service type equals to 'Call-Check else cases are working fine like 'Sip-Sessions' etc. details are as follows.
$ opensips -Vversion: opensips 1.9.0-notls (x86_64/linux)flags: STATS: Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAITADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.svnrevision: unknown@(#) $Id: main.c 9790 2013-02-15 10:14:34Z bogdan_iancu $main.c compiled on 06:43:47 Aug 25 2015 with gcc 4.9.2
$ radiusd -Xxxfor logs click here
$ radiusd -vradiusd: FreeRADIUS Version 2.2.0, for host x86_64-unknown-linux-gnu, built on Aug 25 2015 at 07:43:23Copyright (C) 1999-2011 The FreeRADIUS server project and contributors.There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR APARTICULAR PURPOSE.You may redistribute copies of FreeRADIUS under the terms of theGNU General Public License.For more information about these matters, see the file named COPYRIGHT.
$ cat /etc/radiusclient-ng/dictionary.sip## $Id: dictionary.opensips 7139 2010-08-17 14:06:00Z razvancrainea $## SIP RADIUS attributes## Proprietary indicates an attribute that hasn't# been standardized### NOTE: All standard (IANA registered) attributes are #       defined in the default dictionary of the #       radiusclient-ng library.#

#### Attributes ###ATTRIBUTE Sip-Uri-User         208  string     # Proprietary, auth_radiusATTRIBUTE Sip-Group            211  string     # Proprietary, group_radiusATTRIBUTE Sip-Rpid             213  string     # Proprietary, auth_radiusATTRIBUTE SIP-AVP              225  string     # Proprietary, avp_radiusATTRIBUTE Sip-Call-Duration    227  integerATTRIBUTE Sip-Call-Setuptime   228  integer
### Service-Type Values ###VALUE Service-Type       Call-Check       10   # Proprietary, group_radiusVALUE Service-Type       Group-Check      12   # Proprietary, group_radiusVALUE Service-Type       Sip-Session      15   # Proprietary, group_radiusVALUE Service-Type       SIP-Caller-AVPs  30   # Proprietary, avp_radiusVALUE Service-Type       SIP-Callee-AVPs  31   # Proprietary, avp_radius
### Sip-Method Values ###VALUE Sip-Method         Undefined      0VALUE Sip-Method         Invite         1VALUE Sip-Method         Cancel         2VALUE Sip-Method         Ack            4VALUE Sip-Method         Bye            8VALUE Sip-Method         Info           16VALUE Sip-Method         Options        32VALUE Sip-Method         Update         64VALUE Sip-Method         Register       128VALUE Sip-Method         Message        256VALUE Sip-Method         Subscribe      512VALUE Sip-Method         Notify         1024VALUE Sip-Method         Prack          2048VALUE Sip-Method         Refer          4096VALUE Sip-Method         Other          8192

### Lines AddedATTRIBUTE Sip-Method                    101  integerATTRIBUTE Sip-Response-Code             102  integer    # Schulzrinne, accATTRIBUTE Sip-To-Tag                    104  string     # Schulzrinne, accATTRIBUTE Sip-From-Tag                  105  string     # Schulzrinne, accATTRIBUTE Sip-Translated-Request-URI    107  string     # Proprietary, accATTRIBUTE Source-IP                     214  stringATTRIBUTE Source-Port                   215  stringATTRIBUTE Sip-Src-IP                    108  string     # Proprietary, accATTRIBUTE Sip-Src-Port                  109  string     # Proprietary, accATTRIBUTE Digest-Response               206  string     # Sterman, auth_radiusATTRIBUTE Sip-Uri-User                  208  string     # Proprietary, auth_radiusATTRIBUTE Sip-Group                     211  string     # Proprietary, group_radiusATTRIBUTE Sip-Rpid                      213  string     # Proprietary, auth_radiusATTRIBUTE SIP-AVP                       225  string     # Proprietary, avp_radiusATTRIBUTE Digest-Realm                  1063  string    # Sterman, auth_radiusATTRIBUTE Digest-Nonce                  1064  string    # Sterman, auth_radiusATTRIBUTE Digest-Method                 1065  string    # Sterman, auth_radiusATTRIBUTE Digest-URI                    1066  string    # Sterman, auth_radiusATTRIBUTE Digest-QOP                    1067  string    # Sterman, auth_radiusATTRIBUTE Digest-Algorithm              1068  string    # Sterman, auth_radiusATTRIBUTE Digest-Body-Digest            1069  string    # Sterman, auth_radiusATTRIBUTE Digest-CNonce                 1070  string    # Sterman, auth_radiusATTRIBUTE Digest-Nonce-Count            1071  string    # Sterman, auth_radiusATTRIBUTE Digest-User-Name              1072  string    # Sterman, auth_radiusATTRIBUTE Contact                       1073  integer
###

RegardsHamid R. Hashmi 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150826/70e8f1eb/attachment.htm>


More information about the Users mailing list