Hi Никитенко ,
Couple of Suggestions: - Go through the AAA protocol. - Understand RADIUS packets for Authorization, Authentication & Accounting and the information they have specially for caller/callee.
Regarding your question, apparently you have to have caller/callee and other information in some storage (cache, DB etc) to be retrieved based on acct session id. Go for a unique call-id or in conjunction with FROM/TO Tags for uniqueness of the call.
On Thu, Apr 9, 2015 at 8:36 AM, Никитенко Виталий v1t83@yandex.ru wrote:
Hi. I have scheme:
User -> Kamailio -> Asterisk -> PSTN | V Radius Server
At the beginning dialog (INVITE) kamailio send to radius server START packet which indicates Called, Calling, Accounting Session ID, connect_time, setup_time. When the terminating call (BYE) kamailio forms STOP package. How can I get on kamailio Called, Calling, connect_time that I have in kamailio for START packet if I only match Accounting Session ID? Thank.
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users