<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<tt>Glad to help you!</tt><br>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 27.08.2015 17:48, Hamid Hashmi
wrote:<br>
</div>
<blockquote cite="mid:BLU182-W52CF747992CF912FD20D56E06F0@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">
<div>Bogdan</div>
<div><br>
</div>
<div>Yes I am talking about perl script for RADIUS server. I
have already checked in traces.</div>
<div><br>
</div>
<div>From #: 00923226363266</div>
<div>To #: 92309682285</div>
<div><br>
</div>
<div>Service Type -> Sip-Session</div>
<div><span style="font-size: 12pt;">"<font face="Courier New,
sans-serif">...8295nX{<a class="moz-txt-link-abbreviated" href="mailto:S...FB.E&..#00923226363266@testsip.vopium.com">S...FB.E&..#00923226363266@testsip.vopium.com</a>..</font></span></div>
<div><font face="Courier New, sans-serif">.00923226363266....testsip.vopium.com.4.255df06ae0000004eba5729419c1a1631fc466a68c4f151a5.,.*sip:923009682285@testsip.vopium.com:6000.</font></div>
<div><font face="Courier New, sans-serif">..INVITE....auth...</font></div>
<div><font face="Courier New, sans-serif">00000001...</font></div>
<div><font face="Courier New, sans-serif">0a4f113b."796e09966708557df1dcf203c085f01a........00923226363266,.727916929..........d....J.#.<..!X.wo.,.0S.</font></div>
<div><font face="Courier New, sans-serif">language:en.)<b>rpid:sip:+923226363266@{****}.vopium.com</b></font>" </div>
<div><br>
</div>
<div>Service Type -> Call-Check</div>
<div>"<font face="Courier New, sans-serif">...RS..........?.O...!923009682285@testsip.vopium.com.....</font></div>
<div><font face="Courier New, sans-serif">,.727916929..........d......}F..q.<Q..|D...</font>"</div>
<div><br>
</div>
<div>-------------------------------------------------------------------------</div>
<div>I am writing you this email and figured out my mistake (I
was sending wrong realm in AVP: rpid ). Thank you for
helping. </div>
<div><br>
</div>
<div>Regards</div>
<div>Hamid R. Hashmi</div>
<br>
<div>
<hr id="stopSpelling">Date: Thu, 27 Aug 2015 14:10:09 +0300<br>
From: <a class="moz-txt-link-abbreviated" href="mailto:bogdan@opensips.org">bogdan@opensips.org</a><br>
To: <a class="moz-txt-link-abbreviated" href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>;
<a class="moz-txt-link-abbreviated" href="mailto:freeradius-users@lists.freeradius.org">freeradius-users@lists.freeradius.org</a><br>
Subject: Re: [OpenSIPS-Users] Service-Type -> Call-Check
does not have Digest AVPs<br>
<br>
<tt>Hi Hamid,<br>
<br>
I assume the perl script you mentioned in on the RADIUS
server side, right ?<br>
<br>
Have you checked if the RADIUS request you are processing
actually contains those AVPS (Digest-URI and Digest-Realm) ?
Use ngrep or tcpdump to get a network capture and visualize
it with wireshark or similar.<br>
<br>
Best Regards,<br>
</tt>
<pre class="ecxmoz-signature">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="ecxmoz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
<div class="ecxmoz-cite-prefix">On 26.08.2015 18:06, Hamid
Hashmi wrote:<br>
</div>
<blockquote
cite="mid:BLU182-W54402D3B884FFD2E0CDD55E0600@phx.gbl">
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style>
<div dir="ltr">
<div>I am unable to use
'$RAD_REQUEST{'Digest-URI'}, $RAD_REQUEST{'Digest-Realm'}
etc, <span style="font-size:12pt;">in my perl script in
case of service type </span>equals<span
style="font-size:12pt;"> to 'Call-Check else cases are
working fine like 'Sip-Sessions' etc. details are as
follows.</span></div>
<div><br>
</div>
<div><font face="Courier New, sans-serif">$ opensips -V</font></div>
<div><font face="Courier New, sans-serif">version:
opensips 1.9.0-notls (x86_64/linux)</font></div>
<div><font face="Courier New, sans-serif">flags: STATS:
Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST,
SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC,
FAST_LOCK-ADAPTIVE_WAIT</font></div>
<div><font face="Courier New, sans-serif">ADAPTIVE_WAIT_LOOPS=1024,
MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535</font></div>
<div><font face="Courier New, sans-serif">poll method
support: poll, epoll_lt, epoll_et, sigio_rt, select.</font></div>
<div><font face="Courier New, sans-serif">svnrevision:
unknown</font></div>
<div><font face="Courier New, sans-serif">@(#) $Id: main.c
9790 2013-02-15 10:14:34Z bogdan_iancu $</font></div>
<div><font face="Courier New, sans-serif">main.c compiled
on 06:43:47 Aug 25 2015 with gcc 4.9.2</font></div>
<div><font face="Courier New, sans-serif"><br>
</font></div>
<div><font face="Courier New, sans-serif">$ radiusd -Xxx</font></div>
<div><font face="Courier New, sans-serif">for logs </font><a
moz-do-not-send="true"
href="http://pastebin.com/qXcs9ZHe" target="_blank">click
here</a></div>
<div><font face="Courier New, sans-serif"><br>
</font></div>
<div><font face="Courier New, sans-serif">$ radiusd -v</font></div>
<div>
<div><font face="Courier New, sans-serif">radiusd:
FreeRADIUS Version 2.2.0, for host
x86_64-unknown-linux-gnu, built on Aug 25 2015 at
07:43:23</font></div>
<div><font face="Courier New, sans-serif">Copyright (C)
1999-2011 The FreeRADIUS server project and
contributors.</font></div>
<div><font face="Courier New, sans-serif">There is NO
warranty; not even for MERCHANTABILITY or FITNESS
FOR A</font></div>
<div><font face="Courier New, sans-serif">PARTICULAR
PURPOSE.</font></div>
<div><font face="Courier New, sans-serif">You may
redistribute copies of FreeRADIUS under the terms of
the</font></div>
<div><font face="Courier New, sans-serif">GNU General
Public License.</font></div>
<div><font face="Courier New, sans-serif">For more
information about these matters, see the file named
COPYRIGHT.</font></div>
</div>
<div><font face="Courier New, sans-serif"><br>
</font></div>
<div>
<div><font face="Courier New, sans-serif">$ cat
/etc/radiusclient-ng/dictionary.sip</font></div>
<div><font face="Courier New, sans-serif">#</font></div>
<div><font face="Courier New, sans-serif"># $Id:
dictionary.opensips 7139 2010-08-17 14:06:00Z
razvancrainea $</font></div>
<div><font face="Courier New, sans-serif">#</font></div>
<div><font face="Courier New, sans-serif"># SIP RADIUS
attributes</font></div>
<div><font face="Courier New, sans-serif">#</font></div>
<div><font face="Courier New, sans-serif"># Proprietary
indicates an attribute that hasn't</font></div>
<div><font face="Courier New, sans-serif"># been
standardized</font></div>
<div><font face="Courier New, sans-serif">#</font></div>
<div><font face="Courier New, sans-serif">#</font></div>
<div><font face="Courier New, sans-serif"># NOTE: All
standard (IANA registered) attributes are </font></div>
<div><font face="Courier New, sans-serif">#
defined in the default dictionary of the </font></div>
<div><font face="Courier New, sans-serif">#
radiusclient-ng library.</font></div>
<div><font face="Courier New, sans-serif">#</font></div>
<div><font face="Courier New, sans-serif"><br>
</font></div>
<div><font face="Courier New, sans-serif"><br>
</font></div>
<div><font face="Courier New, sans-serif">####
Attributes ###</font></div>
<div><font face="Courier New, sans-serif">ATTRIBUTE
Sip-Uri-User 208 string # Proprietary,
auth_radius</font></div>
<div><font face="Courier New, sans-serif">ATTRIBUTE
Sip-Group 211 string # Proprietary,
group_radius</font></div>
<div><font face="Courier New, sans-serif">ATTRIBUTE
Sip-Rpid 213 string # Proprietary,
auth_radius</font></div>
<div><font face="Courier New, sans-serif">ATTRIBUTE
SIP-AVP 225 string # Proprietary,
avp_radius</font></div>
<div><font face="Courier New, sans-serif">ATTRIBUTE
Sip-Call-Duration 227 integer</font></div>
<div><font face="Courier New, sans-serif">ATTRIBUTE
Sip-Call-Setuptime 228 integer</font></div>
<div><font face="Courier New, sans-serif"><br>
</font></div>
<div><font face="Courier New, sans-serif">###
Service-Type Values ###</font></div>
<div><font face="Courier New, sans-serif">VALUE
Service-Type Call-Check 10 #
Proprietary, group_radius</font></div>
<div><font face="Courier New, sans-serif">VALUE
Service-Type Group-Check 12 #
Proprietary, group_radius</font></div>
<div><font face="Courier New, sans-serif">VALUE
Service-Type Sip-Session 15 #
Proprietary, group_radius</font></div>
<div><font face="Courier New, sans-serif">VALUE
Service-Type SIP-Caller-AVPs 30 #
Proprietary, avp_radius</font></div>
<div><font face="Courier New, sans-serif">VALUE
Service-Type SIP-Callee-AVPs 31 #
Proprietary, avp_radius</font></div>
<div><font face="Courier New, sans-serif"><br>
</font></div>
<div><font face="Courier New, sans-serif">### Sip-Method
Values ###</font></div>
<div><font face="Courier New, sans-serif">VALUE
Sip-Method Undefined 0</font></div>
<div><font face="Courier New, sans-serif">VALUE
Sip-Method Invite 1</font></div>
<div><font face="Courier New, sans-serif">VALUE
Sip-Method Cancel 2</font></div>
<div><font face="Courier New, sans-serif">VALUE
Sip-Method Ack 4</font></div>
<div><font face="Courier New, sans-serif">VALUE
Sip-Method Bye 8</font></div>
<div><font face="Courier New, sans-serif">VALUE
Sip-Method Info 16</font></div>
<div><font face="Courier New, sans-serif">VALUE
Sip-Method Options 32</font></div>
<div><font face="Courier New, sans-serif">VALUE
Sip-Method Update 64</font></div>
<div><font face="Courier New, sans-serif">VALUE
Sip-Method Register 128</font></div>
<div><font face="Courier New, sans-serif">VALUE
Sip-Method Message 256</font></div>
<div><font face="Courier New, sans-serif">VALUE
Sip-Method Subscribe 512</font></div>
<div><font face="Courier New, sans-serif">VALUE
Sip-Method Notify 1024</font></div>
<div><font face="Courier New, sans-serif">VALUE
Sip-Method Prack 2048</font></div>
<div><font face="Courier New, sans-serif">VALUE
Sip-Method Refer 4096</font></div>
<div><font face="Courier New, sans-serif">VALUE
Sip-Method Other 8192</font></div>
<div><font face="Courier New, sans-serif"><br>
</font></div>
<div><font face="Courier New, sans-serif"><br>
</font></div>
<div><font face="Courier New, sans-serif">### Lines
Added</font></div>
<div><font face="Courier New, sans-serif">ATTRIBUTE
Sip-Method 101 integer</font></div>
<div><font face="Courier New, sans-serif">ATTRIBUTE
Sip-Response-Code 102 integer #
Schulzrinne, acc</font></div>
<div><font face="Courier New, sans-serif">ATTRIBUTE
Sip-To-Tag 104 string #
Schulzrinne, acc</font></div>
<div><font face="Courier New, sans-serif">ATTRIBUTE
Sip-From-Tag 105 string #
Schulzrinne, acc</font></div>
<div><font face="Courier New, sans-serif">ATTRIBUTE
Sip-Translated-Request-URI 107 string #
Proprietary, acc</font></div>
<div><font face="Courier New, sans-serif">ATTRIBUTE
Source-IP 214 string</font></div>
<div><font face="Courier New, sans-serif">ATTRIBUTE
Source-Port 215 string</font></div>
<div><font face="Courier New, sans-serif">ATTRIBUTE
Sip-Src-IP 108 string #
Proprietary, acc</font></div>
<div><font face="Courier New, sans-serif">ATTRIBUTE
Sip-Src-Port 109 string #
Proprietary, acc</font></div>
<div><font face="Courier New, sans-serif">ATTRIBUTE
Digest-Response 206 string #
Sterman, auth_radius</font></div>
<div><font face="Courier New, sans-serif">ATTRIBUTE
Sip-Uri-User 208 string #
Proprietary, auth_radius</font></div>
<div><font face="Courier New, sans-serif">ATTRIBUTE
Sip-Group 211 string #
Proprietary, group_radius</font></div>
<div><font face="Courier New, sans-serif">ATTRIBUTE
Sip-Rpid 213 string #
Proprietary, auth_radius</font></div>
<div><font face="Courier New, sans-serif">ATTRIBUTE
SIP-AVP 225 string #
Proprietary, avp_radius</font></div>
<div><font face="Courier New, sans-serif">ATTRIBUTE
Digest-Realm 1063 string #
Sterman, auth_radius</font></div>
<div><font face="Courier New, sans-serif">ATTRIBUTE
Digest-Nonce 1064 string #
Sterman, auth_radius</font></div>
<div><font face="Courier New, sans-serif">ATTRIBUTE
Digest-Method 1065 string #
Sterman, auth_radius</font></div>
<div><font face="Courier New, sans-serif">ATTRIBUTE
Digest-URI 1066 string #
Sterman, auth_radius</font></div>
<div><font face="Courier New, sans-serif">ATTRIBUTE
Digest-QOP 1067 string #
Sterman, auth_radius</font></div>
<div><font face="Courier New, sans-serif">ATTRIBUTE
Digest-Algorithm 1068 string #
Sterman, auth_radius</font></div>
<div><font face="Courier New, sans-serif">ATTRIBUTE
Digest-Body-Digest 1069 string #
Sterman, auth_radius</font></div>
<div><font face="Courier New, sans-serif">ATTRIBUTE
Digest-CNonce 1070 string #
Sterman, auth_radius</font></div>
<div><font face="Courier New, sans-serif">ATTRIBUTE
Digest-Nonce-Count 1071 string #
Sterman, auth_radius</font></div>
<div><font face="Courier New, sans-serif">ATTRIBUTE
Digest-User-Name 1072 string #
Sterman, auth_radius</font></div>
<div><font face="Courier New, sans-serif">ATTRIBUTE
Contact 1073 integer</font></div>
<div><font face="Courier New, sans-serif"><br>
</font></div>
<div><font face="Courier New, sans-serif">###</font></div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Regards</div>
<div>Hamid R. Hashmi</div>
</div>
<br>
<fieldset class="ecxmimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="ecxmoz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="ecxmoz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<br>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>