basitengr

ngrepCGR

Nov 7th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.07 KB | None | 0 0
  1. ngrep -t -W byline port 8448 -d lo
  2. interface: lo (127.0.0.0/255.0.0.0)
  3. filter: (ip or ip6) and ( port 8448 )
  4. #
  5. T 2017/11/04 02:57:15.610789 127.0.0.1:8448 -> 127.0.0.1:39738 [AP]
  6. 246:{"event":"CGR_AUTH_REQUEST",
  7. .."tr_index":"31490",
  8. .."tr_label":"1111206442",
  9. .."cgr_reqtype":"*prepaid",
  10. .."cgr_tenant":"cgrates.org",
  11. .."cgr_account":"1001",
  12. .."cgr_destination":"1004",
  13. .."cgr_setuptime":"1509778635",
  14. .."cgr_computelcr":"true"},
  15. ##
  16. T 2017/11/04 02:57:15.884196 127.0.0.1:39738 -> 127.0.0.1:8448 [AP]
  17. 143:{"Event":"CGR_AUTH_REPLY","TransactionIndex":31490,"TransactionLabel":1111206442,"MaxSessionTime":10800,"Suppliers":"suppl1,suppl2","Error":""},
  18. ##
  19. T 2017/11/04 02:57:40.101381 127.0.0.1:8448 -> 127.0.0.1:39738 [AP]
  20. 335:{"event":"CGR_CALL_END",
  21. .."callid":"a85db232081d900946d78230398cca87@0:0:0:0:0:0:0:0",
  22. .."from_tag":"2c29eab8",
  23. .."cgr_reqtype":"*prepaid",
  24. .."cgr_tenant":"cgrates.org",
  25. .."cgr_account":"1001",
  26. .."cgr_destination":"1004",
  27. .."cgr_answertime":"1509778648",
  28. .."cgr_duration":"12",
  29. .."cgr_supplier":"suppl1",
  30. .."cgr_disconnectcause":"0"},
  31. #^Cexit
  32. 12 received, 0 dropped
  33.  
  34. CDRs for last two call from same source and destination exported through cgr-console "cdrs_export"
  35.  
  36. a4f8f5d091f940a1236c0add8e69f6625c934b78,*default,*voice,76d3f728b02cf982d45f382dba32196d@0:0:0:0:0:0:0:0;ca972dda,*prepaid,*out,cgrates.org,call,1001,1001,1004,2017-11-04T02:47:56-04:00,2017-11-04T02:47:56-04:00,38,0.3
  37. a4f8f5d091f940a1236c0add8e69f6625c934b78,derived_run1,*voice,76d3f728b02cf982d45f382dba32196d@0:0:0:0:0:0:0:0;ca972dda,*prepaid,*out,cgrates.org,call,1001,1001,1004,2017-11-04T02:47:56-04:00,2017-11-04T02:47:56-04:00,38,0.3
  38.  
  39. b4db1037259fd8db1c1b487aa896315505777454,*default,*voice,a85db232081d900946d78230398cca87@0:0:0:0:0:0:0:0;2c29eab8,*prepaid,*out,cgrates.org,call,1001,1001,1004,2017-11-04T02:57:28-04:00,2017-11-04T02:57:28-04:00,12,0.3
  40. b4db1037259fd8db1c1b487aa896315505777454,derived_run1,*voice,a85db232081d900946d78230398cca87@0:0:0:0:0:0:0:0;2c29eab8,*prepaid,*out,cgrates.org,call,1001,1001,1004,2017-11-04T02:57:28-04:00,2017-11-04T02:57:28-04:00,12,0.3
Add Comment
Please, Sign In to add comment