[Dime] one doubt about sip application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dime] one doubt about sip application



Hi All:
   In Sip Application SIP-Accounting_Information is like below:
         SIP-Accounting-Information ::= < AVP Header: xx01 >
                                   * [ SIP-Accounting-Server-URI ]
                                   * [ SIP-Credit-Control-Server-URI ]
                                   * [ AVP]
 
   Actual in Rfc3588 accounting request define is like below:
      <ACR> ::= < Diameter Header: 271, REQ, PXY >
                < Session-Id >
                { Origin-Host }
                { Origin-Realm }
                { Destination-Realm }
                { Accounting-Record-Type }
                { Accounting-Record-Number }
                [ Acct-Application-Id ]
                [ Vendor-Specific-Application-Id ]
                [ User-Name ]
                [ Accounting-Sub-Session-Id ]
                [ Acct-Session-Id ]
                [ Acct-Multi-Session-Id ]
                [ Acct-Interim-Interval ]
                [ Accounting-Realtime-Required ]
                [ Origin-State-Id ]
                [ Event-Timestamp ]
              * [ Proxy-Info ]
              * [ Route-Record ]
              * [ AVP ]
 
this is means,Account Request recommend use Realm not Host.
 
so if define SIP-Accounting_Information  like below is better or not?
         SIP-Accounting-Information ::= < AVP Header: xx01 >
                                    [ SIP-Accounting-Server-Realm ]
                                    [ SIP-Credit-Control-Server-Ream ]
                                   * [ AVP]
we send account request to account server,then we can Fill SIP-Accounting-Server-Realm  Into Destination-Realm of Account Request.
 
if not like this,we should fill SIP-Accounting-Server-URI into Destination-Host,the other question is how to contruct Destination-Realm(this avp is mandatory)?
 
Thanks!
Tony Zhang
_______________________________________________
DiME mailing list
DiME at ietf.org
https://www1.ietf.org/mailman/listinfo/dime

Note: Messages sent to this list are the opinions of the senders and do not imply endorsement by the IETF.