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

Re: [Dime] one doubt about sip application



Miguel:
    Thanks your reply.
    In my understanding,the Realm have another meaning,like one group of nodes,then it can realize device level reliablity.maybe it will like this all accounting server maybe will use one realm.for example:account.base.com,for call server maybe will use:call.base.com.so i am not assure the sip server will use same realm name with account server.because realm name based on longest-match-from-the-right on the realm rather than requiring an exact match,so maybe both just belong to big realm,but big realm still have some samll realm.
    because almost accounting is very important,so almost have two accounting server,so we should return all server name to sip server,if just return realm,the realm will mangement all accounting server .no need each user data should return two accounting server name,also if server name changed,maybe should update all user data.but use realm,maybe maybe no need update.
   when return realm how to process it,i think return accounting server,also should have some process.base protocol also give some comments how to process the message.
    Regars!
Tony

----- Original Message ----- 
From: "Miguel Garcia" <Miguel.An.Garcia at nokia.com>
To: "Tony Zhang" <zhangtao_hw at huawei.com>
Cc: <dime at ietf.org>
Sent: Monday, June 26, 2006 2:24 PM
Subject: Re: [Dime] one doubt about sip application


> Tony:
> 
> The intention of the SIP-Accounting-Information is to outsource Diameter
> accounting to a different server, not to a different realm. So, from
> that point of view, the idea is to keep the realm constant, but not the
> server. I am not sure of any use case where you need to switch realms
> within the same application (SIP services), but different hosts
> (authorization/authentication vs. accounting).
> 
> Additionally, if the Diameter client gets only the realm where to
> provide accounting, as you propose, then you need to have a mechanism to
> guarantee that you can discover the host out of the realm. So, if this
> mechanism is not in place, or the Realm Routing Table is not properly
> provisioned, you run into trouble.
> 
> Thus, I wouldn't recommend to provide realms for the accounting part of
> the Diameter SIP application.
> 
> BR,
> 
>          Miguel
> 
> 
> Tony Zhang wrote:
> > 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
> 
> -- 
> Miguel A. Garcia           tel:+358-50-4804586
> sip:miguel.an.garcia at openlaboratory.net
> Nokia Research Center      Helsinki, Finland
> 
> 

_______________________________________________
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.