I have a question regarding the mapping the Policy counter to Bearers.
Does Policy counter relates to subscriber or it relates to services. I mean how the OCS manages the poilicy counter..
And how it maps to bearers
Lets say we have default bearer which is used for the internet browsing and dedicated bearer for voice.
Now lets say we have Policy counter id1 for subscriber 1, which says the "service as Internet" ..And lets say APN-AMBR (for internet is 5 Mbps upto 5GB ) and 2 Mbps for more than 5GB.
Now in the OCS , we configure for
Policy counterid1: status 5 Mbps upto 5GB and 2 Mbps for more than 5GB.
And on registration, CCR is sent by PGW to PCRF, which inturn sends the SLR with Policy counter id1 with session Id lets say Sysession1
Now the PCRF sends the CCA to PGW with "service type as Internet", Metering method as "volume" and Rating Group some random value. But there is no way to indicate to PGW about the details of counter like on counting 5Mb, it needs to send the CCR-U to OCS. Or lets say on every 2MB PGW indicates to OCS. The Gy session is created for each bearer ? (i.e one for default bearer here and may be another for dedicated bearer related to that..)
On reaching the 5MB limit, the OCS, sends the SNR to PCRF with the Sysession1.
And when the IP CAN is terminated, CCR-T is sent to OCS and also to PCRF by PGW. PCRF inturn sends the STR to OCS.
Now my Q is about a for 2nd APN for the same subsribers, whatabout the Gy and Sy interfaces, are they reused ?
And whatabout the dedicated bearers related to first APN, will they be using the same Gy and Sy interfaces ?
thanks a lot. Any help or any hints in this very helpful for me to correct my understanding and which will correct my code and finally test it !!!