I have not defined Bcontact anywhere..
<div><br></div><div><b>Here is my opensips.cfg</b> </div><div><br></div><div><br></div><div><div>modparam("acc", "aaa_extra", "Digest-User-Name=$Au; \</div><div> Calling-Station-Id=$from; \</div>
<div> Called-Station-Id=$to; \</div><div> Sip-Translated-Request-URI=$ru; \</div><div> Sip-RPid=$avp(s:rpid); \</div>
<div> Source-IP=$avp(s:source_ip); \</div><div> Source-Port=$avp(s:source_port); \</div><div> SIP-Proxy-IP=$avp(s:sip_proxy_ip); \</div>
<div> Canonical-URI=$avp(s:can_uri); \</div><div> Billing-Party=$avp(billing_party); \</div><div> Divert-Reason=$avp(s:divert_reason); \</div>
<div> User-Agent=$hdr(user-agent); \</div><div> Contact=$hdr(contact); \</div><div> Event=$hdr(event); \</div>
<div> ENUM-TLD=$avp(s:enum_tld)")</div><div>modparam("acc", "aaa_extra","via=$hdr(Via[*]); email=$avp(s:email); Bcontact=$ct / reply")</div><div><br>
</div></div><div><br></div><div><br></div><div><br></div><div><b>and here is dictionary.opensips</b></div><div><br></div><div><div>### SIP Attributes ###</div><div>ATTRIBUTE Sip-Method 101 integer # Schulzrinne, acc</div>
<div>ATTRIBUTE Sip-Response-Code 102 integer # Schulzrinne, acc</div><div>ATTRIBUTE Sip-Cseq 103 string # Schulzrinne, acc</div><div>ATTRIBUTE Sip-To-Tag 104 string # Schulzrinne, acc</div>
<div>ATTRIBUTE Sip-From-Tag 105 string # Schulzrinne, acc</div><div>ATTRIBUTE Sip-Branch-ID 106 string</div><div>ATTRIBUTE Sip-Translated-Request-URI 107 string # Proprietary, acc</div>
<div>ATTRIBUTE Sip-Uri-User 208 string # Proprietary, auth_radius</div><div>ATTRIBUTE Sip-Group 211 string # Proprietary, group_radius</div><div>ATTRIBUTE Sip-Rpid 213 string # Proprietary, auth_radius</div>
<div>ATTRIBUTE Billing-Party 218 string</div><div>ATTRIBUTE SIP-AVP 225 string # Proprietary, avp_radius</div><div><br></div><div>### Sip-Method Values ###</div><div>VALUE Sip-Method Undefined 0</div>
<div>VALUE Sip-Method Invite 1</div><div>VALUE Sip-Method Cancel 2</div><div>VALUE Sip-Method Ack 4</div><div>VALUE Sip-Method Bye 8</div><div>VALUE Sip-Method Info 16</div>
<div>VALUE Sip-Method Options 32</div><div>VALUE Sip-Method Update 64</div><div>VALUE Sip-Method Register 128</div><div>VALUE Sip-Method Message 256</div><div>VALUE Sip-Method Subscribe 512</div>
<div>VALUE Sip-Method Notify 1024</div><div>VALUE Sip-Method Prack 2048</div><div>VALUE Sip-Method Refer 4096</div><div>VALUE Sip-Method Publish 8192</div><div>
VALUE Sip-Method Other 16384</div><div><br></div><div>### Sip-Response-Code Values ###</div><div>VALUE Sip-Response-Code Undefined 0</div><div>VALUE Sip-Response-Code Invite 1</div><div>VALUE Sip-Response-Code Cancel 2</div>
<div>VALUE Sip-Response-Code Ack 4</div><div>VALUE Sip-Response-Code Bye 8</div><div>VALUE Sip-Response-Code Info 16</div><div>VALUE Sip-Response-Code Options 32</div><div>VALUE Sip-Response-Code Update 64</div>
<div>VALUE Sip-Response-Code Register 128</div><div>VALUE Sip-Response-Code Message 256</div><div>VALUE Sip-Response-Code Subscribe 512</div><div>VALUE Sip-Response-Code Notify 1024</div><div>
VALUE Sip-Response-Code Prack 2048</div><div>VALUE Sip-Response-Code Refer 4096</div><div>VALUE Sip-Response-Code Publish 8192</div><div>VALUE Sip-Response-Code Other 16384</div><div>
<br></div><div>### Acct-Status-Type Values ###</div><div>VALUE Acct-Status-Type Start 1 # RFC2866, acc</div><div>VALUE Acct-Status-Type Stop 2 # RFC2866, acc</div><div>VALUE Acct-Status-Type Failed 15 # RFC2866, acc</div>
<div><br></div><div>### Service-Type Values ###</div><div>VALUE Service-Type Call-Check 10 # RFC2865, uri_radius</div><div>VALUE Service-Type Group-Check 12 # Proprietary, group_radius</div>
<div>VALUE Service-Type Sip-Session 15 # Schulzrinne, acc, auth_radius</div><div>VALUE Service-Type SIP-Caller-AVPs 30 # Proprietary, avp_radius</div><div>VALUE Service-Type SIP-Callee-AVPs 31 # Proprietary, avp_radius</div>
<div><br></div><div>### Attributes added by AG Projects ###</div><div>ATTRIBUTE Source-IP 214 string</div><div>ATTRIBUTE Source-Port 215 string</div><div>ATTRIBUTE Canonical-URI 216 string</div>
<div>ATTRIBUTE Delay-Time 217 string</div><div>ATTRIBUTE Divert-Reason 219 string</div><div>ATTRIBUTE X-RTP-Stat 220 string</div><div>ATTRIBUTE From-Header 221 string</div>
<div>ATTRIBUTE User-Agent 222 string</div><div>ATTRIBUTE Contact 223 string</div><div>ATTRIBUTE Event 224 string</div><div>#ATTRIBUTE Event-Timestamp 230 string</div>
<div>ATTRIBUTE SIP-Proxy-IP 231 string</div><div>ATTRIBUTE ENUM-TLD 232 string</div><div><br></div><div><br></div><div>ATTRIBUTE Sip-Src-IP 108 string # Proprietary, acc</div>
<div>ATTRIBUTE Sip-Src-Port 109 string # Proprietary, acc</div><div>ATTRIBUTE Digest-Response 206 string # Sterman, auth_radius</div><div>ATTRIBUTE Digest-Realm 1063 string # Sterman, auth_radius</div>
<div>ATTRIBUTE Digest-Nonce 1064 string # Sterman, auth_radius</div><div>ATTRIBUTE Digest-Method 1065 string # Sterman, auth_radius</div><div>ATTRIBUTE Digest-URI 1066 string # Sterman, auth_radius</div>
<div>ATTRIBUTE Digest-QOP 1067 string # Sterman, auth_radius</div><div>ATTRIBUTE Digest-Algorithm 1068 string # Sterman, auth_radius</div><div>ATTRIBUTE Digest-Body-Digest 1069 string # Sterman, auth_radius</div>
<div>ATTRIBUTE Digest-CNonce 1070 string # Sterman, auth_radius</div><div>ATTRIBUTE Digest-Nonce-Count 1071 string # Sterman, auth_radius</div><div>ATTRIBUTE Digest-User-Name 1072 string # Sterman, auth_radius</div>
<div><br></div><div><br></div><div>If i remove aaa_extra parameters, all goes fine but only few parameters inserted into database.. </div><div><br></div><div>I couldn't find anywhere, how AVPs defines and relates in opensips.cfg and in dictionary.opensips to insert extra data in radacct table.. </div>
<div><br></div><div>BOGDAN: Can u pls brief for us.</div><div><br></div><div>Thanks again.</div><div><br></div></div>